forked from snesrev/zelda3
-
Notifications
You must be signed in to change notification settings - Fork 0
/
snes_regs.h
211 lines (209 loc) · 4.54 KB
/
snes_regs.h
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
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
#pragma once
#define INIDISP 0x2100
#define OBSEL 0x2101
#define OAMADDL 0x2102
#define OAMADDH 0x2103
#define OAMDATA 0x2104
#define BGMODE 0x2105
#define MOSAIC 0x2106
#define BG1SC 0x2107
#define BG2SC 0x2108
#define BG3SC 0x2109
#define BG4SC 0x210a
#define BG12NBA 0x210b
#define BG34NBA 0x210c
#define BG1HOFS 0x210d
#define BG1VOFS 0x210e
#define BG2HOFS 0x210f
#define BG2VOFS 0x2110
#define BG3HOFS 0x2111
#define BG3VOFS 0x2112
#define BG4HOFS 0x2113
#define BG4VOFS 0x2114
#define VMAIN 0x2115
#define VMADDL 0x2116
#define VMADDH 0x2117
#define VMDATAL 0x2118
#define VMDATAH 0x2119
#define M7SEL 0x211a
#define M7A 0x211b
#define M7B 0x211c
#define M7C 0x211d
#define M7D 0x211e
#define M7X 0x211f
#define M7Y 0x2120
#define CGADD 0x2121
#define CGDATA 0x2122
#define W12SEL 0x2123
#define W34SEL 0x2124
#define WOBJSEL 0x2125
#define WH0 0x2126
#define WH1 0x2127
#define WH2 0x2128
#define WH3 0x2129
#define WBGLOG 0x212a
#define WOBJLOG 0x212b
#define TM 0x212c
#define TS 0x212d
#define TMW 0x212e
#define TSW 0x212f
#define CGWSEL 0x2130
#define CGADSUB 0x2131
#define COLDATA 0x2132
#define SETINI 0x2133
#define MPYL 0x2134
#define MPYM 0x2135
#define MPYH 0x2136
#define SLHV 0x2137
#define RDOAM 0x2138
#define RDVRAML 0x2139
#define RDVRAMH 0x213a
#define RDCGRAM 0x213b
#define OPHCT 0x213c
#define OPVCT 0x213d
#define STAT77 0x213e
#define STAT78 0x213f
#define APUI00 0x2140
#define APUI01 0x2141
#define APUI02 0x2142
#define APUI03 0x2143
#define WMDATA 0x2180
#define WMADDL 0x2181
#define WMADDM 0x2182
#define WMADDH 0x2183
#define JOYA 0x4016
#define JOYB 0x4017
#define NMITIMEN 0x4200
#define WRIO 0x4201
#define WRMPYA 0x4202
#define WRMPYB 0x4203
#define WRDIVL 0x4204
#define WRDIVH 0x4205
#define WRDIVB 0x4206
#define HTIMEL 0x4207
#define HTIMEH 0x4208
#define VTIMEL 0x4209
#define VTIMEH 0x420a
#define MDMAEN 0x420b
#define HDMAEN 0x420c
#define MEMSEL 0x420d
#define RDNMI 0x4210
#define TIMEUP 0x4211
#define HVBJOY 0x4212
#define RDIO 0x4213
#define RDDIVL 0x4214
#define RDDIVH 0x4215
#define RDMPYL 0x4216
#define RDMPYH 0x4217
#define JOY1L 0x4218
#define JOY1H 0x4219
#define JOY2L 0x421a
#define JOY2H 0x421b
#define JOY3L 0x421c
#define JOY3H 0x421d
#define JOY4L 0x421e
#define JOY4H 0x421f
#define DMAP0 0x4300
#define BBAD0 0x4301
#define A1T0L 0x4302
#define A1T0H 0x4303
#define A1B0 0x4304
#define DAS0L 0x4305
#define DAS0H 0x4306
#define DAS00 0x4307
#define A2A0L 0x4308
#define A2A0H 0x4309
#define NTRL0 0x430a
#define UNUSED0 0x430b
#define MIRR0 0x430f
#define DMAP1 0x4310
#define BBAD1 0x4311
#define A1T1L 0x4312
#define A1T1H 0x4313
#define A1B1 0x4314
#define DAS1L 0x4315
#define DAS1H 0x4316
#define DAS10 0x4317
#define A2A1L 0x4318
#define A2A1H 0x4319
#define NTRL1 0x431a
#define UNUSED1 0x431b
#define MIRR1 0x431f
#define DMAP2 0x4320
#define BBAD2 0x4321
#define A1T2L 0x4322
#define A1T2H 0x4323
#define A1B2 0x4324
#define DAS2L 0x4325
#define DAS2H 0x4326
#define DAS20 0x4327
#define A2A2L 0x4328
#define A2A2H 0x4329
#define NTRL2 0x432a
#define UNUSED2 0x432b
#define MIRR2 0x432f
#define DMAP3 0x4330
#define BBAD3 0x4331
#define A1T3L 0x4332
#define A1T3H 0x4333
#define A1B3 0x4334
#define DAS3L 0x4335
#define DAS3H 0x4336
#define DAS30 0x4337
#define A2A3L 0x4338
#define A2A3H 0x4339
#define NTRL3 0x433a
#define UNUSED3 0x433b
#define MIRR3 0x433f
#define DMAP4 0x4340
#define BBAD4 0x4341
#define A1T4L 0x4342
#define A1T4H 0x4343
#define A1B4 0x4344
#define DAS4L 0x4345
#define DAS4H 0x4346
#define DAS40 0x4347
#define A2A4L 0x4348
#define A2A4H 0x4349
#define NTRL4 0x434a
#define UNUSED4 0x434b
#define MIRR4 0x434f
#define DMAP5 0x4350
#define BBAD5 0x4351
#define A1T5L 0x4352
#define A1T5H 0x4353
#define A1B5 0x4354
#define DAS5L 0x4355
#define DAS5H 0x4356
#define DAS50 0x4357
#define A2A5L 0x4358
#define A2A5H 0x4359
#define NTRL5 0x435a
#define UNUSED5 0x435b
#define MIRR5 0x435f
#define DMAP6 0x4360
#define BBAD6 0x4361
#define A1T6L 0x4362
#define A1T6H 0x4363
#define A1B6 0x4364
#define DAS6L 0x4365
#define DAS6H 0x4366
#define DAS60 0x4367
#define A2A6L 0x4368
#define A2A6H 0x4369
#define NTRL6 0x436a
#define UNUSED6 0x436b
#define MIRR6 0x436f
#define DMAP7 0x4370
#define BBAD7 0x4371
#define A1T7L 0x4372
#define A1T7H 0x4373
#define A1B7 0x4374
#define DAS7L 0x4375
#define DAS7H 0x4376
#define DAS70 0x4377
#define A2A7L 0x4378
#define A2A7H 0x4379
#define NTRL7 0x437a
#define UNUSED7 0x437b
#define MIRR7 0x437f