Sign in
0
  0,00€

PPS4 Simulator

Here you can run a binary program as if you were on a real PPS4 platform

Select the reset button to reset the CPU to its reset state (A<=0000, P<=000000 000000, etc...)

Then you can run the program by clicking run. The platform will execute for a maximum number of specified ticks unless a breakpoint is hit beforehand. (Can be modified from this page, up to 1000000 max*)

By default, the binary file used is the 4KB Gottlieb system 1 binary.

Current appli: GTB

From the Disassembly tab, you may add a breakpoint by clicking on an address. The entire line will appear in red to indicate that a breakpoint is active there. The program will stop if this address is reached within a maximum of 2000 ticks (Can be modified from this page, up to 1000000 max*). The duration of a tick in real life is about 5µs. By clicking on an other address, you can change the active breakpoint. By clicking a second time on the same address, you will remove the current breakpoint. Clicking on the reset button has the effect of removing any active breakpoint.

In the disassembly view, the column “disassembly” displays the mnemonics of the instruction line by line. A mouse hover on the mnemonic will show a short description of the corresponding instruction. A click on a jump mnemonic (T, TM, TML) will scroll the display to the target address.

In the disassembly view, the column “zap” allows you to stop tracing in a specific subroutine. For example, in the case of RECEL, let us consider the subroutine in 1D2 which is just a timer function delaying for 33ms. It takes about 6000 cycles that obfuscates the trace while they are not very exhilarating...

In the RAM tab, you can change any data value (4-bit) at your convenience. They will be taken into account at the next run.

It is not possible to modify the ROM content, at the moment, even though it looks like it's possible it's not.

From the CPU Context tab, you can modify any presented register. Please take care to set conform data, since there is little validation on these values. Unexpected results may occur.

Note *

There is a max trace length of 40000 lines, even if the target tick value is not reached

zap is made for expanding the number of ticks that can be run, by hiding trace in particularly long and often called subroutines. This is useful for hiding trace in 1D2 call (RECEL bin) which is a delay for 33ms routine.

Would you need more depth for your trace, or would you find the client/server approach too slow, you might want to try out our python local app for tracing, disassembling etc... To be found at https://github.com/garzol/pps4Emul.git



RAM 256x4b

Addr
x0
x1
x2
x3
x4
x5
x6
x7
000
C
D
2
D
5
E
0
A
008
7
1
3
7
9
A
F
1
010
F
2
E
0
0
4
D
9
018
7
2
2
8
D
8
1
4
020
3
5
8
7
A
4
7
D
028
7
1
F
6
1
A
2
2
030
A
E
4
4
2
6
8
C
038
2
9
6
C
B
E
0
D
040
F
E
A
B
F
8
6
B
048
6
2
5
2
D
9
D
D
050
7
1
1
2
9
7
8
3
058
C
B
D
F
9
3
5
B
060
3
E
B
9
E
8
C
F
068
0
A
1
7
9
7
6
F
070
7
F
B
F
4
E
4
F
078
6
6
8
4
8
A
A
F
080
4
E
6
B
1
2
3
E
088
6
4
B
F
2
A
5
3
090
8
9
B
6
F
2
D
5
098
6
5
8
8
5
C
9
5
0A0
0
7
F
4
7
2
2
8
0A8
F
1
3
C
C
A
E
9
0B0
1
B
D
C
1
F
A
4
0B8
7
8
3
2
5
1
9
B
0C0
8
C
E
E
1
1
5
6
0C8
5
A
F
E
1
A
5
1
0D0
2
1
5
C
7
0
C
D
0D8
C
C
E
5
4
B
9
8
0E0
B
7
0
F
0
1
E
C
0E8
B
6
1
4
8
6
E
9
0F0
B
8
E
B
7
D
C
E
0F8
0
F
3
0
7
D
1
4

ROM 4KB

