forked from vpinball/pinmame
-
Notifications
You must be signed in to change notification settings - Fork 0
/
unix_todo.txt
118 lines (98 loc) · 2.59 KB
/
unix_todo.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
Trying to build and run PinMAME with Brian Dominy's XPinMAME patch using Ubuntu 10.10 i386 (32-Bit).
Using a VM on Windows 7 64-Bit:
### Easier maintenance: aptitude, ssh access (open SSH port for VM)
apt-get install aptitude
aptitude install openssh-server
mkdir ~/.ssh
touch ~/.ssh/authorized_keys
chmod -R u=rw,go= .ssh
### Virtualbox support (according to manual)
aptitude install dkms
# >= 3.2 signing key
wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | apt-key add -
# < 3.2 signing key
wget -q http://download.virtualbox.org/virtualbox/debian/sun_vbox.asc -O- | apt-key add -
# mount VirtualBox Guest Additions ISO and go to the mount point, normally /media/VBOXADDITIONS_....
sh ./VBoxLinuxAdditions-x86.run
# reboot guest system (clipboard exchange should work after reboot)
* Dependencies Ubuntu 10 Development:
aptitude install \
build-essential \
subversion \
git \
zlib1g-dev \
libx11-dev \
libxext-dev \
libxv-dev \
libncurses5-dev \
libsdl1.2-dev \
x11proto-video-dev
* Dependencies Ubuntu 10 Runtime:
aptitude install \
zlib1g \
libx11-6 \
libxext6 \
libxv1 \
libncurses5 \
libsdl1.2debian
* Source code setup
mkdir -p ~/pinmame/release_2_2
cd ~/pinmame/release_2_2
svn co https://pinmame.svn.sourceforge.net/svnroot/pinmame/tags/release_2_2 .
wget http://oddchange.com/freewpc/pinmame-x.patch.gz
gunzip -d -N -c pinmame-x.patch.gz >pinmame-x.patch
patch -p1 -i pinmame-x.patch
# not fixing any of the failed hunks)
make -f makefile.unix
* Pinmame setup
mkdir /usr/local/share/xpinmame
cd /usr/local/share/xpinmame
ln -s /media/E_DRIVE/Pinball/PinMAME_data/roms/ roms
#
cd ~/pinmame/release_2_2
./xpinmamed.x11 ij_l7
Sound (SDLMAME)
http://ubuntuforums.org/showthread.php?t=320377
http://linux.die.net/man/6/xmame
-ldp
-v volume, -volume volume
Specify audio attenuation in dB (-32 (soft) - 0 (loud)).
-ad device, -audiodevice device
Use an alternative audiodevice.
http://ubuntuforums.org/showthread.php?t=115021
========================================
HAVE_VSNPRINTF
HAVE_SNPRINTF
_vsnprintf
_snprintf
_stricmp
_strcmpi
_strnicmp
_str
HAS_vsnprintf
HAS_snprintf
_vsprintf
_vnprintf
_vprintf
_sprintf
Specialities:
- src/mamedbg.c
CONFIG_FOR_FREEWPC
* src/osdepend.h
#ifdef PINMAME
#include "pinmame.h"
#endif
? What for?
* src/wpc/sim.h
#include "osdepend.h"
? What for?
* src/wpc/wpc.c
orkin stuff (Orkin debugger)
serial stuff (WPC_SERIAL_...)
* src/wpc/wpc.h
orkin stuff (Orkin debugger)
serial stuff (WPC_SERIAL_...)
ticket dispenser stuff (WPC_SERIAL_...)
* src\pinmame.mak
+DRVLIBS += $(PINOBJ)/serial.o
removed LDFLAGS -Xlinker --cref