/
TestACME.a
102 lines (79 loc) · 1.16 KB
/
TestACME.a
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
!to "TestACME.prg", cbm
!sal
!sl "TestACME.map"
!svl "TestACME.lbl"
!pdb "TestACME.pdb"
!cpu 6510
!ct pet
WoobleImm = $05
WoobleAddr = $06
WoobleImm2 = $07
* = $0400
lda #WoobleImm
lda WoobleAddr
WoobleAddrPC lda WoobleAddrPC
lda #WoobleImm
rts
;Thing = $50
;
;BASICSTART = $0801
;
;; This starts at $0801 so that doing a LOAD"*",8 will still work with the default $0801 BASIC start address.
;*= BASICSTART
;!byte $0b,$08,$01,$00,$9e ; Line 1 SYS2061
;!convtab pet
;!tx "2061" ; Address for sys start in text
;!byte $00,$00,$00
;
;VIC2BorderColour = $d020
;VIC2ScreenColour = $d021
;
;BASICEntry = $80d
;
;* = BASICEntry
; inc VIC2BorderColour
;Flooble
; inc VIC2ScreenColour
; rts
!pseudopc $100 {
!device
!device c {
thisPseudoPCLabel1
sta 0
thisPseudoPCLabel2
sta 1
}
!device 8 {
.thisPseudoPCLabel2p
sta 2
thisPseudoPCLabel3
sta 3
}
!device apu {
.thisPseudoPCLabel3p
sta 4
}
}
!pseudopc $100 {
!device
!device c {
thisPseudoPC2Label1
lda #0
thisPseudoPC2Label2
lda #1
}
!device 8 {
.thisPseudoPC2Label2p
lda #2
thisPseudoPC2Label3
lda #3
}
!device apu {
.thisPseudoPC2Label3p
lda #4
}
}
; Should produce an error
*=$0410
lda #2
rts