-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathRRCHRIS.ASM
executable file
·66 lines (49 loc) · 1.75 KB
/
RRCHRIS.ASM
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
**************************************************************************
* *
* This is the patch that was written by Christian Gingras *
* to fix the famous enforcer diagonal explosion bug. *
* It is used to patch the $4000 rom in the final robotron *
* version (called version 6 in software.....R5 is what is *
* on the listing). *
* *
**************************************************************************
OPT NOL
LIB RRF
OPT LIS
STTL DIAGONAL EXPLOSIONS
ORG DXRAM (BASE PAGE)
YYCNT RMB 1 WHEN CHOPPING UP X, SAVE TO UPDATE ULY
YOFF RMB 1 ACTUAL PIXEL OFFSET TO CENTER (USED)
XSIZE RMB 1 DISTANCE BETWEEN X POINTS THIS FRAME
YSIZE RMB 1 DISTANCE BETWEEN Y POINTS THIS FRAME
EXPTR RMB 2
APPTR RMB 2 APPEAR POINTER
EXFREE RMB 2
HITE RMB 1
TEMP1 RMB 2
TEMP2 RMB 1
KLJMP EQU $4A59
ORG $4990
JMP UN
ORG $49B7
JMP DEUX
ORG $49E2
JMP TROIS
ORG $4A97
UN DEC HITE
BEQ KLJMP
DEC YOFF
JMP $4994
DEUX DEC HITE
BEQ KLJMP
INC YYCNT
JMP $49BB
TROIS DEC HITE
BEQ KLJMP
INC YYCNT
JMP $49E6
FCC '05/1987 CHR.G.'
ORG $4AD7
* FCB $FD THIS SETS JAP ZAPPER CORRECT
FCB $4C THIS SETS CHECKSUM FOR THE PART CORRECT.
END