This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
mspacman:pi [2013/10/03 05:17] ben |
mspacman:pi [2013/10/05 12:48] ben |
||
---|---|---|---|
Line 816: | Line 816: | ||
</code> | </code> | ||
+ | |||
+ | Went looking to see if there might be a compiler issue with the undefined references, running "gcc version 4.6.3 (Debian 4.6.3-14+rpi1)", there's a 4.7 version available, installing it via ''sudo apt-get install gcc-4.7''. | ||
+ | |||
+ | Re-instated the devcb_read lines in ay8910.c, make clean, make. | ||
+ | |||
+ | No difference, and everything I try to do gets a "Bus error". Boo. | ||
+ | |||
+ | Gave up, looked around, realized I also had a version of xmame someone distributed that's new enough to support mspacmnf. Compiled it over the course of two days, all set. | ||
+ | |||
+ | Added user: mspacman | ||
+ | |||
+ | Edited /etc/X11/xinit/xinitrc to be: | ||
+ | <code> | ||
+ | #. /etc/X11/Xsession | ||
+ | /mame/xmame.SDL | ||
+ | </code> | ||
+ | |||
+ | Edited /etc/inittab: | ||
+ | <code> | ||
+ | #1:2345:respawn:/sbin/getty --noclear 38400 tty1 | ||
+ | 1:2345:respawn:/bin/login -f mspacman tty1 </dev/tty1 >/dev/tty1 2>&1 | ||
+ | 2:2345:respawn:/bin/login -f mspacman tty2 </dev/tty2 >/dev/tty2 2>&1 | ||
+ | 3:2345:respawn:/bin/login -f mspacman tty3 </dev/tty3 >/dev/tty3 2>&1 | ||
+ | </code> | ||
+ | |||
+ | Edited /etc/rc.local: | ||
+ | <code> | ||
+ | su -l mspacman -c startx | ||
+ | initctl start tty TTY=/dev/tty2 & | ||
+ | initctl start tty TTY=/dev/tty3 & | ||
+ | </code> | ||
+ |