Pi2jamma hardware and software info
Revision as of 10:53, 31 December 2017 by Falz
The pi2jamma was created by Jochen Zurborg. Its design is fairly simple, you simply mount the Pi3 on its GPIO pins and connect the audio from the headaphone jack out of the Pi in to the pi2jamma. Power is provided over GPIO, no additional connections are required outside of your JAMMA harness.
it contains these primary components:
- 3 74LS165 shift registers to allow for a total of 24 inputs over the few remaining GPIO pins (todo: which pins exactly?). This method is used because there are very few remaining GPIO pins to use. Todo: determine exactly which GPIO pins are used. Other JAMMA/Pi solutions tend to use [https://github.com/recalbox/mk_arcade_joystick_rpi mk_arcade_joystick_pi but this utilizes overlapping GPIO pins with the VGA666.
- Integrated audio amp
I have been working on porting the Arpicade software (intended for RaspberryJAMMA) which is just changing a few modules and script settings.
- modify /boot/config.txt to load VGA666 drviers:
- Disable the mk_arcade_controls GPIO driver by commenting it out from /etc/modprobe.d/blah. The pi will not boot with this and the vga666 drivers loading.
- Copy the pikeyd165 binary and pikeyd165.conf' to Arpicade. The conf file must go in /etc/ but the binary can go wherever you'd like. I created a subdir in /etc/ and just tossed them both there:
mkdir /etc/regamebox/ ln -s /etc/regamebox/pikeyd165.conf /etc/pikeyd165.conf
pwd ls -al
- Tell pikeyd165 to start at boot by creating/updating a service. Create the file /etc/init.d/pikeyd165 with these contents:
.. and then tell it to start the service upon boot:
- Modify pikeyd165.conf for any required button mappings. By default it is coded to work with MAME's defaults, but may not have buttons mapped to escape out of a game back to your frontend.
At this point you should have a functional Arpicade image on pi2jamma. Note that all of these things should work equally on a fresh Raspbian install as well, you'll just have to do extra work to get a frontend to work. Arpicade uses the Attract Mode frontend by default.