[[Category:Ongoing_ProjectsClosed_Projects]]
= Description =
We salvaged a 1982 Tron arcade, of which the motherboard is fried. The goal is to make it work using a normal computer inside the tron and with the MAME emulator.
* <s>The project code on Gitorious wasGitorious https://gitorious.org/tron-restore</s>* Tron manual: [[File:Tron.pdf]]* 2018: The Tron has been reinstalled using a Raspberry Pi 3 and Retropie. It's now on 192.168.130.187. You can upload roms on smb://192.168.130.187 without password
= Screen =
FIXME: Schematic of the connection
== Graphic Card ===== Information ====== X.org Configuration === <nowiki>Section "InputDevice"Identifier "Generic Keyboard"Driver "kbd"Option "XkbRules" "xorg"Option "XkbModel" "pc104"Option "XkbLayout" "us"EndSectionScreen pin-out:
Section "InputDevice"
Identifier "Configured Mouse"
Driver "void"
EndSection
Section "Device"Identifier "Onboard Video"Driver "vesa"BusID "PCI:0:2:0"EndSectionRaspi3 HDMI - HDMI-to-VGA converter - GBS-8100 VGA-to-CGA - Arcrade monitor
Section "Device"# ArcadeVGA Video CardIdentifier "ArcadeVGA Video Card"Driver "radeon"BusID "PCI[[File:1:0:0"Option "IgnoreEDID" "on"EndSectionGBS-8100 VGA-CGA Manual.pdf]]
Section "Monitor"<pre>Identifier "Monitor"# MAME Modelines for a CGA WellsJ2 -Gardner K7400 25" CRT 9 pin (15.75 Hz Horizontal, 47 - 63 Hz VerticalMONITOR)Modeline "272x229x63.00" 5.166000 272 280 304 328 229 232 235 250 -HSync -VSyncModeline "272x236x61.05" 5.166000 272 280 304 328 236 240 243 258 -HSync -VSyncModeline "280x229x63.00" 5.292000 280 288 312 336 229 232 235 250 -HSync -VSyncModeline "280x240x59.89" 5.292000 280 288 312 336 240 244 247 263 -HSync -VSyncModeline "288x229x63.00" 5.418000 288 296 328 344 229 232 235 250 -HSync -VSyncModeline "296x229x63.00" 5.544000 296 304 336 352 229 232 235 250 -HSync -VSyncModeline "296x238x60.58" 5.544000 296 304 336 352 238 242 245 260 -HSync -VSyncModeline "296x239x60.34" 5.544000 296 304 336 352 239 243 246 261 -HSync -VSyncModeline "296x240x59.89" 5.544000 296 304 336 352 240 244 247 263 -HSync -VSyncModeline "304x229x63.00" 5.796000 304 312 344 368 229 232 235 250 -HSync -VSyncModeline "304x232x62.01" 5.796000 304 312 344 368 232 236 239 254 -HSync -VSyncModeline "320x229x63.00" 6.048000 320 328 360 384 229 232 235 250 -HSync -VSyncModeline "320x232x62.01" 6.048000 320 328 360 384 232 236 239 254 -HSync -VSyncModeline "320x240x59.89" 6.048000 320 328 360 384 240 244 247 263 -HSync -VSyncModeline "320x255x56.45" 6.048000 320 328 360 384 255 259 262 279 -HSync -VSyncModeline "320x256x56.25" 6.048000 320 328 360 384 256 260 263 280 -HSync -VSyncModeline "320x458x31.44" 6.048000 320 328 360 384 458 466 472 501 -HSync -VSync interlaceModeline "320x544x26.47" 6.048000 320 328 360 384 544 553 559 595 -HSync -VSync interlaceModeline "336x229x63.00" 6.300000 336 344 376 400 229 232 235 250 -HSync -VSyncModeline "336x240x59.89" 6.300000 336 344 376 400 240 244 247 263 -HSync -VSyncModeline "336x256x56.25" 6.300000 336 344 376 400 256 260 263 280 -HSync -VSyncModeline "344x240x59.89" 6.552000 344 352 384 416 240 244 247 263 -HSync -VSyncModeline "352x229x63.00" 6.678000 352 360 392 424 229 232 235 250 -HSync -VSyncModeline "352x240x59.89" 6.678000 352 360 392 424 240 244 247 263 -HSync -VSyncModeline "360x229x63.00" 6.804000 360 368 400 432 229 232 235 250 -HSync -VSyncModeline "360x240x59.89" 6.804000 360 368 400 432 240 244 247 263 -HSync -VSyncModeline "360x480x30.00" 6.804000 360 368 400 432 480 488 494 525 -HSync -VSync interlaceModeline "368x229x63.00" 6.930000 368 376 416 440 229 232 235 250 -HSync -VSyncModeline "368x240x59.89" 6.930000 368 376 416 440 240 244 247 263 -HSync -VSyncModeline "376x229x63.00" 7.056000 376 384 424 448 229 232 235 250 -HSync -VSyncModeline "384x229x63.00" 7.308000 384 400 440 464 229 232 235 250 -HSync -VSyncModeline "384x240x59.89" 7.308000 384 400 440 464 240 244 247 263 -HSync -VSyncModeline "384x255x56.45" 7.308000 384 400 440 464 255 259 262 279 -HSync -VSyncModeline "384x256x56.25" 7.308000 384 400 440 464 256 260 263 280 -HSync -VSyncModeline "384x496x29.01" 7.308000 384 400 440 464 496 505 511 543 -HSync -VSync interlaceModeline "384x512x28.07" 7.308000 384 400 440 464 512 521 527 561 -HSync -VSync interlaceModeline "400x253x56.86" 7.560000 400 408 448 480 253 257 260 277 -HSync -VSyncModeline "400x254x56.65" 7.560000 400 408 448 480 254 258 261 278 -HSync -VSyncModeline "400x256x56.25" 7.560000 400 408 448 480 256 260 263 280 -HSync -VSyncModeline "408x288x50.00" 7.686000 408 416 456 488 288 293 296 315 -HSync -VSyncModeline "416x229x63.00" 7.812000 416 424 464 496 229 232 235 250 -HSync -VSyncModeline "416x248x58.12" 7.812000 416 424 464 496 248 252 255 271 -HSync -VSyncModeline "416x256x56.25" 7.812000 416 424 464 496 256 260 263 280 -HSync -VSyncModeline "432x288x50.00" 8.190000 432 448 488 520 288 293 296 315 -HSync -VSyncModeline "448x229x63.00" 8.442000 448 456 504 536 229 232 235 250 -HSync -VSyncModeline "448x240x59.89" 8.442000 448 456 504 536 240 244 247 263 -HSync -VSyncModeline "448x256x56.25" 8.442000 448 456 504 536 256 260 263 280 -HSync -VSyncModeline "448x260x55.46" 8.442000 448 456 504 536 260 264 267 284 -HSync -VSyncModeline "448x280x51.47" 8.442000 448 456 504 536 280 284 287 306 -HSync -VSyncModeline "448x288x50.00" 8.442000 448 456 504 536 288 293 296 315 -HSync -VSyncModeline "448x456x31.44" 8.442000 448 456 504 536 456 466 472 501 -HSync -VSync interlaceModeline "448x458x31.44" 8.442000 448 456 504 536 458 466 472 501 -HSync -VSync interlaceModeline "472x256x56.25" 8.946000 472 488 536 568 256 260 263 280 -HSync -VSyncModeline "472x272x52.85" 8.946000 472 488 536 568 272 277 280 298 -HSync -VSyncModeline "480x229x63.00" 9.072000 480 496 544 576 229 232 235 250 -HSync -VSyncModeline "480x240x59.89" 9.072000 480 496 544 576 240 244 247 263 -HSync -VSyncModeline "480x248x58.12" 9.072000 480 496 544 576 248 252 255 271 -HSync -VSyncModeline "480x252x57.07" 9.072000 480 496 544 576 252 257 260 276 -HSync -VSyncModeline "480x256x56.25" 9.072000 480 496 544 576 256 260 263 280 -HSync -VSyncModeline "480x276x52.15" 9.072000 480 496 544 576 276 281 284 302 -HSync -VSyncModeline "480x288x50.00" 9.072000 480 496 544 576 288 293 296 315 -HSync -VSyncModeline "480x456x31.44" 9.072000 480 496 544 576 456 466 472 501 -HSync -VSync interlaceModeline "480x458x31.44" 9.072000 480 496 544 576 458 466 472 501 -HSync -VSync interlaceModeline "480x464x31.07" 9.072000 480 496 544 576 464 471 477 507 -HSync -VSync interlaceModeline "480x480x30.00" 9.072000 480 496 544 576 480 488 494 525 -HSync -VSync interlaceModeline "480x512x28.07" 9.072000 480 496 544 576 512 521 527 561 -HSync -VSync interlaceModeline "480x576x24.96" 9.072000 480 496 544 576 576 587 593 631 -HSync -VSync interlaceModeline "496x256x56.25" 9.324000 496 504 552 592 256 260 263 280 -HSync -VSyncModeline "496x456x31.44" 9.324000 496 504 552 592 456 466 472 501 -HSync -VSync interlaceModeline "496x480x30.00" 9.324000 496 504 552 592 480 488 494 525 -HSync -VSync interlaceModeline "504x456x31.44" 9.576000 504 520 568 608 456 466 472 501 -HSync -VSync interlaceModeline "512x229x63.00" 9.702000 512 528 576 616 229 232 235 250 -HSync -VSyncModeline "512x231x62.25" 9.702000 512 528 576 616 231 235 238 253 -HSync -VSyncModeline "512x232x62.01" 9.702000 512 528 576 616 232 236 239 254 -HSync -VSyncModeline "512x234x61.52" 9.702000 512 528 576 616 234 238 241 256 -HSync -VSyncModeline "512x240x59.89" 9.702000 512 528 576 616 240 244 247 263 -HSync -VSyncModeline "512x248x58.12" 9.702000 512 528 576 616 248 252 255 271 -HSync -VSyncModeline "512x256x56.25" 9.702000 512 528 576 616 256 260 263 280 -HSync -VSyncModeline "512x288x50.00" 9.702000 512 528 576 616 288 293 296 315 -HSync -VSyncModeline "512x456x31.44" 9.702000 512 528 576 616 456 466 472 501 -HSync -VSync interlaceModeline "512x458x31.44" 9.702000 512 528 576 616 458 466 472 501 -HSync -VSync interlaceModeline "512x480x30.00" 9.702000 512 528 576 616 480 488 494 525 -HSync -VSync interlaceModeline "512x512x28.07" 9.702000 512 528 576 616 512 521 527 561 -HSync -VSync interlaceModeline "576x458x31.44" 10.836000 576 584 640 688 458 466 472 501 -HSync -VSync interlaceModeline "640x240x59.89" 12.096000 640 656 720 768 240 244 247 263 -HSync -VSyncModeline "640x480x30.00" 12.096000 640 656 720 768 480 488 494 525 -HSync -VSync interlaceModeline "672x229x63.00" 12.726000 672 688 752 808 229 232 235 250 -HSync -VSyncModeline "672x240x59.89" 12.726000 672 688 752 808 240 244 247 263 -HSync -VSyncModeline "704x480x30.00" 13.356000 704 728 800 848 480 488 494 525 -HSync -VSync interlaceModeline "704x512x28.07" 13.356000 704 728 800 848 512 521 527 561 -HSync -VSync interlaceModeline "768x229x63.00" 14.490000 768 784 864 920 229 232 235 250 -HSync -VSyncModeline "800x576x24.96" 15.120000 800 824 904 960 576 587 593 631 -HSync -VSync interlaceModeline "864x229x63.00" 16.380000 864 888 976 1040 229 232 235 250 -HSync -VSyncModeline "864x576x24.96" 16.380000 864 888 976 1040 576 587 593 631 -HSync -VSync interlaceEndSection
Section "Screen"1 - REDIdentifier "Screen"2 - GND#Device "Onboard Video"3 - GREENDevice "ArcadeVGA Video Card"4 - GNDMonitor "Monitor"5 - BLUEDefaultDepth 246 - GNDSubSection "Display"7 - KEYDepth 248 - /HBLNK# This defines the default mode when X starts. Modelines are still accessible.9 - /VBLNKModes "640x480x30.00"EndSubSectionEndSection</pre>
Section "ServerLayout"== Graphic Card ==Identifier "Default Layout"* Model: ATI Technologies Inc Radeon R200 QM [Radeon 9100]Screen "Screen"* Driver: radeonInputDevice "Generic Keyboard"InputDevice "Configured Mouse"## The following options disable suspend which doesn't work properly on the K7400Option "BlankTime" "0"Option "StandbyTime" "0"Option "SuspendTime" "0"Option "OffTime" "0"Option "NoPM" "True"EndSection</nowiki> FIXME* [[File: Model, driver, Xorg configuration.conf]]
== Tips and Tricks ==
Something The arcade should auto-launch advance launcher. Round, red buttons switch between categories (MAME, NES, ...) Trigger starts the game. You want to add change the game?Press both buttons, the trigger, and move the joystick UP!
= Controls =
* Using a Teensy board
* Using a [[http://www.ultimarc.com/ipac1.html|Ultimarc I-PAC]]
* Wheel problematic
= Audio =
The audio amp is alimented by the computer power supply (+12V DC).
== Volume Control ==
To change the volume:
# Open a terminal with: Ctrl+Alt+F2
# Login
# Change the volume with the command: alsamixer
# Return to the game with Ctrl+Alt+F7
= MAME =
* Mame frontends: http://www.koenigs.dk/mame/eng/mamefrontends.htm* Mame launch script: FIXME = Links =* [http://www.arcade-museum.com/game_detail.php?game_id=10204 Page de référence (Killer List Of Videogames)]* [http://www.arcadehelp.com/manual/monitor/Wells/wg-49xx.pdf Wells Gardner 19K4906]* [http://www.arcadeoverlays.com/StoreFrontProfiles/deluxeSFshop.aspx?sfid=17232&c=0&search_text=tron&submit=GO Original overlays]* [http://groovygamegear.com/webstore/index.php?main_page=product_info&products_id=319&zenid=6fa2e2c526f83c87ca941d4319b8dbdf Original joystick]* [http://driph.com/words/tag/tron/ Complete restoration example]* [http://www.happcontrols.com/coindoors/42303900.htm CoinDoor]* [http://arcadecontrols.com/arcade_pc2arcade.html How to connect a PC to an arcade monitor]* [http://forums.bannister.org/ubbthreads.php?ubb=showflat&Number=48388&PHPSESSID=5ede15166544f3209dd336d000f9e069 X11 Configuration]* Scripts[http://www.ultimarc.com/avgainf.html Arcade VGA]* Tips and Tricks[https://secure.wikimedia.org/wikipedia/en/wiki/VGA_connector VGA Connector]* [http://www.compilfight.com/wp-content/uploads/2009/12/mire.jpg Mire]* [http://www.repairfaq.org/REPAIR/F_vidconv.html#VIDCONV_056 Building a 5 BNC cable]* http://www.usb.org/developers/devclass_docs/HID1_11.pdf* http://www.usb.org/developers/devclass_docs/Hut1_12v2.pdf* http://msdn.microsoft.com/en-us/windows/hardware/gg487464.aspx
---
* Interfacer un pc avec les commandes de jeu => fait partielement
* <s>Faire marcher l'audio</s>
* Re-mapper la roue dans Tron
* Cable PS/2 plus court
* Activer les core dumps et analyser la cause des freezes (après N heures, M fois, la machine s'est retrouvée freezée)
* Upload facilité de ROMs PD / relaunch du frontend (if not too insecure)
* Backup!Backup!
= Components =
* [http://www.arcadehelp.com/manual/monitor/Wells/wg-49xx.pdf Wells Gardner 19K4906]
* Autocollants originaux: http://www.arcadeoverlays.com/StoreFrontProfiles/deluxeSFshop.aspx?sfid=17232&c=0&search_text=tron&submit=GO
* Manette originale http://groovygamegear.com/webstore/index.php?main_page=product_info&products_id=319&zenid=6fa2e2c526f83c87ca941d4319b8dbdf(l'originale est noire, d'après BinaryBrain)
* Exemple de restauration: http://driph.com/words/tag/tron/
* Pour accepter la monnaie: [http://www.happcontrols.com/coindoors/42303900.htm CoinDoor]
[[File:IMAG0132.jpg|300px]]
[[File:IMAG0133.jpg|300px]]
= Notes (2015+)=
* L'Ubuntu n'étant ni LTS, ni à jour, j'ai installé un GroovyArcade (Arch-based). On y gagne le mode texte utilisable (dès que l'initrd est chargé).
* Avant l'update, j'ai of course imagé le HDD. Ayant des secteurs défectueux, il a été swappé.
* J'ai court-circuité /PSON et GND, histoire que la machine soit moins galère à allumer. (Censé booter tout seul, mais non... faut toujours appuyer sur le uswitch sur le petit PCB dans la coinbox)
* Si la machine est freezée après un message "GPIO uninitialized", verifier que des touches du claviers ne sont pas coincées, et hard-reboot
= Remote Access (SSH) =
Remote access is back with wireless connectivity!
<pre>
ssh arcade@tron.fixme.ch
</pre>
It is connected to the `FIXME-NAT` network (192.168.130.229).
= Revival =
* http://www.sommerp.net/?id=raspberry_pi_arcade
= Personnes interessées =
* Fred, JB, Simon, François, Arnaud