-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.map
305 lines (305 loc) · 5.1 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
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 0059
l__CODE 0162
l__BASE 01A3
l__HOME 01AC
l__HEADER 01E1
s__CODE 0200
s__HOME 0362
l__DATA 049E
s__BASE 050E
s__LIT 06B1
s__GSINIT 06B1
l__GSINIT 1BA8
s__GSINITTAIL 2259
s__GSFINAL 225A
.OAM C000
s__DATA C0A0
s__BSS C53E
s__HEAP C597
s__BSEG C597
s__ISEG C597
s__XSEG C597
s__OVERLAY C597
.STACK E000
.refresh_OAM FF80
l__SFR 10000
AREA _CODE
RADIX HEX
BASE 0200
SIZE 0162
ATTRIB REL CON
GLOBALS
_main 0200
_init 0210
_updateSwitches 0290
_checkInput 02A3
AREA _HEADER
RADIX HEX
BASE 0000
SIZE 01E1
ATTRIB ABS OVR
GLOBALS
_exit 01D2
AREA _HOME
RADIX HEX
BASE 0362
SIZE 01AC
ATTRIB REL CON
GLOBALS
.set_mode 0362
.remove_VBL 0372
.remove_LCD 0378
.remove_TIM 037E
.remove_SIO 0384
.remove_JOY 038A
.add_VBL 0390
.add_LCD 0396
.add_TIM 039C
.add_SIO 03A2
.add_JOY 03A8
.remove_int 03AE
.add_int 03CE
.wait_vbl_done 03EA
_wait_vbl_done 03EA
_display_off 0401
.display_off 0401
.serial_IO 0422
_mode 0451
_get_mode 045A
_enable_interrupts 045F
_disable_interrupts 0461
_reset 0463
.reset 0463
_set_interrupts 0469
_remove_VBL 0474
_remove_LCD 047F
_remove_TIM 048A
_remove_SIO 0495
_remove_JOY 04A0
_add_VBL 04AB
_add_LCD 04B6
_add_TIM 04C1
_add_SIO 04CC
_add_JOY 04D7
_clock 04E2
__printTStates 04EB
banked_call 04EC
banked_ret 0505
AREA _BASE
RADIX HEX
BASE 050E
SIZE 01A3
ATTRIB REL CON
GLOBALS
.mv_sprite 050E
_move_sprite 051D
_set_win_data 052A
_set_bkg_data 052A
_set_sprite_data 0577
.padup 05A6
_waitpadup 05A6
.jpad 05B6
.wait_pad 05E3
_joypad 05EA
_waitpad 05EF
.set_sprite_tile 05F9
_set_sprite_tile 0606
.copy_vram 0611
_get_data 0620
_set_data 0620
_set_bkg_tiles 0633
.set_xy_wtt 0647
.set_xy_btt 0658
.set_xy_tt 0667
_set_tiles 0698
AREA _LIT
RADIX HEX
BASE 06B1
SIZE 0000
ATTRIB REL CON
AREA _GSINIT
RADIX HEX
BASE 06B1
SIZE 1BA8
ATTRIB REL CON
GLOBALS
gsinit 06B1
AREA _GSINITTAIL
RADIX HEX
BASE 2259
SIZE 0001
ATTRIB REL CON
AREA _GSFINAL
RADIX HEX
BASE 225A
SIZE 0000
ATTRIB REL CON
AREA _DATA
RADIX HEX
BASE C0A0
SIZE 049E
ATTRIB REL CON
GLOBALS
_alpha C0A0
_helloWorld C3A0
_blankScreen C3B4
_sprites C51C
_player C53C
AREA _BSS
RADIX HEX
BASE C53E
SIZE 0059
ATTRIB REL CON
GLOBALS
__cpu C53E
.mode C53F
__io_out C540
__io_in C541
__io_status C542
.vbl_done C543
__current_bank C544
_sys_time C545
.sys_time C545
.int_0x40 C547
.int_0x48 C557
.int_0x50 C567
.int_0x58 C577
.int_0x60 C587
AREA _HEAP
RADIX HEX
BASE C597
SIZE 0000
ATTRIB REL CON
GLOBALS
_malloc_heap_start C597
AREA _OVERLAY
RADIX HEX
BASE C597
SIZE 0000
ATTRIB REL CON
AREA _ISEG
RADIX HEX
BASE C597
SIZE 0000
ATTRIB REL CON
AREA _BSEG
RADIX HEX
BASE C597
SIZE 0000
ATTRIB REL CON
AREA _XSEG
RADIX HEX
BASE C597
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 lcc29000
LIBRARIES
LIBRARY C:\gbdk\lib/small/asxxxx/gb/gb.lib
MODULE sfr.o
LIBRARY C:\gbdk\lib/small/asxxxx/gb/gb.lib
MODULE mv_spr.o
LIBRARY C:\gbdk\lib/small/asxxxx/gb/gb.lib
MODULE set_data.o
LIBRARY C:\gbdk\lib/small/asxxxx/gb/gb.lib
MODULE pad.o
LIBRARY C:\gbdk\lib/small/asxxxx/gb/gb.lib
MODULE set_spr.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 set_xy_t.o
USERBASEDEF
_CODE=0x0200
_DATA=0xC0A0
_CODE_1=0x4000
USERGLOBALDEF
.OAM=0xC000
.STACK=0xE000
.refresh_OAM=0xFF80
.init=0x0000