-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathTITLEPGE.TXT
69 lines (57 loc) · 1.09 KB
/
TITLEPGE.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
NAM LOAD
* SLOPPY LOAD CMD FOR THE
* TITLE PAGE
LOAD
JSR OPENI2
JSR GETBYT
LDX #$FFB0
LDB #16
A@ JSR GETBYT
STA ,X+
DECB
BNE A@
CLR $FF9A
JSR GETBYT colors 0=RGBA, NZ=Composite
CMPA RGBFLG
BEQ Z@
LDX #RGBCMP
TSTA
BEQ A@
LDX #CMPRGB
A@ LDU #$FFB0
LDB #16
B@ LDA ,U
ANDA #63
LDA A,X
STA ,U+
DECB
BNE B@
Z@
JSR GETBYT compression??? 0=nope! NZ=yep!
STA COMFL2
LDB #32
A@ JSR GETBYT
DECB
BNE A@
TST COMFL2
BNE LDNCP
LDX #$8000
A@ JSR GETBYT
TSTA
BEQ B@
TFR A,B
JSR GETBYT
C@ STA ,X+
DECB
BNE C@
BRA A@
B@ JMP AFTLD
LDNCP LDY #160*200
LDX #$8000
A@ JSR GETBYT
STA ,X+
LEAY -1,Y
BNE A@
AFTLD JMP CLOSE2
COMFL2 FCB 0
END