Addr
x0
x1
x2
x3
x4
x5
x6
x7
000
81
77
1C
20
77
1C
40
00
008
F2
77
1C
41
17
77
1C
41
010
7F
1C
64
00
FF
70
1C
3E
018
11
1C
3D
77
1C
41
17
98
020
5E
5A
03
C8
00
7E
7F
3F
028
5D
77
00
84
18
12
18
1C
030
3D
1C
3A
2F
1C
39
3F
17
038
01
80
AC
5A
00
00
00
00
040
00
D0
DB
97
D3
95
D7
01
048
32
01
BC
00
D0
DA
91
D2
050
95
03
00
52
34
5B
84
5D
058
63
00
07
DB
9E
A5
D7
5A
060
64
03
CE
5A
7C
D9
A8
B4
068
D5
00
6A
7F
3C
7F
2F
1F
070
7F
3C
7F
3F
54
4E
00
0F
078
D9
BC
54
4E
55
37
00
00
080
00
98
7F
3F
00
85
7F
3F
088
59
40
26
20
79
08
94
22
090
2F
8C
52
2A
65
90
00
86
098
20
79
08
65
2F
79
08
65
0A0
3F
05
00
A3
D9
A7
AA
D5
0A8
52
77
1C
33
67
A8
5F
F9
0B0
73
79
79
1B
00
8A
DB
BA
0B8
53
70
5A
31
02
C2
57
F7
0C0
A8
11
6B
86
57
9C
00
77
0C8
57
91
DA
8E
58
80
50
BC
0D0
00
01
02
03
06
07
08
09
0D8
0D
0E
0F
10
15
17
19
1F
0E0
C0
01
26
00
C0
D3
00
1A
0E8
70
3F
02
80
AF
5D
AB
00
0F0
1A
DF
AA
00
1B
DF
A6
00
0F8
C0
D7
01
26
05
00
00
00
100
7E
7D
7B
77
0F
8B
71
72
108
74
78
0D
3F
05
7E
7D
7B
110
77
0D
1E
05
07
0C
92
37
118
92
37
6E
9D
07
3F
05
37
120
60
07
3F
05
00
9A
00
90
128
06
6F
2F
6F
2F
6F
3F
6F
130
06
05
00
BA
70
2F
B4
7A
138
19
01
80
B4
05
57
28
00
140
7E
7B
7A
79
78
77
1B
00
148
A8
37
1A
18
19
05
37
6E
150
91
66
9E
00
77
1E
A8
7E
158
0F
3F
03
40
53
70
6B
A3
160
00
78
95
6B
A5
00
79
95
168
62
AC
77
98
6E
7D
7B
98
170
20
79
08
65
2F
B1
05
24
178
70
08
65
2F
B8
05
5C
79
180
18
1A
60
87
1A
18
05
7F
188
1A
18
07
00
9F
DA
77
70
190
1B
37
00
F0
3F
02
B1
02
198
B1
06
73
0D
67
AC
63
7D
1A0
7B
6F
00
9E
37
18
19
6F
1A8
6F
6F
06
05
6B
77
7E
A1
1B0
5C
E6
5C
DD
5C
C2
55
1F
1B8
5C
C0
5D
31
50
96
59
9E
1C0
5A
54
5A
40
00
86
DD
07
1C8
1F
DD
07
05
00
01
7F
2F
1D0
4B
8E
05
00
FF
00
EF
00
1D8
DF
00
CF
00
BF
00
AF
00
1E0
9F
00
8F
54
A0
00
FA
36
1E8
3E
2F
A7
05
7F
DC
05
17
1F0
7F
DC
05
07
7F
7B
77
54
1F8
30
57
36
5D
93
5D
A0
00
200
01
26
00
C0
D3
01
45
37
208
1A
18
75
19
37
1B
17
37
210
00
8E
2F
12
3F
00
A6
DF
218
A0
01
26
00
C0
D7
58
33
220
00
A8
37
1B
17
37
18
19
228
50
8A
56
2F
00
7D
7F
3F
230
17
4C
AE
05
70
1B
00
7D
238
12
3F
17
B8
00
7E
57
00
240
1B
00
D4
DB
86
90
12
5B
248
D2
00
FF
1B
19
7F
1C
41
250
02
99
02
80
95
02
80
98
258
12
19
77
1C
41
00
FD
77
260
1C
41
17
45
9F
5B
7B
02
268
80
AA
02
80
AD
02
80
B0
270
02
80
B3
03
00
5A
C0
7B
278
1B
03
C8
12
6E
B8
50
AA
280
1C
33
67
93
00
67
D8
8A
288
5C
00
7F
3F
00
7E
D8
91
290
93
5B
B7
5B
55
5D
00
5D
298
0B
00
FD
70
2F
75
2F
70
2A0
3F
53
DF
19
1A
72
19
7E
2A8
0D
1E
AE
1A
19
05
1A
19
2B0
07
24
5F
99
00
FF
77
1C
2B8
41
17
B6
05
03
40
50
22
2C0
7F
7E
7D
7C
7B
1B
00
FF
2C8
19
7F
1C
41
1F
91
03
CE
2D0
99
12
64
97
03
CE
99
03
2D8
D7
00
FF
12
19
77
1C
41
2E0
03
CE
05
1C
33
00
FE
3F
2E8
DA
05
07
D9
B2
D8
B0
B2
2F0
01
DF
00
7E
59
00
01
BA
2F8
03
58
03
38
01
24
05
00
300
55
79
1C
D7
5F
E3
00
DA
308
5F
1C
1F
88
00
95
D8
91
310
B2
00
86
37
1C
DE
1C
DD
318
1F
DD
9D
70
9E
37
1C
DE
320
00
88
37
1C
DD
5F
ED
00
328
EA
5F
00
1F
A9
00
A1
D4
330
56
63
70
1C
DE
1C
DD
9B
338
21
BB
25
5F
40
5F
80
00
340
00
7F
70
1B
7F
19
7F
1C
348
3D
37
0E
1C
3E
12
0E
1C
350
3D
12
60
05
1B
17
86
86
358
00
20
7F
2F
74
3F
05
00
360
97
37
1B
17
37
00
86
01
368
15
05
12
1F
01
15
05
07
370
1C
33
67
BE
00
67
D9
BA
378
50
59
7E
3F
5B
B7
5B
55
380
7F
1B
73
00
FC
3F
7E
00
388
FB
3F
00
FC
37
1A
18
1A
390
17
13
37
19
70
1A
18
1A
398
19
0D
1E
AC
5D
80
1A
00
3A0
FB
37
0B
3F
15
8A
00
FC
3A8
7E
0B
3F
86
00
FF
12
19
3B0
7F
1C
41
03
CE
00
FF
12
3B8
19
77
1C
41
9C
56
3A
00
3C0
7D
7B
70
00
1B
3F
50
E1
3C8
00
FD
79
2F
8A
9F
00
FD
3D0
77
2F
70
2F
74
3F
9F
00
3D8
FD
76
2F
70
2F
71
3F
00
3E0
FD
20
7F
0A
2F
A2
1C
33
3E8
67
AD
15
9F
05
00
A3
7D
3F0
0D
1E
AA
5B
55
7F
02
C5
3F8
03
C0
12
6E
B6
5D
40
00
400
5F
C0
58
4D
58
F8
56
C0
408
54
18
55
CC
55
CC
55
CC
410
00
93
D8
96
55
00
55
03
418
00
9E
DB
9E
5B
B7
55
CC
420
00
8A
D3
00
9E
37
0B
3F
428
37
0B
2F
37
0A
3F
54
40
430
00
E4
2F
7F
2F
7E
3F
05
438
00
E0
75
3F
55
93
00
00
440
37
1B
17
37
00
E4
2F
12
448
2F
7E
3F
02
97
A8
00
0F
450
DB
93
96
D7
5B
1F
00
0A
458
D8
9B
9E
D4
5B
2B
03
40
460
03
80
02
95
00
7E
D9
BB
468
00
9E
37
0B
0E
6F
15
78
470
79
6F
74
6F
05
02
95
02
478
95
53
70
5B
B7
00
00
00
480
58
00
57
CB
58
1B
57
A5
488
5A
EE
50
B2
50
B2
57
E1
490
50
B0
50
B0
58
E3
57
C0
498
58
C8
57
C4
57
A7
58
DA
4A0
18
19
00
20
3F
34
2F
12
4A8
3F
34
3F
01
24
03
3A
00
4B0
FA
01
70
00
10
34
2C
34
4B8
3F
03
38
01
24
05
00
00
4C0
57
78
02
2C
00
7E
D4
D5
4C8
00
8A
7D
3F
00
B7
7C
3F
4D0
01
80
8E
3F
01
B6
03
00
4D8
03
40
03
80
50
A2
00
94
4E0
D8
A4
55
00
D4
55
43
00
4E8
89
37
1C
DE
00
D0
D9
B3
4F0
00
8C
B7
00
8C
DD
B9
70
4F8
BA
37
1C
DE
5E
F9
00
00
500
02
80
9D
37
1E
87
8A
01
508
BE
80
17
37
60
95
60
97
510
60
99
60
9B
80
5F
C0
58
518
4D
58
F8
55
40
59
CB
00
520
BA
DD
A6
1F
A1
B0
7F
19
528
37
1E
B0
70
3F
17
45
A8
530
01
80
B4
05
7A
19
A1
00
538
78
D9
BD
D1
BE
D5
54
4E
540
01
C4
B7
01
C2
01
D7
00
548
A8
7E
3F
00
89
7E
3F
00
550
88
7E
3F
00
7E
D0
00
93
558
D7
00
B8
78
19
7F
2F
9D
560
01
80
18
1A
1E
A7
AA
1A
568
18
9B
00
8C
7F
3F
03
BD
570
59
80
00
93
D4
56
40
54
578
D6
00
7E
D6
58
6D
00
00
580
00
7E
D5
02
C0
02
E3
80
588
00
D0
D4
50
2A
5A
80
01
590
B4
55
C0
21
02
80
99
55
598
CF
14
9D
25
94
02
E3
A1
5A0
A3
56
0A
00
E0
DF
93
00
5A8
8A
DA
BC
00
A1
77
0C
3F
5B0
DB
B3
B6
DA
B6
D0
03
00
5B8
03
40
54
38
00
A1
5A
BB
5C0
03
00
03
40
00
A3
D8
89
5C8
8C
D4
01
7E
02
80
9E
00
5D0
9F
37
60
96
5A
E5
00
9E
5D8
37
0B
0E
6F
56
00
00
8A
5E0
DA
A4
54
38
56
05
00
20
5E8
7F
2F
76
3F
03
3A
00
FF
5F0
37
1B
17
37
00
A4
2F
12
5F8
3F
55
8D
7E
3F
59
F5
00
600
70
6F
74
6F
05
02
E3
8A
608
55
C2
00
93
D6
00
8A
DA
610
95
03
C8
55
80
00
B1
D2
618
01
F5
00
8A
D3
54
4B
00
620
9F
37
1B
17
37
5E
70
03
628
00
00
88
35
3F
5B
C0
00
630
E4
37
00
8B
0A
69
65
3F
638
5E
80
00
8B
78
5E
3B
00
640
00
8A
D5
D6
00
B2
D4
00
648
0A
7F
2F
89
5B
3B
00
20
650
7F
2F
78
3F
03
3A
00
FF
658
37
1B
17
37
00
C4
2F
12
660
3F
56
AB
00
7E
D8
A8
AA
668
54
E7
00
D0
D9
B0
5B
40
670
70
1C
DE
54
F7
7F
1C
DE
678
00
8B
37
1C
DE
5E
F9
00
680
00
7E
DB
97
00
A8
35
0C
688
1E
A3
00
99
37
00
89
DC
690
92
A9
DE
00
A8
7E
3F
02
698
2C
00
B3
7F
3F
01
80
9B
6A0
3F
56
40
00
A8
DE
97
5B
6A8
F8
57
40
00
20
7F
2F
77
6B0
3F
03
3A
00
FF
37
1B
17
6B8
37
00
B4
2F
12
3F
55
E6
6C0
01
C4
A7
00
89
7E
DC
8E
6C8
00
A8
7E
DC
8E
9D
00
94
6D0
D0
00
7E
D7
00
B3
7F
3F
6D8
01
80
96
54
C0
00
8A
DA
6E0
8E
00
88
36
0C
1E
A9
55
6E8
C0
00
89
7E
DC
AF
B1
55
6F0
C0
01
C4
A7
01
C2
03
BD
6F8
01
D7
57
0E
00
9A
59
6C
700
72
3F
03
40
00
7E
7E
3F
708
57
FB
03
C2
52
BC
00
88
710
DE
7E
00
89
3F
00
88
37
718
1B
00
FA
18
7F
3F
00
8A
720
DA
A4
55
C0
03
00
55
CC
728
01
26
03
5F
AE
B3
E0
02
730
C1
01
D9
01
26
05
00
20
738
7F
2F
75
3F
05
00
00
00
740
00
84
DA
85
AF
D9
88
AF
748
00
8B
30
3F
01
41
37
13
750
0C
1E
99
18
1A
00
1B
3F
758
A3
18
1A
61
AF
6E
1A
18
760
8E
54
C0
01
3D
00
8B
30
768
3F
00
1B
37
00
FB
9B
00
770
BA
7F
3F
01
80
B1
54
C0
778
01
F9
03
3A
00
E0
55
FB
780
26
24
00
9E
D8
20
01
47
788
37
13
0C
1E
93
15
A2
50
790
C1
D3
9C
15
A2
DE
11
6B
798
9A
9C
01
4E
16
A0
55
C0
7A0
53
70
DF
A4
96
21
A8
25
7A8
02
95
02
95
02
95
1B
14
7B0
B7
00
8A
DB
B7
53
70
12
7B8
00
E6
3F
56
1F
00
00
00
7C0
00
8A
D3
89
00
8A
77
0C
7C8
3F
53
70
00
8A
DB
91
54
7D0
75
02
95
37
00
A7
3F
02
7D8
95
37
00
A6
2F
D7
02
00
7E0
89
00
8A
DB
A7
54
77
02
7E8
95
73
01
46
37
00
9E
0C
7F0
1E
B3
89
00
8A
D7
89
02
7F8
C2
50
61
03
C2
5E
B3
00
800
02
95
02
95
00
8A
DB
89
808
99
01
8B
0D
1E
77
00
9F
810
0C
0E
00
8A
67
98
D3
99
818
D7
53
70
02
95
02
95
00
820
8A
DB
A4
99
21
00
9F
DB
828
25
01
8B
14
B0
0E
0D
B1
830
0F
3F
99
03
40
00
F5
71
838
DC
BD
1F
7F
3F
58
B4
00
840
00
C1
D0
01
D5
00
F6
DE
848
37
1B
17
37
9A
00
C1
D4
850
01
D3
00
F1
DE
37
1B
00
858
F4
37
00
81
2F
12
3F
5B
860
51
00
C1
D8
A7
00
F1
00
868
F6
7F
3F
5F
38
22
00
A1
870
D8
26
00
B2
D4
01
80
B4
878
72
01
46
D0
5D
C0
00
00
880
00
81
37
68
92
71
DC
A0
888
1F
7E
DC
8F
E0
5F
38
17
890
7E
3F
E0
00
81
DD
98
9E
898
DF
1C
33
67
B2
92
58
61
8A0
70
DC
AB
1F
7C
DC
8D
17
8A8
7F
3F
92
1F
7D
DC
8D
17
8B0
D7
93
5B
55
00
F4
71
DC
8B8
BD
00
F1
7F
3F
05
00
00
8C0
00
8A
D9
86
55
C0
54
D6
8C8
00
B1
DA
8D
90
D6
56
80
8D0
00
B0
DA
95
98
D6
55
C0
8D8
55
C0
00
8A
DB
A0
53
70
8E0
03
C8
9E
02
95
02
95
01
8E8
8B
0D
1E
77
00
9F
0C
0E
8F0
00
8A
0F
67
B6
D3
53
70
8F8
00
D4
DA
BE
58
40
58
4D
900
D1
00
A1
D7
03
00
03
40
908
00
84
DB
8E
57
6F
02
E3
910
A1
02
80
8E
7F
DC
AC
7C
918
17
DC
AF
01
C4
8E
56
CE
920
8E
1C
D6
01
44
7F
3F
00
928
B1
D6
59
79
01
BE
8E
7E
930
DC
B4
58
4D
7D
DC
B9
58
938
F8
7F
DC
AC
5F
C0
00
00
940
01
F6
02
97
37
00
F3
3F
948
02
95
37
00
F9
3F
02
95
950
37
00
F8
3F
02
95
37
00
958
98
3F
02
95
DD
9F
AA
37
960
1B
00
2D
DD
A8
12
3F
9A
968
17
A3
5A
38
70
2F
70
3F
970
00
D0
D8
B5
B7
54
C0
56
978
4E
03
C8
03
C8
56
80
00
980
00
DA
70
3E
70
38
70
3F
988
55
72
02
2C
03
40
03
3D
990
03
3A
01
E5
03
00
00
1C
998
7F
2F
7F
3F
5A
90
01
24
9A0
00
9F
7B
DC
BD
17
DD
A9
9A8
BD
37
1B
00
2D
DD
B0
BD
9B0
12
DC
BB
03
C8
03
CE
12
9B8
6B
02
C5
17
AD
01
24
05
9C0
02
C3
03
CE
02
C2
02
C4
9C8
01
24
05
01
F9
03
3A
00
9D0
FA
32
2A
00
93
D7
00
7E
9D8
D6
03
40
03
00
03
C2
03
9E0
40
00
D5
D8
A6
93
00
93
9E8
D3
00
7E
D2
03
40
03
00
9F0
03
C0
03
C0
93
00
EB
33
9F8
2B
B7
5E
00
03
CE
5F
91
A00
00
E5
37
00
95
3F
37
00
A08
08
3F
00
E4
37
00
84
3F
A10
D8
7C
7A
00
99
3F
37
00
A18
06
3F
01
B4
5E
52
00
87
A20
D8
A7
00
86
37
66
AF
00
A28
EE
01
70
03
00
03
C0
5A
A30
90
12
6B
B6
57
80
5E
40
A38
02
80
BE
01
BE
B8
56
FC
A40
01
24
03
58
03
3A
00
FA
A48
7F
DD
91
1F
7F
DD
90
A2
A50
17
01
77
A2
01
24
03
58
A58
03
3A
03
5F
9E
A2
00
FA
A60
01
70
52
F6
00
76
DB
B0
A68
DA
B3
D9
B6
D8
B9
50
76
A70
D7
D2
AA
D6
D3
AA
D5
D0
A78
AE
D4
D1
AE
02
C2
59
FC
A80
00
B0
D2
01
F4
00
8A
D3
A88
00
89
37
00
09
3F
54
4B
A90
02
80
9B
01
EC
97
AF
7F
A98
DC
9B
B1
1C
33
00
FF
3F
AA0
D9
A3
B6
00
EA
7F
2F
A5
AA8
03
00
B6
5A
1E
5E
C0
5E
AB0
CF
00
69
D8
AB
90
00
69
AB8
D8
AB
AD
7F
3F
55
C2
00
AC0
00
8E
DD
89
1F
DD
89
5B
AC8
0E
01
45
79
DC
8F
A3
00
AD0
8E
30
28
91
01
40
37
13
AD8
0C
1E
A3
1F
37
13
0C
1E
AE0
A3
5B
00
52
15
00
8A
DA
AE8
AC
00
7E
D7
56
A7
00
0D
AF0
73
0D
0B
3F
17
15
BA
D0
AF8
53
70
5D
26
03
00
59
2C
B00
00
84
DA
85
98
03
5F
89
B08
8E
E0
02
C1
01
D9
01
45
B10
7E
0B
3F
00
B0
D3
52
05
B18
00
7E
D3
00
A3
D0
8E
00
B20
84
DA
A6
AB
54
5E
01
3D
B28
00
84
A4
01
7E
00
7E
D3
B30
A4
00
84
DA
B7
5E
0D
01
B38
3D
5F
AE
00
9D
D4
55
80
B40
00
84
DA
85
87
D9
8F
70
B48
1C
DE
70
1C
DE
5E
F9
56
B50
75
00
D5
50
CA
02
B4
00
B58
C0
D7
00
D0
D9
9F
B3
D5
B60
00
BA
7F
2F
A2
01
80
A9
B68
AC
7A
19
A2
00
8B
78
3F
B70
00
7E
D4
03
58
03
3A
01
B78
BA
56
27
03
00
5E
77
00
B80
00
D0
D7
D6
7F
1B
03
C0
B88
00
D0
DA
8E
00
CA
00
BA
B90
12
2F
90
01
80
01
80
7A
B98
19
12
2F
99
00
E0
12
3F
BA0
03
00
00
E0
37
1B
02
80
BA8
B0
01
EC
B0
00
D0
50
46
BB0
12
6E
1B
69
86
50
40
02
BB8
B4
00
C0
D7
00
D0
5C
2F
BC0
00
B1
D6
00
A3
D1
00
7E
BC8
D7
D8
8C
90
01
DB
57
40
BD0
57
6F
1B
16
A4
00
A7
37
BD8
62
A4
7B
DC
7B
7C
00
FF
BE0
19
7F
1C
41
12
52
49
01
BE8
24
00
95
D9
AE
B6
02
C4
BF0
02
C3
02
C2
59
C0
59
C8
BF8
00
8A
D2
D3
54
20
00
00
C00
01
24
00
B1
D7
00
A0
12
C08
3F
00
2E
37
00
FF
19
7F
C10
1C
21
00
2F
37
00
FF
19
C18
77
1C
20
67
AD
AB
00
1F
C20
73
DC
A4
A9
DE
00
2F
DE
C28
92
5C
40
5C
80
5C
86
D9
C30
B2
B4
5B
55
00
8A
DD
BB
C38
00
7E
D7
00
7E
52
EB
00
C40
76
3F
00
2F
70
DC
8A
77
C48
3F
8B
DE
00
2E
37
00
FF
C50
19
77
1C
21
00
1E
75
DC
C58
B7
7F
3F
00
2E
7F
3F
00
C60
2F
77
3F
00
A0
37
1B
00
C68
B1
DB
B1
00
C1
D4
01
24
C70
05
D7
00
C1
D0
5C
AF
5C
C78
9E
00
9D
D8
05
D0
51
DD
C80
01
B2
77
0D
3F
8D
01
B2
C88
7F
DC
8D
76
3F
DB
91
5C
C90
1E
5C
F3
00
B1
DB
8F
D3
C98
01
B2
D7
01
B0
8F
DE
D8
CA0
AD
00
2E
37
00
FF
19
77
CA8
1C
21
00
2E
DE
5C
09
01
CB0
24
00
9F
37
07
7F
3E
7F
CB8
38
7F
3F
54
DE
00
00
00
CC0
00
60
00
50
7F
2F
84
18
CC8
12
6E
1B
18
6C
84
00
2F
CD0
77
3F
00
1F
76
3F
77
1C
CD8
20
77
1C
40
05
00
1F
37
CE0
1B
17
37
19
18
05
00
2F
CE8
37
1B
17
37
00
9E
2F
12
CF0
3F
D7
05
00
C0
DB
B9
5C
CF8
93
00
B1
D3
5C
1E
00
00
D00
00
E4
7E
0B
2F
7F
0A
2F
D08
7F
0A
3F
00
E5
37
0E
1B
D10
17
37
0E
1D
00
E6
37
60
D18
99
1C
37
00
FF
27
3F
37
D20
00
9E
2F
3F
17
05
37
0B
D28
3F
17
15
AF
D0
53
70
5E
D30
EF
00
FB
37
1B
17
37
00
D38
86
2F
12
3F
05
00
00
00
D40
01
B8
00
EA
70
2F
84
03
D48
00
03
C1
02
80
8F
92
02
D50
80
A3
00
9F
37
00
8C
3F
D58
00
9E
37
00
89
3F
03
00
D60
03
C2
8F
00
EA
7F
2F
A5
D68
00
D0
D5
00
BA
7F
2F
AD
D70
7A
19
01
80
AD
5F
A1
00
D78
8B
78
3F
03
40
50
2A
00
D80
12
6B
84
88
1A
6E
53
9E
D88
00
00
DA
7F
77
00
F1
1C
D90
41
51
CC
20
00
AB
32
0E
D98
08
65
32
1F
96
15
07
05
DA0
00
AA
37
1C
DE
37
1C
DD
DA8
1F
A2
05
00
7E
D8
B0
B2
DB0
50
EF
00
D0
D9
B0
00
C0
DB8
D7
02
80
BC
55
03
00
00
DC0
25
00
7E
D8
86
21
00
D0
DC8
D9
21
00
AA
14
94
37
1E
DD0
94
1F
8C
9E
7F
19
37
1E
DD8
9E
70
3F
17
45
96
01
80
DE0
A2
A5
7A
19
8C
1C
DB
53
DE8
02
00
AF
37
0E
1E
B3
3F
DF0
17
45
AB
01
80
B7
BA
7F
DF8
19
AB
1C
D3
05
00
00
00
E00
01
FB
92
00
D5
D9
88
8D
E08
D8
8B
8D
5B
31
00
AA
32
E10
2A
8F
00
E0
37
6E
3F
37
E18
64
A5
01
F9
03
38
00
FA
E20
32
2A
A0
54
C2
D8
AF
DA
E28
B5
00
DA
30
28
AB
80
00
E30
CA
31
29
B1
80
00
BA
36
E38
2E
B7
80
09
65
3F
5B
E7
E40
00
77
7F
2F
7F
3F
00
79
E48
D7
D6
57
80
03
40
7A
1B
E50
5F
47
00
84
37
00
04
3F
E58
5E
8D
77
1C
40
00
00
7F
E60
2F
9F
01
80
9F
00
D0
D0
E68
00
7E
78
3F
01
B4
57
0A
E70
00
E4
2F
12
3F
54
4B
00
E78
A6
7F
DC
BE
52
73
52
67
E80
00
A7
7C
0D
1E
89
7D
52
E88
40
62
7B
7C
87
00
D4
7C
E90
0D
62
97
7E
1B
7A
A6
6E
E98
9D
7F
1B
77
A6
6E
A3
7E
EA0
1B
7F
A6
7F
1B
7A
00
96
EA8
2F
12
3F
03
58
03
3A
01
EB0
BA
50
80
02
2C
03
40
53
EB8
F5
00
00
00
00
00
00
00
EC0
03
C0
00
1C
01
70
01
B4
EC8
00
1D
79
DC
AD
5D
63
01
ED0
E5
03
3D
03
38
01
BC
03
ED8
00
00
86
7E
DC
AB
1F
7E
EE0
DC
AB
00
EA
70
2F
A4
03
EE8
00
5B
80
59
8E
5A
90
37
EF0
0B
3F
15
B7
00
0D
D2
53
EF8
70
37
1C
DD
1C
DD
5D
E9
F00
02
A3
89
35
16
8B
1C
DE
F08
8D
35
86
70
86
02
A3
96
F10
35
16
98
1C
DD
9A
35
93
F18
70
93
53
2B
02
A3
A5
31
F20
16
A7
1C
DE
A9
31
A2
70
F28
A2
02
A3
B2
31
16
B4
1C
F30
DD
B6
31
AF
70
AF
53
0A
F38
00
7E
D9
BE
58
C0
5A
FC
F40
00
F2
7F
1C
41
5E
4C
00
F48
20
37
1C
6E
1F
37
1C
6D
F50
00
FF
12
19
14
97
AA
1C
F58
6A
3F
19
60
B9
1B
00
20
F60
7E
0B
2F
7F
0A
2F
7F
0A
F68
3F
87
37
1C
67
19
1B
00
F70
F1
7F
1C
41
77
1C
41
12
F78
9B
00
F2
77
1C
41
25
05
F80
00
87
7E
DC
87
75
8A
00
F88
86
37
00
21
3F
17
7F
3F
F90
05
03
D7
02
C4
02
C3
58
F98
80
77
0D
1E
20
37
0A
3F
FA0
05
E0
01
C2
00
8C
70
3F
FA8
00
89
7F
3F
54
C0
03
00
FB0
03
C8
01
3D
03
00
03
C8
FB8
01
3D
03
00
03
C8
5E
0D
FC0
03
C1
00
86
7F
2F
7F
3F
FC8
00
89
7F
3F
00
8C
7F
3F
FD0
00
7E
D7
D5
D0
00
93
D7
FD8
01
32
00
D0
D1
02
80
A1
FE0
9D
59
8A
00
93
DB
A9
53
FE8
06
01
FD
53
0C
00
93
DB
FF0
B3
53
27
01
FD
53
2D
53
FF8
0C
00
E3
7F
3C
5C
B5
00

