-
Notifications
You must be signed in to change notification settings - Fork 0
/
custom.i
137 lines (122 loc) · 2.13 KB
/
custom.i
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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
;APS00000000000000000000000000000000000000000000000000000000000000000000000000000000
custom = $DFF000
bltddat = $000
dmaconr = $002
vposr = $004
vhposr = $006
dskdatr = $008
joy0dat = $00A
joy1dat = $00C
clxdat = $00E
adkconr = $010
pot0dat = $012
pot1dat = $014
potinp = $016
serdatr = $018
dskbytr = $01A
intenar = $01C
intreqr = $01E
dskpt = $020
dsklen = $024
dskdat = $026
refptr = $028
vposw = $02A
vhposw = $02C
copcon = $02E
serdat = $030
serper = $032
potgo = $034
joytest = $036
;str= = $038
strvbl = $03A
strhor = $03C
strlong = $03E
bltcon0 = $040
bltcon1 = $042
bltafwm = $044
bltalwm = $046
bltcpt = $048
bltbpt = $04C
bltapt = $050
bltdpt = $054
bltsize = $058
bltcon0l = $05B ; note: byte access only
bltsizv = $05C
bltsizh = $05E
bltcmod = $060
bltbmod = $062
bltamod = $064
bltdmod = $066
bltcdat = $070
bltbdat = $072
bltadat = $074
deniseid = $07C
dsksync = $07E
cop1lc = $080
cop2lc = $084
copjmp1 = $088
copjmp2 = $08A
copins = $08C
diwstrt = $08E
diwstop = $090
ddfstrt = $092
ddfstop = $094
dmacon = $096
clxcon = $098
intena = $09A
intreq = $09C
adkcon = $09E
aud = $0A0
aud0 = $0A0
aud1 = $0B0
aud2 = $0C0
aud3 = $0D0
* AudChannel
ac_ptr = $00 ; ptr to start of waveform data
ac_len = $04 ; length of waveform in words
ac_per = $06 ; sample period
ac_vol = $08 ; volume
ac_dat = $0A ; sample pair
ac_SIZEOF = $10
bplpt = $0E0
bplcon0 = $100
bplcon1 = $102
bplcon2 = $104
bplcon3 = $106
bpl1mod = $108
bpl2mod = $10A
bplcon4 = $10C
clxcon2 = $10E
bpldat = $110
sprpt = $120
;spr = $140
* SpriteDef
sd_pos = $00
sd_ctl = $02
sd_dataa = $04
sd_dataB = $06
sd_SIZEOF = $08
color = $180
htotal = $1c0
hsstop = $1c2
hbstrt = $1c4
hbstop = $1c6
vtotal = $1c8
vsstop = $1ca
vbstrt = $1cc
vbstop = $1ce
sprhstrt = $1d0
sprhstop = $1d2
bplhstrt = $1d4
bplhstop = $1d6
hhposw = $1d8
hhposr = $1da
beamcon0 = $1dc
hsstrt = $1de
vsstrt = $1e0
hcenter = $1e2
diwhigh = $1e4
fmode = $1fc
todmid = $BFE901
color00 = $180
color01 = $182