-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtrapscript
50 lines (39 loc) · 1.17 KB
/
trapscript
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
printf "This is a set of commands for the MAME debugger to identify if any"
printf "of the conclusions reached in the disassembly interpretation are wrong."
printf ""
printf "Run this script by launching MAME with the -debug option, then typing"
printf "`source trapscript`"
printf ""
printf "Alternatively, use the CLI options `-debug -debugscript trapscript`"
printf ""
printf "Then start the game"
printf ""
printf "Advancing past the RAM test"
printf "Game will hit a breakpoint and may stop."
printf "Press return to continue if that happens."
g 0118
printf "Trapping controllers outputs"
wpset fc24,3,rw
printf "Trapping controllers inputs"
wpset fc6f,2,rw
wpset fc7e,1,rw
printf "Trapping creepers"
wpset fc72,4,rw
wpset fc77,1,rw
wpset fc80,2,rw
printf "Trapping mischief"
wpset fc71,1,rw
printf "Trapping time bomb"
wpset fc7f,1,rw
printf "Trapping translators"
wpset ff88,#12,rw
printf "Trapping possible debugging controls"
wpset ff95,3,rw
printf "Trapping abandoned credit event"
wpset ff99,1,rw
printf "Starting game"
printf ""
printf "If it should return you to the debugger during gameplay, please do let"
printf "me know! (https://github.com/luxocrates)"
printf ""
g