User Tools

Site Tools


mspacman:pi

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
mspacman:pi [2013/10/03 05:21]
ben
mspacman:pi [2013/10/06 08:40] (current)
ben
Line 818: Line 818:
  
 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''​. 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>​
 +
 +Spent last night trying to get sound working- for some reason it works running via VNC, but not running as mspacman. ​ This morning realized maybe it was permissions,​ ran the prog as user pi and sound exists. ​ Checked group memberships,​ matched them (things like "​audio"​ and "​video"​ were missing!), and finally- sound.
 +
 +Upped the clock to 800Mhz, set xinitrc to use volume -3.  Rebooted, boat work time.  ​
 +
 +
 +**TO-DO: get a proper shutdown routine working from GPIO pins or investigate ACPI, check on hiscore.dat instead of saved states- hi score doesn'​t seem to be working.** ​
 +
mspacman/pi.1380792115.txt.gz ยท Last modified: 2013/10/03 05:21 by ben