-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.map
440 lines (440 loc) · 7.34 KB
/
main.map
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
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
AREA . .ABS.
RADIX HEX
BASE 0000
SIZE 0000
ATTRIB ABS OVR
GLOBALS
l__HEAP 0000
l__BSEG 0000
l_. .ABS. 0000
l__GSFINAL 0000
l__ISEG 0000
s_. .ABS. 0000
s__HEADER 0000
l__XSEG 0000
.init 0000
l__OVERLAY 0000
l__LIT 0000
s__SFR 0000
l__GSINITTAIL 0001
l__BSS 0087
l__HEADER 01EB
s__CODE 0200
l__HOME 04AF
l__DATA 04B8
l__BASE 10E6
l__GSINIT 1B58
l__CODE 204A
s__HOME 224A
s__BASE 26F9
s__LIT 37DF
s__GSINIT 37DF
s__GSINITTAIL 5337
s__GSFINAL 5338
.OAM C000
s__DATA C0A0
s__BSS C558
s__HEAP C5DF
s__BSEG C5DF
s__ISEG C5DF
s__XSEG C5DF
s__OVERLAY C5DF
.STACK E000
.refresh_OAM FF80
l__SFR 10000
AREA _CODE
RADIX HEX
BASE 0200
SIZE 204A
ATTRIB REL CON
GLOBALS
_performant_delay 0200
_animate_sprite 0214
_reset_player 02A7
_fadeout 02EF
_fadein 0344
_set_volume 038F
_play_sound 039C
_generate 03B1
_reset_block 03EE
_P1 03EF
_generate_level 03F1
_set_level_attributes 0401
_level_complete 04B6
_allow_player_move 056A
_player_control 0751
_load_start_up 0906
_main_screen_data 094C
_main_screen_map 187C
_main 19E4
_putchar 1AD9
_setchar 1AE2
_gotoxy 1AEB
_posx 1AF6
_posy 1B07
.adv_gcurs 1B18
.circle 1B35
.horlin 1BD8
.verlin 1C10
.circplot 1C6C
.box 1CEA
.line 1DC0
.xonly 1EE1
.yonly 2030
.plot 2051
.wrbyte 206E
.getpix 20F0
.wrtchr 2125
_gotogxy 2189
_wrtchr 2194
_getpix 21A9
_color 21B5
_circle 21C4
_box 21DE
_line 2202
_plot_point 221A
_plot 222E
AREA _HEADER
RADIX HEX
BASE 0000
SIZE 01EB
ATTRIB ABS OVR
GLOBALS
_exit 01D2
AREA _HOME
RADIX HEX
BASE 224A
SIZE 04AF
ATTRIB REL CON
GLOBALS
.set_mode 224A
.remove_VBL 225A
.remove_LCD 2260
.remove_TIM 2266
.remove_SIO 226C
.remove_JOY 2272
.add_VBL 2278
.add_LCD 227E
.add_TIM 2284
.add_SIO 228A
.add_JOY 2290
.remove_int 2296
.add_int 22B6
.wait_vbl_done 22D2
_wait_vbl_done 22D2
_display_off 22E9
.display_off 22E9
.serial_IO 230A
_mode 2339
_get_mode 2342
_enable_interrupts 2347
_disable_interrupts 2349
_reset 234B
.reset 234B
_set_interrupts 2351
_remove_VBL 235C
_remove_LCD 2367
_remove_TIM 2372
_remove_SIO 237D
_remove_JOY 2388
_add_VBL 2393
_add_LCD 239E
_add_TIM 23A9
_add_SIO 23B4
_add_JOY 23BF
_clock 23CA
__printTStates 23D3
banked_call 23D4
banked_ret 23ED
_printf 23F6
_sprintf 2425
AREA _BASE
RADIX HEX
BASE 26F9
SIZE 10E6
ATTRIB REL CON
GLOBALS
.padup 26F9
_waitpadup 26F9
.jpad 2709
.wait_pad 2736
_joypad 273D
_waitpad 2742
.mv_sprite 274C
_move_sprite 275B
__mulschar 2768
__muluchar 2768
__mulsint 2774
__muluint 2774
.mulu16 2788
.mul16 2788
_set_win_data 279E
_set_bkg_data 279E
_set_sprite_data 27EB
.scroll_sprite 281A
_scroll_sprite 282B
.set_sprite_tile 2838
_set_sprite_tile 2845
__modslong 2850
__divslong 2850
__mulslong 2850
__divschar 2851
__modschar 285D
__divsint 2868
__modsint 2879
__divuchar 2888
__moduchar 2894
__divuint 289F
__moduint 28B0
.mod8 28BF
.div8 28BF
.mod16 28C7
.div16 28C7
.modu8 28FD
.divu8 28FD
.modu16 2900
.divu16 2900
.copy_vram 293D
_get_data 294C
_set_data 294C
_set_bkg_tiles 295F
font_copy_uncompressed 2973
font_copy_compressed 29A9
font_load 29FE
font_copy_current 2A46
font_set 2A8E
.put_char 2A9B
.out_char 2AB4
.del_char 2ABB
_font_load 2B16
_font_set 2B24
_font_init 2B33
_cls 2B55
.cls 2B55
.cr_curs 2B87
.adv_curs 2B9C
.tmode 2BF8
.tmode_out 2C21
_font_load_ibm_fixed 2C31
_font_ibm_fixed 2C38
_font_ibm_fixed_tiles 2D3A
.gmode 353A
.vbl 359C
.lcd 35A7
.draw_image 35B4
.switch_data 35BE
_switch_data 35F5
_draw_image 3610
.y_table 3623
.set_xy_wtt 3743
.set_xy_btt 3754
.set_xy_tt 3763
_set_tiles 3794
.init_vram 37AD
.init_wtt 37BB
.init_btt 37CB
.init_tt 37D9
AREA _LIT
RADIX HEX
BASE 37DF
SIZE 0000
ATTRIB REL CON
AREA _GSINIT
RADIX HEX
BASE 37DF
SIZE 1B58
ATTRIB REL CON
GLOBALS
gsinit 37DF
AREA _GSINITTAIL
RADIX HEX
BASE 5337
SIZE 0001
ATTRIB REL CON
AREA _GSFINAL
RADIX HEX
BASE 5338
SIZE 0000
ATTRIB REL CON
AREA _DATA
RADIX HEX
BASE C0A0
SIZE 04B8
ATTRIB REL CON
GLOBALS
_player C0A0
_maze_map C0B0
_maze_map_two C218
_maze_map_three C380
_fade_i C4E8
_maze_sprites C4E9
_level_1 C529
_level_2 C535
_level_3 C541
_levels C54D
_level_num C553
_haskey C554
_debug C555
_playerlocation C556
AREA _BSS
RADIX HEX
BASE C558
SIZE 0087
ATTRIB REL CON
GLOBALS
__cpu C558
.mode C559
__io_out C55A
__io_in C55B
__io_status C55C
.vbl_done C55D
__current_bank C55E
_sys_time C55F
.sys_time C55F
.int_0x40 C561
.int_0x48 C571
.int_0x50 C581
.int_0x58 C591
.int_0x60 C5A1
font_current C5B4
font_first_free_tile C5B7
font_table C5B8
.curx C5CA
.cury C5CB
.fg_colour C5CC
.bg_colour C5CD
AREA _HEAP
RADIX HEX
BASE C5DF
SIZE 0000
ATTRIB REL CON
GLOBALS
_malloc_heap_start C5DF
AREA _OVERLAY
RADIX HEX
BASE C5DF
SIZE 0000
ATTRIB REL CON
AREA _ISEG
RADIX HEX
BASE C5DF
SIZE 0000
ATTRIB REL CON
AREA _BSEG
RADIX HEX
BASE C5DF
SIZE 0000
ATTRIB REL CON
AREA _XSEG
RADIX HEX
BASE C5DF
SIZE 0000
ATTRIB REL CON
AREA _SFR
RADIX HEX
BASE 0000
SIZE 10000
ATTRIB ABS OVR
GLOBALS
_P1_REG FF00
_SB_REG FF01
_SC_REG FF02
_DIV_REG FF04
_TIMA_REG FF05
_TMA_REG FF06
_TAC_REG FF07
_IF_REG FF0F
_NR10_REG FF10
_NR11_REG FF11
_NR12_REG FF12
_NR13_REG FF13
_NR14_REG FF14
_NR21_REG FF16
_NR22_REG FF17
_NR23_REG FF18
_NR24_REG FF19
_NR30_REG FF1A
_NR31_REG FF1B
_NR32_REG FF1C
_NR33_REG FF1D
_NR34_REG FF1E
_NR41_REG FF20
_NR42_REG FF21
_NR43_REG FF22
_NR44_REG FF23
_NR50_REG FF24
_NR51_REG FF25
_NR52_REG FF26
_LCDC_REG FF40
_STAT_REG FF41
_SCY_REG FF42
_SCX_REG FF43
_LY_REG FF44
_LYC_REG FF45
_DMA_REG FF46
_BGP_REG FF47
_OBP0_REG FF48
_OBP1_REG FF49
_WY_REG FF4A
_WX_REG FF4B
_KEY1_REG FF4D
_VBK_REG FF4F
_HDMA1_REG FF51
_HDMA2_REG FF52
_HDMA3_REG FF53
_HDMA4_REG FF54
_HDMA5_REG FF55
_RP_REG FF56
_BCPS_REG FF68
_BCPD_REG FF69
_OCPS_REG FF6A
_OCPD_REG FF6B
_SVBK_REG FF70
_IE_REG FFFF
MODULES
FILE c:\gbdk\lib/small/asxxxx/gb/crt0.o
NAME Runtime
FILE main.o
NAME lcc202840
LIBRARIES
LIBRARY c:\gbdk\lib/small/asxxxx/gb/gb.lib
MODULE sfr.o
LIBRARY c:\gbdk\lib/small/asxxxx/gb/gb.lib
MODULE pad.o
LIBRARY c:\gbdk\lib/small/asxxxx/gb/gb.lib
MODULE mv_spr.o
LIBRARY c:\gbdk\lib/small/asxxxx/gbz80/gbz80.lib
MODULE mul.o
LIBRARY c:\gbdk\lib/small/asxxxx/gb/gb.lib
MODULE set_data.o
LIBRARY c:\gbdk\lib/small/asxxxx/gb/gb.lib
MODULE scroll_s.o
LIBRARY c:\gbdk\lib/small/asxxxx/gb/gb.lib
MODULE set_spr.o
LIBRARY c:\gbdk\lib/small/asxxxx/gbz80/gbz80.lib
MODULE printf.o
LIBRARY c:\gbdk\lib/small/asxxxx/gbz80/gbz80.lib
MODULE div.o
LIBRARY c:\gbdk\lib/small/asxxxx/gb/gb.lib
MODULE cpy_data.o
LIBRARY c:\gbdk\lib/small/asxxxx/gb/gb.lib
MODULE set_bk_t.o
LIBRARY c:\gbdk\lib/small/asxxxx/gb/gb.lib
MODULE font.o
LIBRARY c:\gbdk\lib/small/asxxxx/gb/gb.lib
MODULE ibmfixed.o
LIBRARY c:\gbdk\lib/small/asxxxx/gb/gb.lib
MODULE drawing.o
LIBRARY c:\gbdk\lib/small/asxxxx/gb/gb.lib
MODULE set_xy_t.o
LIBRARY c:\gbdk\lib/small/asxxxx/gb/gb.lib
MODULE init_tt.o
USERBASEDEF
_CODE=0x0200
_DATA=0xC0A0
_CODE_1=0x4000
USERGLOBALDEF
.OAM=0xC000
.STACK=0xE000
.refresh_OAM=0xFF80
.init=0x0000