From 2ceabcaee4920928c4d0230fa7b570f80c1d66ae Mon Sep 17 00:00:00 2001 From: Ian C Date: Tue, 11 Sep 2018 17:20:27 +0000 Subject: Rejigged initialisation and removed green background code. --- snes.inc | 200 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 200 insertions(+) create mode 100755 snes.inc (limited to 'snes.inc') diff --git a/snes.inc b/snes.inc new file mode 100755 index 0000000..9e10e57 --- /dev/null +++ b/snes.inc @@ -0,0 +1,200 @@ +INIDISP equ $2100 +OBSEL equ $2101 +OAMADDL equ $2102 +OAMADDH equ $2103 +OAMDATA equ $2104 +BGMODE equ $2105 +MOSAIC equ $2106 +BG1SC equ $2107 +BG2SC equ $2108 +BG3SC equ $2109 +BG4SC equ $210A +BG12NBA equ $210B +BG34NBA equ $210C +BG1HOFS equ $210D +BG1VOFS equ $210E +BG2HOFS equ $210F +BG2VOFS equ $2110 +BG3HOFS equ $2111 +BG3VOFS equ $2112 +BG4HOFS equ $2113 +BG4VOFS equ $2114 +VMAIN equ $2115 +VMADDL equ $2116 +VMADDH equ $2117 +VMDATAL equ $2118 +VMDATAH equ $2119 +M7SEL equ $211A +M7A equ $211B +M7B equ $211C +M7C equ $211D +M7D equ $211E +M7X equ $211F +M7Y equ $2120 +CGADD equ $2121 +CGDATA equ $2122 +W12SEL equ $2123 +W34SEL equ $2124 +WOBJSEL equ $2125 +WH0 equ $2126 +WH1 equ $2127 +WH2 equ $2128 +WH3 equ $2129 +WBGLOG equ $212A +WOBJLOG equ $212B +TM equ $212C +TS equ $212D +TMW equ $212E +TSW equ $212F +CGWSEL equ $2130 +CGADSUB equ $2131 +COLDATA equ $2132 +SETINI equ $2133 +MPYL equ $2134 +MPYM equ $2135 +MPYH equ $2136 +SLHV equ $2137 +OAMDATAREAD equ $2138 +VMDATALREAD equ $2139 +VMDATAHREAD equ $213A +CGDATAREAD equ $213B +OPHCT equ $213C +OPVCT equ $213D +STAT77 equ $213E +STAT78 equ $213F +APUIO0 equ $2140 +APUIO1 equ $2141 +APUIO2 equ $2142 +APUIO3 equ $2143 +WMDATA equ $2180 +WMADDL equ $2181 +WMADDM equ $2182 +WMADDH equ $2183 +JOYSER0 equ $4016 +JOYSER1 equ $4017 +NMITIMEN equ $4200 +WRIO equ $4201 +WRMPYA equ $4202 +WRMPYB equ $4203 +WRDIVL equ $4204 +WRDIVH equ $4205 +WRDIVB equ $4206 +HTIMEL equ $4207 +HTIMEH equ $4208 +VTIMEL equ $4209 +VTIMEH equ $420A +MDMAEN equ $420B +HDMAEN equ $420C +MEMSEL equ $420D +RDNMI equ $4210 +TIMEUP equ $4211 +HVBJOY equ $4212 +RDIO equ $4213 +RDDIVL equ $4214 +RDDIVH equ $4215 +RDMPYL equ $4216 +RDMPYH equ $4217 +JOY1L equ $4218 +JOY1H equ $4219 +JOY2L equ $421A +JOY2H equ $421B +JOY3L equ $421C +JOY3H equ $421D +JOY4L equ $421E +JOY4H equ $421F + +DMAP0 equ $4300 +BBAD0 equ $4301 +A1T0L equ $4302 +A1T0H equ $4303 +A1B0 equ $4304 +DAS0L equ $4305 +DAS0H equ $4306 +DASB0 equ $4307 +A2A0L equ $4308 +A2A0H equ $4309 +NTLR0 equ $430A + +DMAP1 equ $4310 +BBAD1 equ $4311 +A1T1L equ $4312 +A1T1H equ $4313 +A1B1 equ $4314 +DAS1L equ $4315 +DAS1H equ $4316 +DASB1 equ $4317 +A2A1L equ $4318 +A2A1H equ $4319 +NTLR1 equ $431A + +DMAP2 equ $4320 +BBAD2 equ $4321 +A1T2L equ $4322 +A1T2H equ $4323 +A1B2 equ $4324 +DAS2L equ $4325 +DAS2H equ $4326 +DASB2 equ $4327 +A2A2L equ $4328 +A2A2H equ $4329 +NTLR2 equ $432A + +DMAP3 equ $4330 +BBAD3 equ $4331 +A1T3L equ $4332 +A1T3H equ $4333 +A1B3 equ $4334 +DAS3L equ $4335 +DAS3H equ $4336 +DASB3 equ $4337 +A2A3L equ $4338 +A2A3H equ $4339 +NTLR3 equ $433A + +DMAP4 equ $4340 +BBAD4 equ $4341 +A1T4L equ $4342 +A1T4H equ $4343 +A1B4 equ $4344 +DAS4L equ $4345 +DAS4H equ $4346 +DASB4 equ $4347 +A2A4L equ $4348 +A2A4H equ $4349 +NTLR4 equ $434A + +DMAP5 equ $4350 +BBAD5 equ $4351 +A1T5L equ $4352 +A1T5H equ $4353 +A1B5 equ $4354 +DAS5L equ $4355 +DAS5H equ $4356 +DASB5 equ $4357 +A2A5L equ $4358 +A2A5H equ $4359 +NTLR5 equ $435A + +DMAP6 equ $4360 +BBAD6 equ $4361 +A1T6L equ $4362 +A1T6H equ $4363 +A1B6 equ $4364 +DAS6L equ $4365 +DAS6H equ $4366 +DASB6 equ $4367 +A2A6L equ $4368 +A2A6H equ $4369 +NTLR6 equ $436A + +DMAP7 equ $4370 +BBAD7 equ $4371 +A1T7L equ $4372 +A1T7H equ $4373 +A1B7 equ $4374 +DAS7L equ $4375 +DAS7H equ $4376 +DASB7 equ $4377 +A2A7L equ $4378 +A2A7H equ $4379 +NTLR7 equ $437A -- cgit v1.2.3