shithub: zelda3

ref: fd83a854d915cfc42b857a544fa4c0440f2ddacb
dir: /snes/snes_regs.h/

View raw version
#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