-
Notifications
You must be signed in to change notification settings - Fork 1
/
Gank_Tank.noi
300 lines (300 loc) · 6.33 KB
/
Gank_Tank.noi
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
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
DEF .__.ABS. 0x0
DEF _rRAMG 0x0
DEF l__BASE 0x0
DEF l__BSS 0x0
DEF l__CABS 0x0
DEF l__CODE_0 0x0
DEF l__DABS 0x0
DEF l__FONT_HEADER 0x0
DEF l__HEADER 0x0
DEF l__HEADER_LCD 0x0
DEF l__HEAP 0x0
DEF l__HEAP_END 0x0
DEF l__HRAM 0x0
DEF l__LIT 0x0
DEF s__CABS 0x0
DEF s__DABS 0x0
DEF s__FONT_HEADER 0x0
DEF s__FONT_HEADER0 0x0
DEF s__HEADER 0x0
DEF s__HEADER0 0x0
DEF s__HEADER1 0x0
DEF s__HEADER10 0x0
DEF s__HEADER11 0x0
DEF s__HEADER2 0x0
DEF s__HEADER3 0x0
DEF s__HEADER4 0x0
DEF s__HEADER5 0x0
DEF s__HEADER6 0x0
DEF s__HEADER7 0x0
DEF s__HEADER8 0x0
DEF s__HEADER9 0x0
DEF s__HEADER_LCD 0x0
DEF s__HEADER_LCD0 0x0
DEF s__HEADERa 0x0
DEF s__HEADERb 0x0
DEF s__HEADERc 0x0
DEF s__HEADERd 0x0
DEF s__HEADERe 0x0
DEF s__HEADERf 0x0
DEF s__HRAM 0x0
DEF s__HRAM12 0x0
DEF l__GSFINAL 0x1
DEF l__HEADER0 0x1
DEF l__HEADER11 0x1
DEF l__HEADER9 0x1
DEF l__HEADERa 0x1
DEF l__HEADERb 0x1
DEF l__HEADERd 0x1
DEF l__HEADERe 0x1
DEF l__HEADER5 0x2
DEF l__HEADERc 0x2
DEF l__HEADERf 0x2
DEF l__FONT_HEADER0 0x3
DEF l__HEADER8 0x3
DEF l__HEADER_LCD0 0x3
DEF l__HRAM12 0x3
DEF l__HEADER1 0x5
DEF l__HEADER7 0x6
DEF l__HEADER2 0x7
DEF l__HEADER3 0x8
DEF l__GSINIT 0xC
DEF l__HEADER6 0x30
DEF l__DATA 0x39
DEF l__HEADER4 0x4C
DEF l__HEADER10 0x84
DEF s__CODE 0x200
DEF l__CODE 0x5AB
DEF s__HOME 0x7AB
DEF l__HOME 0x8C7
DEF l__INITIALIZED 0xACB
DEF l__INITIALIZER 0xACB
DEF s__BASE 0x1072
DEF s__CODE_0 0x1072
DEF s__INITIALIZER 0x1072
DEF s__LIT 0x1072
DEF s__GSINIT 0x1B3D
DEF s__GSFINAL 0x1B49
DEF _rROMB0 0x2000
DEF _rROMB1 0x3000
DEF _rRAMB 0x4000
DEF __VRAM 0x8000
DEF __VRAM8000 0x8000
DEF __VRAM8800 0x8800
DEF __VRAM9000 0x9000
DEF __SCRN0 0x9800
DEF __SCRN1 0x9C00
DEF __SRAM 0xA000
DEF __RAM 0xC000
DEF _shadow_OAM 0xC000
DEF s__DATA 0xC0A0
DEF s__BSS 0xC0D9
DEF s__INITIALIZED 0xC0D9
DEF s__HEAP 0xCBA4
DEF s__HEAP_END 0xCBA4
DEF __RAMBANK 0xD000
DEF .STACK 0xE000
DEF __OAMRAM 0xFE00
DEF _P1_REG 0xFF00
DEF __IO 0xFF00
DEF _SB_REG 0xFF01
DEF _SC_REG 0xFF02
DEF _DIV_REG 0xFF04
DEF _TIMA_REG 0xFF05
DEF _TMA_REG 0xFF06
DEF _TAC_REG 0xFF07
DEF _IF_REG 0xFF0F
DEF _NR10_REG 0xFF10
DEF _NR11_REG 0xFF11
DEF _NR12_REG 0xFF12
DEF _NR13_REG 0xFF13
DEF _NR14_REG 0xFF14
DEF _NR21_REG 0xFF16
DEF _NR22_REG 0xFF17
DEF _NR23_REG 0xFF18
DEF _NR24_REG 0xFF19
DEF _NR30_REG 0xFF1A
DEF _NR31_REG 0xFF1B
DEF _NR32_REG 0xFF1C
DEF _NR33_REG 0xFF1D
DEF _NR34_REG 0xFF1E
DEF _NR41_REG 0xFF20
DEF _NR42_REG 0xFF21
DEF _NR43_REG 0xFF22
DEF _NR44_REG 0xFF23
DEF _NR50_REG 0xFF24
DEF _NR51_REG 0xFF25
DEF _NR52_REG 0xFF26
DEF _AUD3WAVE 0xFF30
DEF _PCM_SAMPLE 0xFF30
DEF __AUD3WAVERAM 0xFF30
DEF _LCDC_REG 0xFF40
DEF _STAT_REG 0xFF41
DEF _SCY_REG 0xFF42
DEF _SCX_REG 0xFF43
DEF _LY_REG 0xFF44
DEF _LYC_REG 0xFF45
DEF _DMA_REG 0xFF46
DEF _BGP_REG 0xFF47
DEF _OBP0_REG 0xFF48
DEF _OBP1_REG 0xFF49
DEF _WY_REG 0xFF4A
DEF _WX_REG 0xFF4B
DEF _KEY1_REG 0xFF4D
DEF _VBK_REG 0xFF4F
DEF _HDMA1_REG 0xFF51
DEF _HDMA2_REG 0xFF52
DEF _HDMA3_REG 0xFF53
DEF _HDMA4_REG 0xFF54
DEF _HDMA5_REG 0xFF55
DEF _RP_REG 0xFF56
DEF _BCPS_REG 0xFF68
DEF _BCPD_REG 0xFF69
DEF _OCPS_REG 0xFF6A
DEF _OCPD_REG 0xFF6B
DEF _SVBK_REG 0xFF70
DEF _PCM12_REG 0xFF76
DEF _PCM34_REG 0xFF77
DEF .refresh_OAM 0xFF80
DEF __HRAM 0xFF80
DEF _IE_REG 0xFFFF
DEF _detectar_colision 0x200
DEF _pantalla_inicio 0x2B7
DEF _mostrar_game_over 0x304
DEF _acutalizar_score 0x39B
DEF _main 0x3E0
DEF __divsuchar 0x6BF
DEF __modsuchar 0x6C5
DEF __divuschar 0x6CE
DEF __moduschar 0x6D7
DEF __divschar 0x6E4
DEF __modschar 0x6E9
DEF __divsint 0x6F0
DEF __modsint 0x6F9
DEF __divuchar 0x705
DEF __moduchar 0x70A
DEF __divuint 0x711
DEF __moduint 0x71A
DEF .div8 0x726
DEF .mod8 0x726
DEF .div16 0x72E
DEF .mod16 0x72E
DEF .divu8 0x764
DEF .modu8 0x764
DEF .divu16 0x767
DEF .modu16 0x767
DEF ___crlf 0x7A7
DEF .call_hl 0x20
DEF .MemsetSmall 0x28
DEF .MemcpySmall 0x30
DEF .int 0x80
DEF _wait_int_handler 0x8F
DEF __standard_VBL_handler 0x9C
DEF _refresh_OAM 0xAC
DEF .reset 0x150
DEF _reset 0x150
DEF .code_start 0x157
DEF _exit 0x1B9
DEF _set_interrupts 0x1BD
DEF .memset_simple 0x7AB
DEF .memcpy_simple 0x7B4
DEF .remove_VBL 0x7D1
DEF .remove_int 0x7D4
DEF .add_VBL 0x7F1
DEF .add_int 0x7F4
DEF .wait_vbl_done 0x7FF
DEF _wait_vbl_done 0x7FF
DEF .display_off 0x80F
DEF _display_off 0x80F
DEF _remove_VBL 0x827
DEF _add_VBL 0x832
DEF .padup 0x83D
DEF _waitpadup 0x83D
DEF .jpad 0x84D
DEF _joypad 0x84D
DEF _waitpad 0x875
DEF .wait_pad 0x876
DEF _set_win_tiles 0x87D
DEF _set_tile_data 0x891
DEF _set_bkg_data 0x896
DEF _set_win_data 0x896
DEF _set_sprite_data 0x89E
DEF _puts 0x8CE
DEF .delay 0x8F1
DEF _delay 0x8F1
DEF _set_bkg_tiles 0x91D
DEF .set_xy_wtt 0x931
DEF .set_xy_btt 0x93A
DEF .set_xy_tt 0x949
DEF _font_load_ibm 0x98B
DEF font_load 0x992
DEF font_copy_current 0x9DA
DEF font_set 0xA10
DEF .put_char 0xA1D
DEF .out_char 0xA35
DEF .del_char 0xA3B
DEF _putchar 0xA91
DEF _setchar 0xA9A
DEF _font_load 0xAA3
DEF _font_set 0xAB1
DEF _font_init 0xAC0
DEF .cls 0xADF
DEF _cls 0xADF
DEF _gotoxy 0xB01
DEF _posx 0xB0C
DEF _posy 0xB1D
DEF .cr_curs 0xB45
DEF .adv_curs 0xB5A
DEF .tmode 0xBB6
DEF .tmode_out 0xBDF
DEF _color 0xBE8
DEF _set_1bpp_colors_ex 0xBE8
DEF .drawing_vbl 0xBF7
DEF .drawing_lcd 0xC02
DEF _add_LCD 0xC3E
DEF .add_LCD 0xC49
DEF _remove_LCD 0xC4F
DEF .remove_LCD 0xC5A
DEF _font_ibm 0xC60
DEF _set_bkg_1bpp_data 0x1012
DEF _set_win_1bpp_data 0x1012
DEF _set_sprite_1bpp_data 0x101A
DEF gsinit 0x1B3D
DEF __cpu 0xC0A0
DEF __is_GBA 0xC0A1
DEF .mode 0xC0A2
DEF .sys_time 0xC0A3
DEF _sys_time 0xC0A3
DEF .int_0x40 0xC0A5
DEF _plx 0xC0B1
DEF _ply 0xC0B2
DEF _score 0xC0B3
DEF _bullet 0xC0B5
DEF _enemigo 0xC0B8
DEF font_current 0xC0BB
DEF font_first_free_tile 0xC0BE
DEF font_table 0xC0BF
DEF .int_0x48 0xC0D1
DEF _TileLabel 0xC0D9
DEF _mapalabel 0xC239
DEF _Nivel1Label 0xC339
DEF _titlelabel 0xC4C9
DEF _PantallaLabel 0xC719
DEF _finLabel 0xC8A9
DEF _gameoverLabel 0xC9F9
DEF _direction 0xCB89
DEF _direction_bala 0xCB8A
DEF _direccion_enemigo 0xCB8B
DEF _game_over 0xCB8C
DEF _Mensaje 0xCB8E
DEF _Numeros 0xCB94
DEF __map_tile_offset 0xCB9E
DEF .curx 0xCB9F
DEF .cury 0xCBA0
DEF .fg_colour 0xCBA1
DEF __current_1bpp_colors 0xCBA1
DEF .bg_colour 0xCBA2
DEF .draw_mode 0xCBA3
DEF __current_bank 0xFF90
DEF __shadow_OAM_base 0xFF92
LOAD Gank_Tank.ihx