ROM Disassembly from
Disassembly
ADDR
I1
I2
Zap
Disassembly
000
81
T 0X001
001
77
LDI 0X8
002
1C
20
IOL 0X20
004
77
LDI 0X8
005
1C
40
IOL 0X40
007
00
F2
LBL 0X00D
009
77
LDI 0X8
00A
1C
41
IOL 0X41
00C
17
INCB
00D
77
LDI 0X8
00E
1C
41
IOL 0X41
010
7F
LDI 0X0
011
1C
64
IOL 0X64
013
00
FF
LBL 0X000
015
70
LDI 0XF
016
1C
3E
IOL 0X3E
018
11
LABL
019
1C
3D
IOL 0X3D
01B
77
LDI 0X8
01C
1C
41
IOL 0X41
01E
17
INCB
01F
98
T 0X018
020
5E
5A
TL 0XE5A
022
03
C8
TML 0X3C8
024
00
7E
LBL 0X081
026
7F
LDI 0X0
027
3F
EX 0
028
5D
77
TL 0XD77
02A
00
84
LBL 0X07B
02C
18
XBMX
02D
12
LAX
02E
18
XBMX
02F
1C
3D
IOL 0X3D
031
1C
3A
IOL 0X3A
033
2F
EXD 0
034
1C
39
IOL 0X39
036
3F
EX 0
037
17
INCB
038
01
80
TML 0X180
03A
AC
T 0X02C
03B
5A
00
TL 0XA00
03D
00
00
LBL 0X0FF
03F
00
SETB 0X00
040
00
D0
LBL 0X02F
042
DB
TM (DB) (@<=0X110)
043
97
T 0X057
044
D3
TM (D3) (@<=0X103)
045
95
T 0X055
046
D7
TM (D7) (@<=0X109)
047
01
32
TML 0X132
049
01
BC
TML 0X1BC
04B
00
D0
LBL 0X02F
04D
DA
TM (DA) (@<=0X10F)
04E
91
T 0X051
04F
D2
TM (D2) (@<=0X102)
050
95
T 0X055
051
03
00
TML 0X300
053
52
34
TL 0X234
055
5B
84
TL 0XB84
057
5D
63
TL 0XD63
059
00
07
LBL 0X0F8
05B
DB
TM (DB) (@<=0X110)
05C
9E
T 0X05E
05D
A5
T 0X065
05E
D7
TM (D7) (@<=0X109)
05F
5A
64
TL 0XA64
061
03
CE
TML 0X3CE
063
5A
7C
TL 0XA7C
065
D9
TM (D9) (@<=0X10E)
066
A8
T 0X068
067
B4
T 0X074
068
D5
TM (D5) (@<=0X107)
069
00
6A
LBL 0X095
06B
7F
LDI 0X0
06C
3C
EX 3
06D
7F
LDI 0X0
06E
2F
EXD 0
06F
1F
DECB
070
7F
LDI 0X0
071
3C
EX 3
072
7F
LDI 0X0
073
3F
EX 0
074
54
4E
TL 0X44E
076
00
0F
LBL 0X0F0
078
D9
TM (D9) (@<=0X10E)
079
BC
T 0X07C
07A
54
4E
TL 0X44E
07C
55
37
TL 0X537
07E
00
00
LBL 0X0FF
080
00
98
LBL 0X067
082
7F
LDI 0X0
083
3F
EX 0
084
00
85
LBL 0X07A
086
7F
LDI 0X0
087
3F
EX 0
088
59
40
TL 0X940
08A
26
RF1
08B
20
SC
08C
79
LDI 0X6
08D
08
ADCSK
08E
94
T 0X094
08F
22
SF1
090
2F
EXD 0
091
8C
T 0X08C
092
52
2A
TL 0X22A
094
65
DC
095
90
T 0X090
096
00
86
LBL 0X079
098
20
SC
099
79
LDI 0X6
09A
08
ADCSK
09B
65
DC
09C
2F
EXD 0
09D
79
LDI 0X6
09E
08
ADCSK
09F
65
DC
0A0
3F
EX 0
0A1
05
RTN
0A2
00
A3
LBL 0X05C
0A4
D9
TM (D9) (@<=0X10E)
0A5
A7
T 0X0A7
0A6
AA
T 0X0AA
0A7
D5
TM (D5) (@<=0X107)
0A8
52
77
TL 0X277
0AA
1C
33
IOL 0X33
0AC
67
ADI 0X8
0AD
A8
T 0X0A8
0AE
5F
F9
TL 0XFF9
0B0
73
LDI 0XC
0B1
79
LDI 0X6
0B2
79
LDI 0X6
0B3
1B
LXA
0B4
00
8A
LBL 0X075
0B6
DB
TM (DB) (@<=0X110)
0B7
BA
T 0X0BA
0B8
53
70
TL 0X370
0BA
5A
31
TL 0XA31
0BC
02
C2
TML 0X2C2
0BE
57
F7
TL 0X7F7
0C0
A8
T 0X0E8
0C1
11
LABL
0C2
6B
ADI 0X4
0C3
86
T 0X0C6
0C4
57
9C
TL 0X79C
0C6
00
77
LBL 0X088
0C8
57
91
TL 0X791
0CA
DA
TM (DA) (@<=0X10F)
0CB
8E
T 0X0CE
0CC
58
80
TL 0X880
0CE
50
BC
TL 0X0BC
0D0
00
01
LBL 0X0FE
0D2
02
03
TML 0X203
0D4
06
XS
0D5
07
RTNSK
0D6
08
ADCSK
0D7
09
ADSK
0D8
0D
AND
0D9
0E
COMP
0DA
0F
OR
0DB
10
LBMX
0DC
15
SKC
0DD
17
INCB
0DE
19
XABL
0DF
1F
DECB
0E0
C0
LB (0XC0) (B<=0X057)
0E1
01
26
TML 0X126
0E3
00
C0
LBL 0X03F
0E5
D3
TM (D3) (@<=0X103)
0E6
00
1A
LBL 0X0E5
0E8
70
LDI 0XF
0E9
3F
EX 0
0EA
02
80
TML 0X280
0EC
AF
T 0X0EF
0ED
5D
AB
TL 0XDAB
0EF
00
1A
LBL 0X0E5
0F1
DF
TM (DF) (@<=0X11F)
0F2
AA
T 0X0EA
0F3
00
1B
LBL 0X0E4
0F5
DF
TM (DF) (@<=0X11F)
0F6
A6
T 0X0E6
0F7
00
C0
LBL 0X03F
0F9
D7
TM (D7) (@<=0X109)
0FA
01
26
TML 0X126
0FC
05
RTN
0FD
00
00
LBL 0X0FF
0FF
00
SETB 0X00
100
7E
LDI 0X1
101
7D
LDI 0X2
102
7B
LDI 0X4
103
77
LDI 0X8
104
0F
OR
105
8B
T 0X10B
106
71
LDI 0XE
107
72
LDI 0XD
108
74
LDI 0XB
109
78
LDI 0X7
10A
0D
AND
10B
3F
EX 0
10C
05
RTN
10D
7E
LDI 0X1
10E
7D
LDI 0X2
10F
7B
LDI 0X4
110
77
LDI 0X8
111
0D
AND
112
1E
SKZ
113
05
RTN
114
07
RTNSK
115
0C
EOR
116
92
T 0X112
117
37
LD 0X0
118
92
T 0X112
119
37
LD 0X0
11A
6E
ADI 0X1
11B
9D
T 0X11D
11C
07
RTNSK
11D
3F
EX 0
11E
05
RTN
11F
37
LD 0X0
120
60
ADI 0XF
121
07
RTNSK
122
3F
EX 0
123
05
RTN
124
00
9A
LBL 0X065
126
00
90
LBL 0X06F
128
06
XS
129
6F
CYS
12A
2F
EXD 0
12B
6F
CYS
12C
2F
EXD 0
12D
6F
CYS
12E
3F
EX 0
12F
6F
CYS
130
06
XS
131
05
RTN
132
00
BA
LBL 0X045
134
70
LDI 0XF
135
2F
EXD 0
136
B4
T 0X134
137
7A
LDI 0X5
138
19
XABL
139
01
80
TML 0X180
13B
B4
T 0X134
13C
05
RTN
13D
57
28
TL 0X728
13F
00
SETB 0X00
140
7E
LDI 0X1
141
7B
LDI 0X4
142
7A
LDI 0X5
143
79
LDI 0X6
144
78
LDI 0X7
145
77
LDI 0X8
146
1B
LXA
147
00
A8
LBL 0X057
149
37
LD 0X0
14A
1A
XAX
14B
18
XBMX
14C
19
XABL
14D
05
RTN
14E
37
LD 0X0
14F
6E
ADI 0X1
150
91
T 0X151
151
66
ADI 0X9
152
9E
T 0X15E
153
00
77
LBL 0X088
155
1E
SKZ
156
A8
T 0X168
157
7E
LDI 0X1
158
0F
OR
159
3F
EX 0
15A
03
40
TML 0X340
15C
53
70
TL 0X370
15E
6B
ADI 0X4
15F
A3
T 0X163
160
00
78
LBL 0X087
162
95
T 0X155
163
6B
ADI 0X4
164
A5
T 0X165
165
00
79
LBL 0X086
167
95
T 0X155
168
62
ADI 0XD
169
AC
T 0X16C
16A
77
LDI 0X8
16B
98
T 0X158
16C
6E
ADI 0X1
16D
7D
LDI 0X2
16E
7B
LDI 0X4
16F
98
T 0X158
170
20
SC
171
79
LDI 0X6
172
08
ADCSK
173
65
DC
174
2F
EXD 0
175
B1
T 0X171
176
05
RTN
177
24
RC
178
70
LDI 0XF
179
08
ADCSK
17A
65
DC
17B
2F
EXD 0
17C
B8
T 0X178
17D
05
RTN
17E
5C
79
TL 0XC79
180
18
XBMX
181
1A
XAX
182
60
ADI 0XF
183
87
T 0X187
184
1A
XAX
185
18
XBMX
186
05
RTN
187
7F
LDI 0X0
188
1A
XAX
189
18
XBMX
18A
07
RTNSK
18B
00
9F
LBL 0X060
18D
DA
TM (DA) (@<=0X10F)
18E
77
LDI 0X8
18F
70
LDI 0XF
190
1B
LXA
191
37
LD 0X0
192
00
F0
LBL 0X00F
194
3F
EX 0
195
02
B1
TML 0X2B1
197
02
B1
TML 0X2B1
199
06
XS
19A
73
LDI 0XC
19B
0D
AND
19C
67
ADI 0X8
19D
AC
T 0X1AC
19E
63
ADI 0XC
19F
7D
LDI 0X2
1A0
7B
LDI 0X4
1A1
6F
CYS
1A2
00
9E
LBL 0X061
1A4
37
LD 0X0
1A5
18
XBMX
1A6
19
XABL
1A7
6F
CYS
1A8
6F
CYS
1A9
6F
CYS
1AA
06
XS
1AB
05
RTN
1AC
6B
ADI 0X4
1AD
77
LDI 0X8
1AE
7E
LDI 0X1
1AF
A1
T 0X1A1
1B0
5C
E6
TL 0XCE6
1B2
5C
DD
TL 0XCDD
1B4
5C
C2
TL 0XCC2
1B6
55
1F
TL 0X51F
1B8
5C
C0
TL 0XCC0
1BA
5D
31
TL 0XD31
1BC
50
96
TL 0X096
1BE
59
9E
TL 0X99E
1C0
5A
54
TL 0XA54
1C2
5A
40
TL 0XA40
1C4
00
86
LBL 0X079
1C6
DD
TM (DD) (@<=0X117)
1C7
07
RTNSK
1C8
1F
DECB
1C9
DD
TM (DD) (@<=0X117)
1CA
07
RTNSK
1CB
05
RTN
1CC
00
01
LBL 0X0FE
1CE
7F
LDI 0X0
1CF
2F
EXD 0
1D0
4B
SKBI 0XB
1D1
8E
T 0X1CE
1D2
05
RTN
1D3
00
FF
LBL 0X000
1D5
00
EF
LBL 0X010
1D7
00
DF
LBL 0X020
1D9
00
CF
LBL 0X030
1DB
00
BF
LBL 0X040
1DD
00
AF
LBL 0X050
1DF
00
9F
LBL 0X060
1E1
00
8F
LBL 0X070
1E3
54
A0
TL 0X4A0
1E5
00
FA
LBL 0X005
1E7
36
LD 0X1
1E8
3E
EX 1
1E9
2F
EXD 0
1EA
A7
T 0X1E7
1EB
05
RTN
1EC
7F
LDI 0X0
1ED
DC
TM (DC) (@<=0X115)
1EE
05
RTN
1EF
17
INCB
1F0
7F
LDI 0X0
1F1
DC
TM (DC) (@<=0X115)
1F2
05
RTN
1F3
07
RTNSK
1F4
7F
LDI 0X0
1F5
7B
LDI 0X4
1F6
77
LDI 0X8
1F7
54
30
TL 0X430
1F9
57
36
TL 0X736
1FB
5D
93
TL 0XD93
1FD
5D
A0
TL 0XDA0
1FF
00
SETB 0X00
200
01
26
TML 0X126
202
00
C0
LBL 0X03F
204
D3
TM (D3) (@<=0X103)
205
01
45
TML 0X145
207
37
LD 0X0
208
1A
XAX
209
18
XBMX
20A
75
LDI 0XA
20B
19
XABL
20C
37
LD 0X0
20D
1B
LXA
20E
17
INCB
20F
37
LD 0X0
210
00
8E
LBL 0X071
212
2F
EXD 0
213
12
LAX
214
3F
EX 0
215
00
A6
LBL 0X059
217
DF
TM (DF) (@<=0X11F)
218
A0
T 0X220
219
01
26
TML 0X126
21B
00
C0
LBL 0X03F
21D
D7
TM (D7) (@<=0X109)
21E
58
33
TL 0X833
220
00
A8
LBL 0X057
222
37
LD 0X0
223
1B
LXA
224
17
INCB
225
37
LD 0X0
226
18
XBMX
227
19
XABL
228
50
8A
TL 0X08A
22A
56
2F
TL 0X62F
22C
00
7D
LBL 0X082
22E
7F
LDI 0X0
22F
3F
EX 0
230
17
INCB
231
4C
SKBI 0XC
232
AE
T 0X22E
233
05
RTN
234
70
LDI 0XF
235
1B
LXA
236
00
7D
LBL 0X082
238
12
LAX
239
3F
EX 0
23A
17
INCB
23B
B8
T 0X238
23C
00
7E
LBL 0X081
23E
57
00
TL 0X700
240
1B
LXA
241
00
D4
LBL 0X02B
243
DB
TM (DB) (@<=0X110)
244
86
T 0X246
245
90
T 0X250
246
12
LAX
247
5B
D2
TL 0XBD2
249
00
FF
LBL 0X000
24B
1B
LXA
24C
19
XABL
24D
7F
LDI 0X0
24E
1C
41
IOL 0X41
250
02
99
TML 0X299
252
02
80
TML 0X280
254
95
T 0X255
255
02
80
TML 0X280
257
98
T 0X258
258
12
LAX
259
19
XABL
25A
77
LDI 0X8
25B
1C
41