From 333202acb1d4297cf7d75d875d2c40bb33169b48 Mon Sep 17 00:00:00 2001 From: Brian Buller Date: Mon, 13 Jul 2020 07:27:03 -0500 Subject: [PATCH] Add everything that gitignore removed --- background/background.map | 217 ++++++++ background/background.o | 381 ++++++++++++++ background/bg_data.map | 19 + beep/beep.map | 325 ++++++++++++ beep/main.o | 41 ++ big_sprite/big_sprite.map | 219 ++++++++ big_sprite/big_sprite.o | 42 ++ big_sprite_animation/big_sprite_animation.map | 223 +++++++++ big_sprite_animation/big_sprite_animation.o | 59 +++ blank/blank.map | 194 ++++++++ blank/blank.o | 15 + hello_world/hello_world.map | 305 ++++++++++++ hello_world/hello_world.o | 22 + input_state/input_state.map | 318 ++++++++++++ input_state/input_state.o | 53 ++ input_wait/input_wait.map | 313 ++++++++++++ input_wait/input_wait.o | 36 ++ move_sprite/move_sprite.map | 231 +++++++++ move_sprite/move_sprite.o | 68 +++ small_sprite/small_sprite.map | 221 ++++++++ small_sprite/small_sprite.o | 36 ++ small_sprite/sprite.o | 18 + window/bg.map | 19 + window/main.o | 470 ++++++++++++++++++ window/window.map | 225 +++++++++ .../background/bg_data.map | 29 ++ z_gbdk_playground_original/color/bg_data.map | 29 ++ .../simple_shmup/bg_title.map | 29 ++ z_gbdk_playground_original/window/bg.map | 29 ++ 29 files changed, 4186 insertions(+) create mode 100644 background/background.map create mode 100644 background/background.o create mode 100644 background/bg_data.map create mode 100644 beep/beep.map create mode 100644 beep/main.o create mode 100644 big_sprite/big_sprite.map create mode 100644 big_sprite/big_sprite.o create mode 100644 big_sprite_animation/big_sprite_animation.map create mode 100644 big_sprite_animation/big_sprite_animation.o create mode 100644 blank/blank.map create mode 100644 blank/blank.o create mode 100644 hello_world/hello_world.map create mode 100644 hello_world/hello_world.o create mode 100644 input_state/input_state.map create mode 100644 input_state/input_state.o create mode 100644 input_wait/input_wait.map create mode 100644 input_wait/input_wait.o create mode 100644 move_sprite/move_sprite.map create mode 100644 move_sprite/move_sprite.o create mode 100644 small_sprite/small_sprite.map create mode 100644 small_sprite/small_sprite.o create mode 100644 small_sprite/sprite.o create mode 100644 window/bg.map create mode 100644 window/main.o create mode 100644 window/window.map create mode 100644 z_gbdk_playground_original/background/bg_data.map create mode 100644 z_gbdk_playground_original/color/bg_data.map create mode 100644 z_gbdk_playground_original/simple_shmup/bg_title.map create mode 100644 z_gbdk_playground_original/window/bg.map diff --git a/background/background.map b/background/background.map new file mode 100644 index 0000000..2073dd9 --- /dev/null +++ b/background/background.map @@ -0,0 +1,217 @@ +AREA . .ABS. + RADIX HEX + BASE 0000 + SIZE 0000 + ATTRIB ABS OVR + GLOBALS + l__DATA 0000 + 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 + l__GSINIT 0000 + l__GSINITTAIL 0001 + l__BSS 0059 + l__BASE 011C + l__HOME 01AC + l__HEADER 01E1 + s__CODE 0200 + l__CODE 09F2 + s__HOME 0BF2 + s__BASE 0D9E + s__GSINITTAIL 0EBA + s__LIT 0EBA + s__GSINIT 0EBA + s__GSFINAL 0EBB + .OAM C000 + s__DATA C0A0 + s__BSS C0A0 + s__HEAP C0F9 + s__BSEG C0F9 + s__ISEG C0F9 + s__XSEG C0F9 + s__OVERLAY C0F9 + .STACK E000 + .refresh_OAM FF80 +AREA _CODE + RADIX HEX + BASE 0200 + SIZE 09F2 + ATTRIB REL CON + GLOBALS + _main 0200 + _tiledata 025A + _tilemap 0A8A +AREA _HEADER + RADIX HEX + BASE 0000 + SIZE 01E1 + ATTRIB ABS OVR + GLOBALS + _exit 01D2 +AREA _HOME + RADIX HEX + BASE 0BF2 + SIZE 01AC + ATTRIB REL CON + GLOBALS + .set_mode 0BF2 + .remove_VBL 0C02 + .remove_LCD 0C08 + .remove_TIM 0C0E + .remove_SIO 0C14 + .remove_JOY 0C1A + .add_VBL 0C20 + .add_LCD 0C26 + .add_TIM 0C2C + .add_SIO 0C32 + .add_JOY 0C38 + .remove_int 0C3E + .add_int 0C5E + .wait_vbl_done 0C7A + _wait_vbl_done 0C7A + _display_off 0C91 + .display_off 0C91 + .serial_IO 0CB2 + _mode 0CE1 + _get_mode 0CEA + _enable_interrupts 0CEF + _disable_interrupts 0CF1 + _reset 0CF3 + .reset 0CF3 + _set_interrupts 0CF9 + _remove_VBL 0D04 + _remove_LCD 0D0F + _remove_TIM 0D1A + _remove_SIO 0D25 + _remove_JOY 0D30 + _add_VBL 0D3B + _add_LCD 0D46 + _add_TIM 0D51 + _add_SIO 0D5C + _add_JOY 0D67 + _clock 0D72 + __printTStates 0D7B + banked_call 0D7C + banked_ret 0D95 +AREA _BASE + RADIX HEX + BASE 0D9E + SIZE 011C + ATTRIB REL CON + GLOBALS + _set_win_data 0D9E + _set_bkg_data 0D9E + _set_sprite_data 0DEB + .copy_vram 0E1A + _get_data 0E29 + _set_data 0E29 + _set_bkg_tiles 0E3C + .set_xy_wtt 0E50 + .set_xy_btt 0E61 + .set_xy_tt 0E70 + _set_tiles 0EA1 +AREA _LIT + RADIX HEX + BASE 0EBA + SIZE 0000 + ATTRIB REL CON +AREA _GSINIT + RADIX HEX + BASE 0EBA + SIZE 0000 + ATTRIB REL CON + GLOBALS + gsinit 0EBA +AREA _GSINITTAIL + RADIX HEX + BASE 0EBA + SIZE 0001 + ATTRIB REL CON +AREA _GSFINAL + RADIX HEX + BASE 0EBB + SIZE 0000 + ATTRIB REL CON +AREA _DATA + RADIX HEX + BASE C0A0 + SIZE 0000 + ATTRIB REL CON +AREA _BSS + RADIX HEX + BASE C0A0 + SIZE 0059 + ATTRIB REL CON + GLOBALS + __cpu C0A0 + .mode C0A1 + __io_out C0A2 + __io_in C0A3 + __io_status C0A4 + .vbl_done C0A5 + __current_bank C0A6 + _sys_time C0A7 + .sys_time C0A7 + .int_0x40 C0A9 + .int_0x48 C0B9 + .int_0x50 C0C9 + .int_0x58 C0D9 + .int_0x60 C0E9 +AREA _HEAP + RADIX HEX + BASE C0F9 + SIZE 0000 + ATTRIB REL CON + GLOBALS + _malloc_heap_start C0F9 +AREA _OVERLAY + RADIX HEX + BASE C0F9 + SIZE 0000 + ATTRIB REL CON +AREA _ISEG + RADIX HEX + BASE C0F9 + SIZE 0000 + ATTRIB REL CON +AREA _BSEG + RADIX HEX + BASE C0F9 + SIZE 0000 + ATTRIB REL CON +AREA _XSEG + RADIX HEX + BASE C0F9 + SIZE 0000 + ATTRIB REL CON +MODULES + FILE /home/brbuller/opt/gbdk/lib/small/asxxxx/gb/crt0.o + NAME Runtime + FILE background.o + NAME lcc2248360 +LIBRARIES + LIBRARY /home/brbuller/opt/gbdk/lib/small/asxxxx/gb/gb.lib + MODULE set_data.o + LIBRARY /home/brbuller/opt/gbdk/lib/small/asxxxx/gb/gb.lib + MODULE cpy_data.o + LIBRARY /home/brbuller/opt/gbdk/lib/small/asxxxx/gb/gb.lib + MODULE set_bk_t.o + LIBRARY /home/brbuller/opt/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 diff --git a/background/background.o b/background/background.o new file mode 100644 index 0000000..ddf9a48 --- /dev/null +++ b/background/background.o @@ -0,0 +1,381 @@ +XL +H 9 areas 5 global symbols +M lcc2248360 +S _set_bkg_data Ref0000 +S _set_bkg_tiles Ref0000 +A _CODE size 9F2 flags 0 +S _main Def0000 +S _tilemap Def088A +S _tiledata Def005A +A _DATA size 0 flags 0 +A _OVERLAY size 0 flags 0 +A _ISEG size 0 flags 0 +A _BSEG size 0 flags 0 +A _XSEG size 0 flags 0 +A _GSINIT size 0 flags 0 +A _GSFINAL size 0 flags 0 +A _HOME size 0 flags 0 +T 00 00 E8 FD 21 5A 00 E5 21 00 83 E5 CD 00 00 E8 +R 00 00 00 00 00 05 00 00 02 0D 00 00 +T 0E 00 04 01 4F FF 3E 01 02 01 4F FF 3E 00 02 21 +R 00 00 00 00 +T 1C 00 8A 08 E5 21 14 12 E5 21 00 00 E5 CD 00 00 +R 00 00 00 00 00 02 00 00 02 0E 01 00 +T 2A 00 E8 06 01 40 FF F8 01 36 40 23 36 FF 2B 5E +R 00 00 00 00 +T 38 00 23 56 1A 2B 2B 77 7F F6 01 02 01 40 FF 23 +R 00 00 00 00 +T 46 00 36 40 23 36 FF 2B 5E 23 56 1A 2B 2B 77 7F +R 00 00 00 00 +T 54 00 F6 80 02 E8 03 C9 00 00 00 00 00 00 00 00 +R 00 00 00 00 +T 62 00 00 00 00 00 00 00 00 00 DF DF C1 C1 C0 C0 +R 00 00 00 00 +T 70 00 C0 C0 E0 E0 E0 E0 E0 E0 E0 E0 FF FF FF FF +R 00 00 00 00 +T 7E 00 FF FF 3F 3F 0F 0F 01 01 00 00 00 00 FF FF +R 00 00 00 00 +T 8C 00 FF FF FF FF FF FF FF FF FF FF 7F 7F 1F 1F +R 00 00 00 00 +T 9A 00 FF FF FF FF FF FF FF FF FF FF FF FF FF FF +R 00 00 00 00 +T A8 00 FF FF FF FF FF FF FF FF FF FF FF FF FF FF +R 00 00 00 00 +T B6 00 FE FE F8 F8 FE FE FC FC F8 F8 F0 F0 C0 C0 +R 00 00 00 00 +T C4 00 00 00 00 00 00 00 00 00 00 00 01 01 01 01 +R 00 00 00 00 +T D2 00 03 03 07 07 07 07 0F 0F E0 E0 E0 E0 F0 F0 +R 00 00 00 00 +T E0 00 F0 F0 F0 F0 F8 F8 F8 F8 F8 F8 03 03 00 00 +R 00 00 00 00 +T EE 00 00 00 00 00 00 00 00 00 00 00 00 00 FF FF +R 00 00 00 00 +T FC 00 0F 0F 00 00 00 00 00 00 00 00 00 00 00 00 +R 00 00 00 00 +T 0A 01 FF FF FF FF 7F 7F 07 07 00 00 00 00 00 00 +R 00 00 00 00 +T 18 01 00 00 FF FF FF FF FF FF FF FF 7F 7F 0F 0F +R 00 00 00 00 +T 26 01 00 00 00 00 FF FF FF FF FF FF FF FF FF FF +R 00 00 00 00 +T 34 01 FF FF FF FF 0F 0F FF FF FF FF FF FF FF FF +R 00 00 00 00 +T 42 01 FF FF FF FF FF FF F8 F8 FF FF FF FF FF FF +R 00 00 00 00 +T 50 01 FF FF FF FF FF FF E0 E0 00 00 FF FF FF FF +R 00 00 00 00 +T 5E 01 FF FF FC FC F0 F0 00 00 00 00 00 00 E0 E0 +R 00 00 00 00 +T 6C 01 C0 C0 00 00 00 00 00 00 00 00 00 00 00 00 +R 00 00 00 00 +T 7A 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 +R 00 00 00 00 +T 88 01 01 01 0F 0F 1F 1F 3F 3F 3F 3F 7F 7F FF FF +R 00 00 00 00 +T 96 01 FF FF FF FF F8 F8 FC FC FC FC FC FC FC FC +R 00 00 00 00 +T A4 01 FC FC FC FC FE FE 00 00 00 00 00 00 00 00 +R 00 00 00 00 +T B2 01 40 40 40 40 C0 C0 80 80 FF FF 01 01 00 00 +R 00 00 00 00 +T C0 01 00 00 00 00 00 00 00 00 00 00 FF FF FF FF +R 00 00 00 00 +T CE 01 00 00 00 00 00 00 00 00 00 00 00 00 FF FF +R 00 00 00 00 +T DC 01 F0 F0 00 00 00 00 00 00 00 00 00 00 00 00 +R 00 00 00 00 +T EA 01 C0 C0 00 00 00 00 00 00 00 00 04 04 0C 0C +R 00 00 00 00 +T F8 01 18 18 01 01 03 03 07 07 07 07 0F 0F 0F 0F +R 00 00 00 00 +T 06 02 1F 1F 1F 1F FE FE FE FE FE FE FF FF FF FF +R 00 00 00 00 +T 14 02 FF FF FF FF FF FF 02 02 06 06 0C 0C 08 08 +R 00 00 00 00 +T 22 02 18 18 30 30 20 20 20 20 0C 0C 18 18 10 10 +R 00 00 00 00 +T 30 02 20 20 60 60 40 40 C0 C0 80 80 00 00 00 00 +R 00 00 00 00 +T 3E 02 00 00 00 00 01 01 03 03 02 02 04 04 30 30 +R 00 00 00 00 +T 4C 02 20 20 60 60 C0 C0 80 80 00 00 00 00 00 00 +R 00 00 00 00 +T 5A 02 3F 3F 3F 3F 3F 3F 7F 7F 7F 7F FF FF FF FF +R 00 00 00 00 +T 68 02 FF FF 00 00 00 00 80 80 80 80 80 80 80 80 +R 00 00 00 00 +T 76 02 80 80 80 80 00 00 00 00 00 00 00 00 01 01 +R 00 00 00 00 +T 84 02 02 02 02 02 06 06 40 40 C0 C0 80 80 80 80 +R 00 00 00 00 +T 92 02 80 80 00 00 00 00 00 00 01 01 02 02 06 06 +R 00 00 00 00 +T A0 02 08 08 18 18 30 30 60 60 40 40 08 08 18 18 +R 00 00 00 00 +T AE 02 30 30 60 60 40 40 C0 C0 80 80 00 00 00 00 +R 00 00 00 00 +T BC 02 01 01 01 01 03 03 03 03 03 03 07 07 07 07 +R 00 00 00 00 +T CA 02 C0 C0 C0 C0 C0 C0 C0 C0 C0 C0 C0 C0 C0 C0 +R 00 00 00 00 +T D8 02 C0 C0 04 04 08 08 08 08 10 10 30 30 20 20 +R 00 00 00 00 +T E6 02 00 00 00 00 00 00 01 01 03 03 02 02 06 06 +R 00 00 00 00 +T F4 02 04 04 08 08 18 18 80 80 80 80 00 00 00 00 +R 00 00 00 00 +T 02 03 00 00 00 00 00 00 00 00 02 02 02 02 06 06 +R 00 00 00 00 +T 10 03 04 04 0C 0C 18 18 10 10 20 20 00 00 00 00 +R 00 00 00 00 +T 1E 03 00 00 00 00 01 01 00 00 00 00 00 00 00 00 +R 00 00 00 00 +T 2C 03 00 00 00 00 00 00 80 80 C0 C0 20 20 18 18 +R 00 00 00 00 +T 3A 03 07 07 07 07 0F 0F 0F 0F 0F 0F 0F 0F 0F 0F +R 00 00 00 00 +T 48 03 0F 0F E0 E0 E0 E0 E0 E0 E0 E0 E0 E0 E0 E0 +R 00 00 00 00 +T 56 03 E0 E0 E0 E0 00 00 00 00 00 00 00 00 00 00 +R 00 00 00 00 +T 64 03 00 00 01 01 01 01 10 10 20 20 20 20 40 40 +R 00 00 00 00 +T 72 03 C0 C0 80 80 80 80 00 00 00 00 00 00 00 00 +R 00 00 00 00 +T 80 03 00 00 00 00 01 01 01 01 02 02 60 60 40 40 +R 00 00 00 00 +T 8E 03 40 40 C0 C0 80 80 00 00 00 00 00 00 0C 0C +R 00 00 00 00 +T 9C 03 02 02 01 01 00 00 00 00 00 00 00 00 00 00 +R 00 00 00 00 +T AA 03 00 00 00 00 80 80 80 80 60 60 18 18 04 04 +R 00 00 00 00 +T B8 03 03 03 1F 1F 1F 1F 1F 1F 1F 1F 1F 1F 1F 1F +R 00 00 00 00 +T C6 03 1F 1F 1F 1F E0 E0 E0 E0 E0 E0 E0 E0 E0 E0 +R 00 00 00 00 +T D4 03 F0 F0 F0 F0 F0 F0 02 02 06 06 0C 0C 08 08 +R 00 00 00 00 +T E2 03 18 18 30 30 20 20 40 40 02 02 06 06 0C 0C +R 00 00 00 00 +T F0 03 08 08 18 18 10 10 10 10 20 20 01 01 00 00 +R 00 00 00 00 +T FE 03 00 00 00 00 00 00 00 00 00 00 00 00 80 80 +R 00 00 00 00 +T 0C 04 60 60 30 30 18 18 0E 0E 01 01 00 00 00 00 +R 00 00 00 00 +T 1A 04 00 00 00 00 00 00 00 00 00 00 80 80 C0 C0 +R 00 00 00 00 +T 28 04 60 60 1F 1F 1F 1F 3F 3F 3F 3F 3F 3F 3F 3F +R 00 00 00 00 +T 36 04 3F 3F 3F 3F F0 F0 F0 F0 F0 F0 F0 F0 F0 F0 +R 00 00 00 00 +T 44 04 F0 F0 F0 F0 F0 F0 00 00 00 00 00 00 01 01 +R 00 00 00 00 +T 52 04 01 01 02 02 02 02 04 04 40 40 80 80 80 80 +R 00 00 00 00 +T 60 04 00 00 00 00 00 00 00 00 00 00 40 40 40 40 +R 00 00 00 00 +T 6E 04 80 80 00 00 00 00 00 00 00 00 00 00 1C 1C +R 00 00 00 00 +T 7C 04 06 06 01 01 00 00 00 00 00 00 00 00 00 00 +R 00 00 00 00 +T 8A 04 00 00 00 00 C0 C0 70 70 1C 1C 07 07 01 01 +R 00 00 00 00 +T 98 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 +R 00 00 00 00 +T A6 04 C0 C0 60 60 3F 3F 3F 3F 3F 3F 3F 3F 3F 3F +R 00 00 00 00 +T B4 04 3F 3F 1F 1F 1F 1F 08 08 10 10 10 10 10 10 +R 00 00 00 00 +T C2 04 20 20 20 20 40 40 40 40 0C 0C 08 08 10 10 +R 00 00 00 00 +T D0 04 10 10 30 30 60 60 40 40 40 40 00 00 01 01 +R 00 00 00 00 +T DE 04 01 01 03 03 02 02 04 04 04 04 08 08 80 80 +R 00 00 00 00 +T EC 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 +R 00 00 00 00 +T FA 04 01 01 01 01 01 01 02 02 04 04 04 04 08 08 +R 00 00 00 00 +T 08 05 10 10 00 00 00 00 0E 0E 01 01 00 00 00 00 +R 00 00 00 00 +T 16 05 00 00 00 00 00 00 00 00 00 00 00 00 80 80 +R 00 00 00 00 +T 24 05 40 40 30 30 08 08 1F 1F 1F 1F 0F 0F 0F 0F +R 00 00 00 00 +T 32 05 0F 0F 0F 0F 0F 0F 0F 0F 08 08 10 10 20 20 +R 00 00 00 00 +T 40 05 00 00 00 00 00 00 00 00 00 00 00 00 00 00 +R 00 00 00 00 +T 4E 05 00 00 00 00 00 00 00 00 03 03 02 02 10 10 +R 00 00 00 00 +T 5C 05 20 20 60 60 40 40 80 80 80 80 00 00 00 00 +R 00 00 00 00 +T 6A 05 0E 0E 01 01 00 00 00 00 00 00 00 00 00 00 +R 00 00 00 00 +T 78 05 00 00 00 00 80 80 60 60 38 38 0C 0C 07 07 +R 00 00 00 00 +T 86 05 00 00 00 00 00 00 00 00 00 00 00 00 00 00 +R 00 00 00 00 +T 94 05 80 80 E0 E0 30 30 07 07 07 07 07 07 07 07 +R 00 00 00 00 +T A2 05 07 07 03 03 03 03 03 03 F0 F0 F0 F0 F0 F0 +R 00 00 00 00 +T B0 05 F0 F0 F0 F0 F0 F0 E0 E0 E0 E0 02 02 04 04 +R 00 00 00 00 +T BE 05 08 08 18 18 10 10 20 20 40 40 40 40 18 18 +R 00 00 00 00 +T CC 05 06 06 03 03 00 00 00 00 00 00 00 00 00 00 +R 00 00 00 00 +T DA 05 00 00 00 00 80 80 C0 C0 20 20 1C 1C 06 06 +R 00 00 00 00 +T E8 05 03 03 03 03 01 01 01 01 01 01 01 01 01 01 +R 00 00 00 00 +T F6 05 01 01 00 00 00 00 00 00 01 01 02 02 02 02 +R 00 00 00 00 +T 04 06 04 04 08 08 08 08 00 00 00 00 00 00 00 00 +R 00 00 00 00 +T 12 06 00 00 01 01 00 00 00 00 00 00 00 00 00 00 +R 00 00 00 00 +T 20 06 00 00 00 00 C0 C0 78 78 07 07 C0 C0 60 60 +R 00 00 00 00 +T 2E 06 30 30 08 08 0E 0E 03 03 01 01 00 00 FF FF +R 00 00 00 00 +T 3C 06 FF FF FF FF FF FF FF FF 7F 7F 7F 7F 7F 7F +R 00 00 00 00 +T 4A 06 E0 E0 E0 E0 E0 E0 C0 C0 C0 C0 C0 C0 C0 C0 +R 00 00 00 00 +T 58 06 C0 C0 10 10 20 20 20 20 40 40 80 80 00 00 +R 00 00 00 00 +T 66 06 00 00 00 00 C0 C0 40 40 60 60 30 30 0C 0C +R 00 00 00 00 +T 74 06 02 02 03 03 00 00 00 00 00 00 00 00 00 00 +R 00 00 00 00 +T 82 06 00 00 00 00 80 80 E0 E0 18 18 0E 0E 03 03 +R 00 00 00 00 +T 90 06 00 00 00 00 00 00 00 00 00 00 00 00 00 00 +R 00 00 00 00 +T 9E 06 80 80 E0 E0 38 38 0E 0E 03 03 00 00 3F 3F +R 00 00 00 00 +T AC 06 3F 3F 3F 3F 3F 3F 1F 1F 1F 1F 0F 0F 0F 0F +R 00 00 00 00 +T BA 06 C0 C0 C0 C0 C0 C0 C0 C0 C0 C0 C0 C0 C0 C0 +R 00 00 00 00 +T C8 06 80 80 02 02 04 04 08 08 18 18 10 10 20 20 +R 00 00 00 00 +T D6 06 20 20 40 40 38 38 0C 0C 00 00 00 00 00 00 +R 00 00 00 00 +T E4 06 00 00 00 00 00 00 38 38 06 06 03 03 00 00 +R 00 00 00 00 +T F2 06 00 00 00 00 00 00 00 00 00 00 00 00 80 80 +R 00 00 00 00 +T 00 07 C0 C0 40 40 00 00 00 00 00 00 07 07 07 07 +R 00 00 00 00 +T 0E 07 03 03 03 03 03 03 01 01 01 01 00 00 80 80 +R 00 00 00 00 +T 1C 07 80 80 80 80 00 00 00 00 00 00 00 00 00 00 +R 00 00 00 00 +T 2A 07 00 00 01 01 03 03 00 00 00 00 00 00 00 00 +R 00 00 00 00 +T 38 07 00 00 80 80 80 80 00 00 00 00 00 00 00 00 +R 00 00 00 00 +T 46 07 03 03 0F 0F 00 00 00 00 00 00 00 00 00 00 +R 00 00 00 00 +T 54 07 0F 0F FF FF FF FF 00 00 00 00 00 00 00 00 +R 00 00 00 00 +T 62 07 3F 3F FF FF FF FF FF FF 00 00 00 00 00 00 +R 00 00 00 00 +T 70 07 3F 3F FF FF FF FF FF FF FF FF 00 00 00 00 +R 00 00 00 00 +T 7E 07 1F 1F FF FF FF FF FF FF FF FF FF FF 00 00 +R 00 00 00 00 +T 8C 07 00 00 FF FF FF FF FF FF FF FF FF FF FF FF +R 00 00 00 00 +T 9A 07 00 00 00 00 F0 F0 FF FF FF FF FF FF FF FF +R 00 00 00 00 +T A8 07 FF FF 00 00 00 00 00 00 FF FF FF FF FF FF +R 00 00 00 00 +T B6 07 FF FF FF FF 00 00 00 00 00 00 80 80 FF FF +R 00 00 00 00 +T C4 07 FF FF FF FF FF FF 00 00 00 00 00 00 00 00 +R 00 00 00 00 +T D2 07 FF FF FF FF FF FF FF FF 00 00 00 00 00 00 +R 00 00 00 00 +T E0 07 00 00 F8 F8 FF FF FF FF FF FF 00 00 00 00 +R 00 00 00 00 +T EE 07 00 00 00 00 00 00 FC FC FF FF FF FF 00 00 +R 00 00 00 00 +T FC 07 00 00 00 00 00 00 00 00 00 00 C0 C0 FE FE +R 00 00 00 00 +T 0A 08 FF FF 7F 7F 7F 7F 7F 7F 3F 3F 3F 3F 1F 1F +R 00 00 00 00 +T 18 08 1F 1F FF FF FE FE FE FE FE FE FE FE FE FE +R 00 00 00 00 +T 26 08 FC FC FD FD 00 00 00 00 00 00 00 00 03 03 +R 00 00 00 00 +T 34 08 1F 1F 7F 7F FF FF 00 00 03 03 0F 0F FF FF +R 00 00 00 00 +T 42 08 FF FF FF FF FF FF FF FF 7F 7F FF FF FF FF +R 00 00 00 00 +T 50 08 FF FF FF FF FF FF FF FF FF FF 80 80 F8 F8 +R 00 00 00 00 +T 5E 08 FE FE FF FF FF FF FF FF FF FF FF FF 00 00 +R 00 00 00 00 +T 6C 08 00 00 00 00 C0 C0 FC FC FF FF FF FF FF FF +R 00 00 00 00 +T 7A 08 0F 0F 0F 0F 07 07 07 07 03 03 01 01 E1 E1 +R 00 00 00 00 +T 88 08 F8 F8 01 02 03 04 04 04 04 04 04 04 04 04 +R 00 00 00 00 +T 96 08 04 04 04 04 04 05 06 07 08 00 09 0A 0B 0C +R 00 00 00 00 +T A4 08 0D 04 04 04 04 04 04 04 0E 0F 10 11 12 13 +R 00 00 00 00 +T B2 08 14 00 00 12 15 00 00 16 17 17 18 19 00 00 +R 00 00 00 00 +T C0 08 00 00 00 00 1A 04 1B 00 00 1C 00 00 00 1D +R 00 00 00 00 +T CE 08 00 00 1E 1F 00 00 00 00 00 00 20 04 04 21 +R 00 00 00 00 +T DC 08 22 23 00 00 24 00 00 12 25 00 00 00 00 00 +R 00 00 00 00 +T EA 08 00 26 04 04 04 27 28 00 00 29 2A 00 00 2B +R 00 00 00 00 +T F8 08 2C 2D 00 00 00 00 00 2E 04 04 04 2F 00 00 +R 00 00 00 00 +T 06 09 30 31 00 00 32 33 00 34 35 00 00 00 00 36 +R 00 00 00 00 +T 14 09 04 04 04 37 00 00 38 00 00 00 39 00 00 00 +R 00 00 00 00 +T 22 09 3A 3B 3C 00 00 3D 04 04 04 3E 00 3F 40 00 +R 00 00 00 00 +T 30 09 00 3F 41 00 00 00 00 00 42 43 44 45 04 04 +R 00 00 00 00 +T 3E 09 04 3E 00 46 00 00 00 47 00 00 00 00 00 00 +R 00 00 00 00 +T 4C 09 00 00 00 36 04 04 04 3E 48 49 00 00 4A 49 +R 00 00 00 00 +T 5A 09 4B 4C 00 00 00 00 00 00 00 4D 04 04 04 3E +R 00 00 00 00 +T 68 09 4E 00 00 4F 50 00 00 51 52 53 00 00 00 00 +R 00 00 00 00 +T 76 09 00 54 04 04 04 55 00 00 00 56 00 00 00 00 +R 00 00 00 00 +T 84 09 00 57 58 00 00 00 00 59 04 04 04 2F 00 00 +R 00 00 00 00 +T 92 09 5A 2A 5B 5C 00 00 00 00 00 5D 44 00 00 00 +R 00 00 00 00 +T A0 09 5E 04 04 5F 00 32 60 00 00 3A 61 62 00 00 +R 00 00 00 00 +T AE 09 00 00 63 64 62 00 65 04 04 66 00 67 00 00 +R 00 00 00 00 +T BC 09 00 00 00 68 00 00 00 00 00 00 69 6A 6B 04 +R 00 00 00 00 +T CA 09 04 6C 6D 6E 6F 70 71 72 73 73 74 75 76 77 +R 00 00 00 00 +T D8 09 78 79 7A 00 00 7B 7C 7D 7E 7F 04 04 04 04 +R 00 00 00 00 +T E6 09 04 04 04 04 04 04 04 04 04 80 81 82 +R 00 00 00 00 diff --git a/background/bg_data.map b/background/bg_data.map new file mode 100644 index 0000000..6d37c53 --- /dev/null +++ b/background/bg_data.map @@ -0,0 +1,19 @@ +unsigned const char tilemap[] = { +0x01,0x02,0x03,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x05,0x06,0x07, +0x08,0x00,0x09,0x0A,0x0B,0x0C,0x0D,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x0E,0x0F,0x10,0x11,0x12,0x13, +0x14,0x00,0x00,0x12,0x15,0x00,0x00,0x16,0x17,0x17,0x18,0x19,0x00,0x00,0x00,0x00,0x00,0x00,0x1A,0x04, +0x1B,0x00,0x00,0x1C,0x00,0x00,0x00,0x1D,0x00,0x00,0x1E,0x1F,0x00,0x00,0x00,0x00,0x00,0x00,0x20,0x04, +0x04,0x21,0x22,0x23,0x00,0x00,0x24,0x00,0x00,0x12,0x25,0x00,0x00,0x00,0x00,0x00,0x00,0x26,0x04,0x04, +0x04,0x27,0x28,0x00,0x00,0x29,0x2A,0x00,0x00,0x2B,0x2C,0x2D,0x00,0x00,0x00,0x00,0x00,0x2E,0x04,0x04, +0x04,0x2F,0x00,0x00,0x30,0x31,0x00,0x00,0x32,0x33,0x00,0x34,0x35,0x00,0x00,0x00,0x00,0x36,0x04,0x04, +0x04,0x37,0x00,0x00,0x38,0x00,0x00,0x00,0x39,0x00,0x00,0x00,0x3A,0x3B,0x3C,0x00,0x00,0x3D,0x04,0x04, +0x04,0x3E,0x00,0x3F,0x40,0x00,0x00,0x3F,0x41,0x00,0x00,0x00,0x00,0x00,0x42,0x43,0x44,0x45,0x04,0x04, +0x04,0x3E,0x00,0x46,0x00,0x00,0x00,0x47,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x36,0x04,0x04, +0x04,0x3E,0x48,0x49,0x00,0x00,0x4A,0x49,0x4B,0x4C,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x4D,0x04,0x04, +0x04,0x3E,0x4E,0x00,0x00,0x4F,0x50,0x00,0x00,0x51,0x52,0x53,0x00,0x00,0x00,0x00,0x00,0x54,0x04,0x04, +0x04,0x55,0x00,0x00,0x00,0x56,0x00,0x00,0x00,0x00,0x00,0x57,0x58,0x00,0x00,0x00,0x00,0x59,0x04,0x04, +0x04,0x2F,0x00,0x00,0x5A,0x2A,0x5B,0x5C,0x00,0x00,0x00,0x00,0x00,0x5D,0x44,0x00,0x00,0x00,0x5E,0x04, +0x04,0x5F,0x00,0x32,0x60,0x00,0x00,0x3A,0x61,0x62,0x00,0x00,0x00,0x00,0x63,0x64,0x62,0x00,0x65,0x04, +0x04,0x66,0x00,0x67,0x00,0x00,0x00,0x00,0x00,0x68,0x00,0x00,0x00,0x00,0x00,0x00,0x69,0x6A,0x6B,0x04, +0x04,0x6C,0x6D,0x6E,0x6F,0x70,0x71,0x72,0x73,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x00,0x00,0x7B, +0x7C,0x7D,0x7E,0x7F,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x80,0x81,0x82}; diff --git a/beep/beep.map b/beep/beep.map new file mode 100644 index 0000000..cbcc4a7 --- /dev/null +++ b/beep/beep.map @@ -0,0 +1,325 @@ +AREA . .ABS. + RADIX HEX + BASE 0000 + SIZE 0000 + ATTRIB ABS OVR + GLOBALS + l__DATA 0000 + 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 + l__GSINIT 0000 + l__GSINITTAIL 0001 + l__BSS 0087 + l__HEADER 01EB + s__CODE 0200 + l__HOME 03FA + l__CODE 098A + s__HOME 0B8A + l__BASE 0EBA + s__BASE 0F84 + s__GSINITTAIL 1E3E + s__LIT 1E3E + s__GSINIT 1E3E + s__GSFINAL 1E3F + .OAM C000 + s__DATA C0A0 + s__BSS C0A0 + s__HEAP C127 + s__BSEG C127 + s__ISEG C127 + s__XSEG C127 + s__OVERLAY C127 + .STACK E000 + .refresh_OAM FF80 +AREA _CODE + RADIX HEX + BASE 0200 + SIZE 098A + ATTRIB REL CON + GLOBALS + _main 0200 + _gprintn 02A8 + .adv_gcurs 0317 + .circle 0334 + .horlin 03D7 + .verlin 040F + .circplot 046B + .box 04E9 + .line 05BF + .xonly 06E0 + .yonly 082F + .plot 0850 + .wrbyte 086D + .getpix 08EF + .wrtchr 0924 + _gotogxy 0988 + _wrtchr 0993 + _getpix 09A8 + _color 09B4 + _circle 09C3 + _box 09DD + _line 0A01 + _plot_point 0A19 + _plot 0A2D + __divschar_rrx_s 0A49 + __divschar_rrx_hds 0A50 + __modschar_rrx_s 0A57 + __modschar_rrx_hds 0A5E + __divsint_rrx_s 0A63 + __divsint_rrx_hds 0A6F + __modsint_rrx_s 0A77 + __modsint_rrx_hds 0A83 + __divuchar_rrx_s 0A89 + __divuchar_rrx_hds 0A90 + __moduchar_rrx_s 0A97 + __moduchar_rrx_hds 0A9E + __divuint_rrx_s 0AA3 + __divuint_rrx_hds 0AAF + __moduint_rrx_s 0AB7 + __moduint_rrx_hds 0AC3 + .mod8 0AC9 + .div8 0AC9 + .mod16 0AD1 + .div16 0AD1 + .modu8 0B0B + .divu8 0B0B + .modu16 0B0E + .divu16 0B0E + _putchar 0B4B + _setchar 0B54 + _gotoxy 0B5D + _posx 0B68 + _posy 0B79 +AREA _HEADER + RADIX HEX + BASE 0000 + SIZE 01EB + ATTRIB ABS OVR + GLOBALS + _exit 01D2 +AREA _HOME + RADIX HEX + BASE 0B8A + SIZE 03FA + ATTRIB REL CON + GLOBALS + .set_mode 0B8A + .remove_VBL 0B9A + .remove_LCD 0BA0 + .remove_TIM 0BA6 + .remove_SIO 0BAC + .remove_JOY 0BB2 + .add_VBL 0BB8 + .add_LCD 0BBE + .add_TIM 0BC4 + .add_SIO 0BCA + .add_JOY 0BD0 + .remove_int 0BD6 + .add_int 0BF6 + .wait_vbl_done 0C12 + _wait_vbl_done 0C12 + _display_off 0C29 + .display_off 0C29 + .serial_IO 0C4A + _mode 0C79 + _get_mode 0C82 + _enable_interrupts 0C87 + _disable_interrupts 0C89 + _reset 0C8B + .reset 0C8B + _set_interrupts 0C91 + _remove_VBL 0C9C + _remove_LCD 0CA7 + _remove_TIM 0CB2 + _remove_SIO 0CBD + _remove_JOY 0CC8 + _add_VBL 0CD3 + _add_LCD 0CDE + _add_TIM 0CE9 + _add_SIO 0CF4 + _add_JOY 0CFF + _clock 0D0A + __printTStates 0D13 + banked_call 0D14 + banked_ret 0D2D + _gprintf 0D36 + _digits 0F50 + _gprint 0F63 +AREA _BASE + RADIX HEX + BASE 0F84 + SIZE 0EBA + ATTRIB REL CON + GLOBALS + .padup 0F84 + _waitpadup 0F84 + .jpad 0F94 + .wait_pad 0FC1 + _joypad 0FC8 + _waitpad 0FCD + .delay 0FD7 + _delay 1011 + .gmode 101A + .vbl 107C + .lcd 1087 + .draw_image 1094 + .switch_data 109E + _switch_data 10D5 + _draw_image 10F0 + .y_table 1103 + .init_vram 1223 + .init_wtt 1231 + .init_btt 1241 + .init_tt 124F + .copy_vram 1255 + _get_data 1264 + _set_data 1264 + _font_load_ibm_fixed 1277 + _font_ibm_fixed 127E + _font_ibm_fixed_tiles 1380 + font_copy_uncompressed 1B80 + font_copy_compressed 1BB6 + font_load 1C0B + font_copy_current 1C53 + font_set 1C9B + .put_char 1CA8 + .out_char 1CC1 + .del_char 1CC8 + _font_load 1D23 + _font_set 1D31 + _font_init 1D40 + _cls 1D62 + .cls 1D62 + .cr_curs 1D94 + .adv_curs 1DA9 + .tmode 1E05 + .tmode_out 1E2E +AREA _LIT + RADIX HEX + BASE 1E3E + SIZE 0000 + ATTRIB REL CON +AREA _GSINIT + RADIX HEX + BASE 1E3E + SIZE 0000 + ATTRIB REL CON + GLOBALS + gsinit 1E3E +AREA _GSINITTAIL + RADIX HEX + BASE 1E3E + SIZE 0001 + ATTRIB REL CON +AREA _GSFINAL + RADIX HEX + BASE 1E3F + SIZE 0000 + ATTRIB REL CON +AREA _DATA + RADIX HEX + BASE C0A0 + SIZE 0000 + ATTRIB REL CON +AREA _BSS + RADIX HEX + BASE C0A0 + SIZE 0087 + ATTRIB REL CON + GLOBALS + __cpu C0A0 + .mode C0A1 + __io_out C0A2 + __io_in C0A3 + __io_status C0A4 + .vbl_done C0A5 + __current_bank C0A6 + _sys_time C0A7 + .sys_time C0A7 + .int_0x40 C0A9 + .int_0x48 C0B9 + .int_0x50 C0C9 + .int_0x58 C0D9 + .int_0x60 C0E9 + .fg_colour C0F9 + .bg_colour C0FA + font_current C10F + font_first_free_tile C112 + font_table C113 + .curx C125 + .cury C126 +AREA _HEAP + RADIX HEX + BASE C127 + SIZE 0000 + ATTRIB REL CON + GLOBALS + _malloc_heap_start C127 +AREA _OVERLAY + RADIX HEX + BASE C127 + SIZE 0000 + ATTRIB REL CON +AREA _ISEG + RADIX HEX + BASE C127 + SIZE 0000 + ATTRIB REL CON +AREA _BSEG + RADIX HEX + BASE C127 + SIZE 0000 + ATTRIB REL CON +AREA _XSEG + RADIX HEX + BASE C127 + SIZE 0000 + ATTRIB REL CON +MODULES + FILE /opt/gbdk/lib/small/asxxxx/gb/crt0.o + NAME Runtime + FILE main.o + NAME lcc2312250 +LIBRARIES + LIBRARY /opt/gbdk/lib/small/asxxxx/gb/gb.lib + MODULE gprintf.o + LIBRARY /opt/gbdk/lib/small/asxxxx/gb/gb.lib + MODULE gprintn.o + LIBRARY /opt/gbdk/lib/small/asxxxx/gb/gb.lib + MODULE digits.o + LIBRARY /opt/gbdk/lib/small/asxxxx/gb/gb.lib + MODULE pad.o + LIBRARY /opt/gbdk/lib/small/asxxxx/gb/gb.lib + MODULE delay.o + LIBRARY /opt/gbdk/lib/small/asxxxx/gb/gb.lib + MODULE drawing.o + LIBRARY /opt/gbdk/lib/small/asxxxx/gb/gb.lib + MODULE gprint.o + LIBRARY /opt/gbdk/lib/small/asxxxx/gb/gb.lib + MODULE init_tt.o + LIBRARY /opt/gbdk/lib/small/asxxxx/gb/gb.lib + MODULE cpy_data.o + LIBRARY /opt/gbdk/lib/small/asxxxx/gb/gb.lib + MODULE ibmfixed.o + LIBRARY /opt/gbdk/lib/small/asxxxx/gbz80/gbz80.lib + MODULE div.o + LIBRARY /opt/gbdk/lib/small/asxxxx/gb/gb.lib + MODULE font.o +USERBASEDEF + _CODE=0x0200 + _DATA=0xC0A0 + _CODE_1=0x4000 +USERGLOBALDEF + .OAM=0xC000 + .STACK=0xE000 + .refresh_OAM=0xFF80 + .init=0x0000 diff --git a/beep/main.o b/beep/main.o new file mode 100644 index 0000000..70538b6 --- /dev/null +++ b/beep/main.o @@ -0,0 +1,41 @@ +XL +H 9 areas 5 global symbols +M lcc2312250 +S _gprintf Ref0000 +S _joypad Ref0000 +S _delay Ref0000 +S _gotogxy Ref0000 +A _CODE size A8 flags 0 +S _main Def0000 +A _DATA size 0 flags 0 +A _OVERLAY size 0 flags 0 +A _ISEG size 0 flags 0 +A _BSEG size 0 flags 0 +A _XSEG size 0 flags 0 +A _GSINIT size 0 flags 0 +A _GSFINAL size 0 flags 0 +A _HOME size 0 flags 0 +T 00 00 E8 FD 01 24 FF 3E FF 02 01 25 FF 3E FF 02 +R 00 00 00 00 +T 0E 00 01 26 FF 3E 80 02 21 01 01 E5 CD 00 00 E8 +R 00 00 00 00 02 0D 03 00 +T 1C 00 02 21 84 00 E5 CD 00 00 E8 02 21 02 03 E5 +R 00 00 00 00 00 04 00 00 02 08 00 00 +T 2A 00 CD 00 00 E8 02 21 97 00 E5 CD 00 00 E8 02 +R 00 00 00 00 02 03 03 00 00 08 00 00 02 0C 00 00 +T 38 00 CD 00 00 4B 79 B7 CA 38 00 01 10 FF 3E 38 +R 00 00 00 00 02 03 01 00 00 09 00 00 +T 46 00 02 01 11 FF 3E 70 02 01 12 FF 3E E0 02 01 +R 00 00 00 00 +T 54 00 13 FF 3E 0A 02 01 14 FF 3E C6 02 01 25 FF +R 00 00 00 00 +T 62 00 F8 01 36 25 23 36 FF 2B 5E 23 56 1A 2B 2B +R 00 00 00 00 +T 70 00 77 7F F6 11 02 21 C8 00 E5 CD 00 00 E8 02 +R 00 00 00 00 02 0C 02 00 +T 7E 00 C3 38 00 E8 03 C9 3D 3D 3D 3D 3D 3D 20 42 +R 00 00 00 00 00 03 00 00 +T 8C 00 65 65 70 20 3D 3D 3D 3D 3D 3D 00 50 72 65 +R 00 00 00 00 +T 9A 00 73 73 20 61 6E 79 20 62 75 74 74 6F 6E 00 +R 00 00 00 00 diff --git a/big_sprite/big_sprite.map b/big_sprite/big_sprite.map new file mode 100644 index 0000000..488c7c6 --- /dev/null +++ b/big_sprite/big_sprite.map @@ -0,0 +1,219 @@ +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 + l__GSINITTAIL 0001 + l__GSINIT 002E + l__DATA 0040 + l__BSS 0059 + l__CODE 006A + l__BASE 00D2 + l__HOME 01D3 + l__HEADER 01E1 + s__CODE 0200 + s__HOME 026A + s__BASE 043D + s__LIT 050F + s__GSINIT 050F + s__GSINITTAIL 053D + s__GSFINAL 053E + .OAM C000 + s__DATA C0A0 + s__BSS C0E0 + s__HEAP C139 + s__BSEG C139 + s__ISEG C139 + s__XSEG C139 + s__OVERLAY C139 + .STACK E000 + .refresh_OAM FF80 +AREA _CODE + RADIX HEX + BASE 0200 + SIZE 006A + ATTRIB REL CON + GLOBALS + _main 0200 +AREA _HEADER + RADIX HEX + BASE 0000 + SIZE 01E1 + ATTRIB ABS OVR + GLOBALS + _exit 01D2 +AREA _HOME + RADIX HEX + BASE 026A + SIZE 01D3 + ATTRIB REL CON + GLOBALS + .set_mode 026A + .remove_VBL 027A + .remove_LCD 0280 + .remove_TIM 0286 + .remove_SIO 028C + .remove_JOY 0292 + .add_VBL 0298 + .add_LCD 029E + .add_TIM 02A4 + .add_SIO 02AA + .add_JOY 02B0 + .remove_int 02B6 + .add_int 02D6 + .wait_vbl_done 02F2 + _wait_vbl_done 02F2 + _display_off 0309 + .display_off 0309 + .serial_IO 032A + _mode 0359 + _get_mode 0362 + _enable_interrupts 0367 + _disable_interrupts 0369 + _reset 036B + .reset 036B + _set_interrupts 0371 + _remove_VBL 037C + _remove_LCD 0387 + _remove_TIM 0392 + _remove_SIO 039D + _remove_JOY 03A8 + _add_VBL 03B3 + _add_LCD 03BE + _add_TIM 03C9 + _add_SIO 03D4 + _add_JOY 03DF + _clock 03EA + __printTStates 03F3 + banked_call 03F4 + banked_ret 040D + __initrleblock 0416 +AREA _BASE + RADIX HEX + BASE 043D + SIZE 00D2 + ATTRIB REL CON + GLOBALS + .mv_sprite 043D + _move_sprite 044C + _set_win_data 0459 + _set_bkg_data 0459 + _set_sprite_data 04A6 + .set_sprite_tile 04D5 + _set_sprite_tile 04E2 + .copy_vram 04ED + _get_data 04FC + _set_data 04FC +AREA _LIT + RADIX HEX + BASE 050F + SIZE 0000 + ATTRIB REL CON +AREA _GSINIT + RADIX HEX + BASE 050F + SIZE 002E + ATTRIB REL CON + GLOBALS + gsinit 050F +AREA _GSINITTAIL + RADIX HEX + BASE 053D + SIZE 0001 + ATTRIB REL CON +AREA _GSFINAL + RADIX HEX + BASE 053E + SIZE 0000 + ATTRIB REL CON +AREA _DATA + RADIX HEX + BASE C0A0 + SIZE 0040 + ATTRIB REL CON + GLOBALS + _sprite C0A0 +AREA _BSS + RADIX HEX + BASE C0E0 + SIZE 0059 + ATTRIB REL CON + GLOBALS + __cpu C0E0 + .mode C0E1 + __io_out C0E2 + __io_in C0E3 + __io_status C0E4 + .vbl_done C0E5 + __current_bank C0E6 + _sys_time C0E7 + .sys_time C0E7 + .int_0x40 C0E9 + .int_0x48 C0F9 + .int_0x50 C109 + .int_0x58 C119 + .int_0x60 C129 +AREA _HEAP + RADIX HEX + BASE C139 + SIZE 0000 + ATTRIB REL CON + GLOBALS + _malloc_heap_start C139 +AREA _OVERLAY + RADIX HEX + BASE C139 + SIZE 0000 + ATTRIB REL CON +AREA _ISEG + RADIX HEX + BASE C139 + SIZE 0000 + ATTRIB REL CON +AREA _BSEG + RADIX HEX + BASE C139 + SIZE 0000 + ATTRIB REL CON +AREA _XSEG + RADIX HEX + BASE C139 + SIZE 0000 + ATTRIB REL CON +MODULES + FILE /home/brbuller/opt/gbdk/lib/small/asxxxx/gb/crt0.o + NAME Runtime + FILE big_sprite.o + NAME lcc2194330 +LIBRARIES + LIBRARY /home/brbuller/opt/gbdk/lib/small/asxxxx/gbz80/gbz80.lib + MODULE crt0_rle.o + LIBRARY /home/brbuller/opt/gbdk/lib/small/asxxxx/gb/gb.lib + MODULE mv_spr.o + LIBRARY /home/brbuller/opt/gbdk/lib/small/asxxxx/gb/gb.lib + MODULE set_data.o + LIBRARY /home/brbuller/opt/gbdk/lib/small/asxxxx/gb/gb.lib + MODULE set_spr.o + LIBRARY /home/brbuller/opt/gbdk/lib/small/asxxxx/gb/gb.lib + MODULE cpy_data.o +USERBASEDEF + _CODE=0x0200 + _DATA=0xC0A0 + _CODE_1=0x4000 +USERGLOBALDEF + .OAM=0xC000 + .STACK=0xE000 + .refresh_OAM=0xFF80 + .init=0x0000 diff --git a/big_sprite/big_sprite.o b/big_sprite/big_sprite.o new file mode 100644 index 0000000..1396629 --- /dev/null +++ b/big_sprite/big_sprite.o @@ -0,0 +1,42 @@ +XL +H 9 areas 6 global symbols +M lcc2194330 +S __initrleblock Ref0000 +S _move_sprite Ref0000 +S _set_sprite_data Ref0000 +S _set_sprite_tile Ref0000 +A _CODE size 6A flags 0 +S _main Def0000 +A _DATA size 40 flags 0 +S _sprite Def0000 +A _OVERLAY size 0 flags 0 +A _ISEG size 0 flags 0 +A _BSEG size 0 flags 0 +A _XSEG size 0 flags 0 +A _GSINIT size 2E flags 0 +A _GSFINAL size 0 flags 0 +A _HOME size 0 flags 0 +T 00 00 21 00 00 CD 00 00 0C FF FF 80 80 80 80 81 +R 00 00 06 00 00 03 01 00 02 06 00 00 +T 0E 00 81 83 83 87 87 F4 81 0C 83 83 87 87 80 80 +R 00 00 06 00 +T 1C 00 FF FF FF FF 01 01 EC C1 08 E1 E1 F1 F1 01 +R 00 00 06 00 +T 2A 00 01 FF FF 00 +R 00 00 06 00 +T 00 00 E8 FD 01 40 FF F8 01 36 40 23 36 FF 2B 5E +R 00 00 00 00 +T 0E 00 23 56 1A 2B 2B 77 7F F6 04 02 21 00 00 E5 +R 00 00 00 00 00 0D 01 00 +T 1C 00 21 00 04 E5 CD 00 00 E8 04 21 00 00 E5 CD +R 00 00 00 00 02 07 02 00 +T 2A 00 00 00 E8 02 21 4B 4B E5 3E 00 F5 33 CD +R 00 00 00 00 02 02 03 00 +T 37 00 00 00 E8 03 21 01 02 E5 CD 00 00 E8 02 21 +R 00 00 00 00 02 02 01 00 02 0B 03 00 +T 45 00 53 4B E5 3E 01 F5 33 CD 00 00 E8 03 01 +R 00 00 00 00 02 0A 01 00 +T 52 00 40 FF F8 01 36 40 23 36 FF 2B 5E 23 56 1A +R 00 00 00 00 +T 60 00 2B 2B 77 7F F6 02 02 E8 03 C9 +R 00 00 00 00 diff --git a/big_sprite_animation/big_sprite_animation.map b/big_sprite_animation/big_sprite_animation.map new file mode 100644 index 0000000..5bf9e02 --- /dev/null +++ b/big_sprite_animation/big_sprite_animation.map @@ -0,0 +1,223 @@ +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 + l__GSINITTAIL 0001 + l__BSS 0059 + l__GSINIT 0066 + l__DATA 0080 + l__CODE 00A3 + l__BASE 0115 + l__HOME 01D3 + l__HEADER 01E1 + s__CODE 0200 + s__HOME 02A3 + s__BASE 0476 + s__LIT 058B + s__GSINIT 058B + s__GSINITTAIL 05F1 + s__GSFINAL 05F2 + .OAM C000 + s__DATA C0A0 + s__BSS C120 + s__HEAP C179 + s__BSEG C179 + s__ISEG C179 + s__XSEG C179 + s__OVERLAY C179 + .STACK E000 + .refresh_OAM FF80 +AREA _CODE + RADIX HEX + BASE 0200 + SIZE 00A3 + ATTRIB REL CON + GLOBALS + _main 0200 +AREA _HEADER + RADIX HEX + BASE 0000 + SIZE 01E1 + ATTRIB ABS OVR + GLOBALS + _exit 01D2 +AREA _HOME + RADIX HEX + BASE 02A3 + SIZE 01D3 + ATTRIB REL CON + GLOBALS + .set_mode 02A3 + .remove_VBL 02B3 + .remove_LCD 02B9 + .remove_TIM 02BF + .remove_SIO 02C5 + .remove_JOY 02CB + .add_VBL 02D1 + .add_LCD 02D7 + .add_TIM 02DD + .add_SIO 02E3 + .add_JOY 02E9 + .remove_int 02EF + .add_int 030F + .wait_vbl_done 032B + _wait_vbl_done 032B + _display_off 0342 + .display_off 0342 + .serial_IO 0363 + _mode 0392 + _get_mode 039B + _enable_interrupts 03A0 + _disable_interrupts 03A2 + _reset 03A4 + .reset 03A4 + _set_interrupts 03AA + _remove_VBL 03B5 + _remove_LCD 03C0 + _remove_TIM 03CB + _remove_SIO 03D6 + _remove_JOY 03E1 + _add_VBL 03EC + _add_LCD 03F7 + _add_TIM 0402 + _add_SIO 040D + _add_JOY 0418 + _clock 0423 + __printTStates 042C + banked_call 042D + banked_ret 0446 + __initrleblock 044F +AREA _BASE + RADIX HEX + BASE 0476 + SIZE 0115 + ATTRIB REL CON + GLOBALS + .mv_sprite 0476 + _move_sprite 0485 + _set_win_data 0492 + _set_bkg_data 0492 + _set_sprite_data 04DF + .set_sprite_tile 050E + _set_sprite_tile 051B + .delay 0526 + _delay 0560 + .copy_vram 0569 + _get_data 0578 + _set_data 0578 +AREA _LIT + RADIX HEX + BASE 058B + SIZE 0000 + ATTRIB REL CON +AREA _GSINIT + RADIX HEX + BASE 058B + SIZE 0066 + ATTRIB REL CON + GLOBALS + gsinit 058B +AREA _GSINITTAIL + RADIX HEX + BASE 05F1 + SIZE 0001 + ATTRIB REL CON +AREA _GSFINAL + RADIX HEX + BASE 05F2 + SIZE 0000 + ATTRIB REL CON +AREA _DATA + RADIX HEX + BASE C0A0 + SIZE 0080 + ATTRIB REL CON + GLOBALS + _cards C0A0 +AREA _BSS + RADIX HEX + BASE C120 + SIZE 0059 + ATTRIB REL CON + GLOBALS + __cpu C120 + .mode C121 + __io_out C122 + __io_in C123 + __io_status C124 + .vbl_done C125 + __current_bank C126 + _sys_time C127 + .sys_time C127 + .int_0x40 C129 + .int_0x48 C139 + .int_0x50 C149 + .int_0x58 C159 + .int_0x60 C169 +AREA _HEAP + RADIX HEX + BASE C179 + SIZE 0000 + ATTRIB REL CON + GLOBALS + _malloc_heap_start C179 +AREA _OVERLAY + RADIX HEX + BASE C179 + SIZE 0000 + ATTRIB REL CON +AREA _ISEG + RADIX HEX + BASE C179 + SIZE 0000 + ATTRIB REL CON +AREA _BSEG + RADIX HEX + BASE C179 + SIZE 0000 + ATTRIB REL CON +AREA _XSEG + RADIX HEX + BASE C179 + SIZE 0000 + ATTRIB REL CON +MODULES + FILE /home/brbuller/opt/gbdk/lib/small/asxxxx/gb/crt0.o + NAME Runtime + FILE big_sprite_animation.o + NAME lcc2202740 +LIBRARIES + LIBRARY /home/brbuller/opt/gbdk/lib/small/asxxxx/gbz80/gbz80.lib + MODULE crt0_rle.o + LIBRARY /home/brbuller/opt/gbdk/lib/small/asxxxx/gb/gb.lib + MODULE mv_spr.o + LIBRARY /home/brbuller/opt/gbdk/lib/small/asxxxx/gb/gb.lib + MODULE set_data.o + LIBRARY /home/brbuller/opt/gbdk/lib/small/asxxxx/gb/gb.lib + MODULE set_spr.o + LIBRARY /home/brbuller/opt/gbdk/lib/small/asxxxx/gb/gb.lib + MODULE delay.o + LIBRARY /home/brbuller/opt/gbdk/lib/small/asxxxx/gb/gb.lib + MODULE cpy_data.o +USERBASEDEF + _CODE=0x0200 + _DATA=0xC0A0 + _CODE_1=0x4000 +USERGLOBALDEF + .OAM=0xC000 + .STACK=0xE000 + .refresh_OAM=0xFF80 + .init=0x0000 diff --git a/big_sprite_animation/big_sprite_animation.o b/big_sprite_animation/big_sprite_animation.o new file mode 100644 index 0000000..8704cc4 --- /dev/null +++ b/big_sprite_animation/big_sprite_animation.o @@ -0,0 +1,59 @@ +XL +H 9 areas 7 global symbols +M lcc2202740 +S __initrleblock Ref0000 +S _move_sprite Ref0000 +S _set_sprite_data Ref0000 +S _delay Ref0000 +S _set_sprite_tile Ref0000 +A _CODE size A3 flags 0 +S _main Def0000 +A _DATA size 80 flags 0 +S _cards Def0000 +A _OVERLAY size 0 flags 0 +A _ISEG size 0 flags 0 +A _BSEG size 0 flags 0 +A _XSEG size 0 flags 0 +A _GSINIT size 66 flags 0 +A _GSFINAL size 0 flags 0 +A _HOME size 0 flags 0 +T 00 00 21 00 00 CD 00 00 0C FF FF 80 80 80 80 81 +R 00 00 06 00 00 03 01 00 02 06 00 00 +T 0E 00 81 83 83 87 87 F4 81 0C 83 83 87 87 80 80 +R 00 00 06 00 +T 1C 00 FF FF FF FF 01 01 EC C1 14 E1 E1 F1 F1 01 +R 00 00 06 00 +T 2A 00 01 FF FF FF FF 80 80 83 83 87 87 8E 8E 8C +R 00 00 06 00 +T 38 00 8C F8 80 16 81 81 83 83 87 87 8F 8F 80 80 +R 00 00 06 00 +T 46 00 FF FF FF FF 01 01 C1 C1 E1 E1 71 71 FA 31 +R 00 00 06 00 +T 54 00 10 71 71 E1 E1 C1 C1 81 81 F1 F1 F1 F1 01 +R 00 00 06 00 +T 62 00 01 FF FF 00 +R 00 00 06 00 +T 00 00 E8 FD 01 40 FF F8 01 36 40 23 36 FF 2B 5E +R 00 00 00 00 +T 0E 00 23 56 1A 2B 2B 77 7F F6 04 02 21 00 00 E5 +R 00 00 00 00 00 0D 01 00 +T 1C 00 21 00 08 E5 CD 00 00 E8 04 21 00 00 E5 CD +R 00 00 00 00 02 07 02 00 +T 2A 00 00 00 E8 02 21 4B 4B E5 3E 00 F5 33 CD +R 00 00 00 00 02 02 04 00 +T 37 00 00 00 E8 03 21 01 02 E5 CD 00 00 E8 02 21 +R 00 00 00 00 02 02 01 00 02 0B 04 00 +T 45 00 53 4B E5 3E 01 F5 33 CD 00 00 E8 03 01 +R 00 00 00 00 02 0A 01 00 +T 52 00 40 FF F8 01 36 40 23 36 FF 2B 5E 23 56 1A +R 00 00 00 00 +T 60 00 2B 2B 77 7F F6 02 02 21 00 03 E5 CD 00 00 +R 00 00 00 00 02 0E 04 00 +T 6E 00 E8 02 21 01 05 E5 CD 00 00 E8 02 21 F4 01 +R 00 00 00 00 02 09 04 00 +T 7C 00 E5 CD 00 00 E8 02 21 00 00 E5 CD 00 00 E8 +R 00 00 00 00 02 04 03 00 02 0D 04 00 +T 8A 00 02 21 01 02 E5 CD 00 00 E8 02 21 F4 01 E5 +R 00 00 00 00 02 08 04 00 +T 98 00 CD 00 00 E8 02 C3 67 00 E8 03 C9 +R 00 00 00 00 02 03 03 00 00 08 00 00 diff --git a/blank/blank.map b/blank/blank.map new file mode 100644 index 0000000..4339e91 --- /dev/null +++ b/blank/blank.map @@ -0,0 +1,194 @@ +AREA . .ABS. + RADIX HEX + BASE 0000 + SIZE 0000 + ATTRIB ABS OVR + GLOBALS + l__DATA 0000 + l__BASE 0000 + 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 + l__GSINIT 0000 + l__CODE 0001 + l__GSINITTAIL 0001 + l__BSS 0059 + l__HOME 01AC + l__HEADER 01E1 + s__CODE 0200 + s__HOME 0201 + s__BASE 03AD + s__GSINITTAIL 03AD + s__LIT 03AD + s__GSINIT 03AD + s__GSFINAL 03AE + .OAM C000 + s__DATA C0A0 + s__BSS C0A0 + s__HEAP C0F9 + s__BSEG C0F9 + s__ISEG C0F9 + s__XSEG C0F9 + s__OVERLAY C0F9 + .STACK E000 + .refresh_OAM FF80 +AREA _CODE + RADIX HEX + BASE 0200 + SIZE 0001 + ATTRIB REL CON + GLOBALS + _main 0200 +AREA _HEADER + RADIX HEX + BASE 0000 + SIZE 01E1 + ATTRIB ABS OVR + GLOBALS + _exit 01D2 +AREA _HOME + RADIX HEX + BASE 0201 + SIZE 01AC + ATTRIB REL CON + GLOBALS + .set_mode 0201 + .remove_VBL 0211 + .remove_LCD 0217 + .remove_TIM 021D + .remove_SIO 0223 + .remove_JOY 0229 + .add_VBL 022F + .add_LCD 0235 + .add_TIM 023B + .add_SIO 0241 + .add_JOY 0247 + .remove_int 024D + .add_int 026D + .wait_vbl_done 0289 + _wait_vbl_done 0289 + _display_off 02A0 + .display_off 02A0 + .serial_IO 02C1 + _mode 02F0 + _get_mode 02F9 + _enable_interrupts 02FE + _disable_interrupts 0300 + _reset 0302 + .reset 0302 + _set_interrupts 0308 + _remove_VBL 0313 + _remove_LCD 031E + _remove_TIM 0329 + _remove_SIO 0334 + _remove_JOY 033F + _add_VBL 034A + _add_LCD 0355 + _add_TIM 0360 + _add_SIO 036B + _add_JOY 0376 + _clock 0381 + __printTStates 038A + banked_call 038B + banked_ret 03A4 +AREA _BASE + RADIX HEX + BASE 03AD + SIZE 0000 + ATTRIB REL CON +AREA _LIT + RADIX HEX + BASE 03AD + SIZE 0000 + ATTRIB REL CON +AREA _GSINIT + RADIX HEX + BASE 03AD + SIZE 0000 + ATTRIB REL CON + GLOBALS + gsinit 03AD +AREA _GSINITTAIL + RADIX HEX + BASE 03AD + SIZE 0001 + ATTRIB REL CON +AREA _GSFINAL + RADIX HEX + BASE 03AE + SIZE 0000 + ATTRIB REL CON +AREA _DATA + RADIX HEX + BASE C0A0 + SIZE 0000 + ATTRIB REL CON +AREA _BSS + RADIX HEX + BASE C0A0 + SIZE 0059 + ATTRIB REL CON + GLOBALS + __cpu C0A0 + .mode C0A1 + __io_out C0A2 + __io_in C0A3 + __io_status C0A4 + .vbl_done C0A5 + __current_bank C0A6 + _sys_time C0A7 + .sys_time C0A7 + .int_0x40 C0A9 + .int_0x48 C0B9 + .int_0x50 C0C9 + .int_0x58 C0D9 + .int_0x60 C0E9 +AREA _HEAP + RADIX HEX + BASE C0F9 + SIZE 0000 + ATTRIB REL CON + GLOBALS + _malloc_heap_start C0F9 +AREA _OVERLAY + RADIX HEX + BASE C0F9 + SIZE 0000 + ATTRIB REL CON +AREA _ISEG + RADIX HEX + BASE C0F9 + SIZE 0000 + ATTRIB REL CON +AREA _BSEG + RADIX HEX + BASE C0F9 + SIZE 0000 + ATTRIB REL CON +AREA _XSEG + RADIX HEX + BASE C0F9 + SIZE 0000 + ATTRIB REL CON +MODULES + FILE /home/brbuller/opt/gbdk/lib/small/asxxxx/gb/crt0.o + NAME Runtime + FILE blank.o + NAME lcc2137180 +USERBASEDEF + _CODE=0x0200 + _DATA=0xC0A0 + _CODE_1=0x4000 +USERGLOBALDEF + .OAM=0xC000 + .STACK=0xE000 + .refresh_OAM=0xFF80 + .init=0x0000 diff --git a/blank/blank.o b/blank/blank.o new file mode 100644 index 0000000..4b10920 --- /dev/null +++ b/blank/blank.o @@ -0,0 +1,15 @@ +XL +H 9 areas 1 global symbols +M lcc2137180 +A _CODE size 1 flags 0 +S _main Def0000 +A _DATA size 0 flags 0 +A _OVERLAY size 0 flags 0 +A _ISEG size 0 flags 0 +A _BSEG size 0 flags 0 +A _XSEG size 0 flags 0 +A _GSINIT size 0 flags 0 +A _GSFINAL size 0 flags 0 +A _HOME size 0 flags 0 +T 00 00 C9 +R 00 00 00 00 diff --git a/hello_world/hello_world.map b/hello_world/hello_world.map new file mode 100644 index 0000000..fd42458 --- /dev/null +++ b/hello_world/hello_world.map @@ -0,0 +1,305 @@ +AREA . .ABS. + RADIX HEX + BASE 0000 + SIZE 0000 + ATTRIB ABS OVR + GLOBALS + l__DATA 0000 + 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 + l__GSINIT 0000 + l__GSINITTAIL 0001 + l__BSS 0087 + l__HEADER 01EB + s__CODE 0200 + l__HOME 0486 + l__CODE 08A1 + s__HOME 0AA1 + l__BASE 0E24 + s__BASE 0F27 + s__GSINITTAIL 1D4B + s__LIT 1D4B + s__GSINIT 1D4B + s__GSFINAL 1D4C + .OAM C000 + s__DATA C0A0 + s__BSS C0A0 + s__HEAP C127 + s__BSEG C127 + s__ISEG C127 + s__XSEG C127 + s__OVERLAY C127 + .STACK E000 + .refresh_OAM FF80 +AREA _CODE + RADIX HEX + BASE 0200 + SIZE 08A1 + ATTRIB REL CON + GLOBALS + _main 0200 + __divschar_rrx_s 022E + __divschar_rrx_hds 0235 + __modschar_rrx_s 023C + __modschar_rrx_hds 0243 + __divsint_rrx_s 0248 + __divsint_rrx_hds 0254 + __modsint_rrx_s 025C + __modsint_rrx_hds 0268 + __divuchar_rrx_s 026E + __divuchar_rrx_hds 0275 + __moduchar_rrx_s 027C + __moduchar_rrx_hds 0283 + __divuint_rrx_s 0288 + __divuint_rrx_hds 0294 + __moduint_rrx_s 029C + __moduint_rrx_hds 02A8 + .mod8 02AE + .div8 02AE + .mod16 02B6 + .div16 02B6 + .modu8 02F0 + .divu8 02F0 + .modu16 02F3 + .divu16 02F3 + _putchar 0330 + _setchar 0339 + _gotoxy 0342 + _posx 034D + _posy 035E + .adv_gcurs 036F + .circle 038C + .horlin 042F + .verlin 0467 + .circplot 04C3 + .box 0541 + .line 0617 + .xonly 0738 + .yonly 0887 + .plot 08A8 + .wrbyte 08C5 + .getpix 0947 + .wrtchr 097C + _gotogxy 09E0 + _wrtchr 09EB + _getpix 0A00 + _color 0A0C + _circle 0A1B + _box 0A35 + _line 0A59 + _plot_point 0A71 + _plot 0A85 +AREA _HEADER + RADIX HEX + BASE 0000 + SIZE 01EB + ATTRIB ABS OVR + GLOBALS + _exit 01D2 +AREA _HOME + RADIX HEX + BASE 0AA1 + SIZE 0486 + ATTRIB REL CON + GLOBALS + .set_mode 0AA1 + .remove_VBL 0AB1 + .remove_LCD 0AB7 + .remove_TIM 0ABD + .remove_SIO 0AC3 + .remove_JOY 0AC9 + .add_VBL 0ACF + .add_LCD 0AD5 + .add_TIM 0ADB + .add_SIO 0AE1 + .add_JOY 0AE7 + .remove_int 0AED + .add_int 0B0D + .wait_vbl_done 0B29 + _wait_vbl_done 0B29 + _display_off 0B40 + .display_off 0B40 + .serial_IO 0B61 + _mode 0B90 + _get_mode 0B99 + _enable_interrupts 0B9E + _disable_interrupts 0BA0 + _reset 0BA2 + .reset 0BA2 + _set_interrupts 0BA8 + _remove_VBL 0BB3 + _remove_LCD 0BBE + _remove_TIM 0BC9 + _remove_SIO 0BD4 + _remove_JOY 0BDF + _add_VBL 0BEA + _add_LCD 0BF5 + _add_TIM 0C00 + _add_SIO 0C0B + _add_JOY 0C16 + _clock 0C21 + __printTStates 0C2A + banked_call 0C2B + banked_ret 0C44 + _printf 0C4D + _sprintf 0C6A +AREA _BASE + RADIX HEX + BASE 0F27 + SIZE 0E24 + ATTRIB REL CON + GLOBALS + font_copy_uncompressed 0F27 + font_copy_compressed 0F5D + font_load 0FB2 + font_copy_current 0FFA + font_set 1042 + .put_char 104F + .out_char 1068 + .del_char 106F + _font_load 10CA + _font_set 10D8 + _font_init 10E7 + _cls 1109 + .cls 1109 + .cr_curs 113B + .adv_curs 1150 + .tmode 11AC + .tmode_out 11D5 + _font_load_ibm_fixed 11E5 + _font_ibm_fixed 11EC + _font_ibm_fixed_tiles 12EE + .gmode 1AEE + .vbl 1B50 + .lcd 1B5B + .draw_image 1B68 + .switch_data 1B72 + _switch_data 1BA9 + _draw_image 1BC4 + .y_table 1BD7 + .init_vram 1CF7 + .init_wtt 1D05 + .init_btt 1D15 + .init_tt 1D23 + .copy_vram 1D29 + _get_data 1D38 + _set_data 1D38 +AREA _LIT + RADIX HEX + BASE 1D4B + SIZE 0000 + ATTRIB REL CON +AREA _GSINIT + RADIX HEX + BASE 1D4B + SIZE 0000 + ATTRIB REL CON + GLOBALS + gsinit 1D4B +AREA _GSINITTAIL + RADIX HEX + BASE 1D4B + SIZE 0001 + ATTRIB REL CON +AREA _GSFINAL + RADIX HEX + BASE 1D4C + SIZE 0000 + ATTRIB REL CON +AREA _DATA + RADIX HEX + BASE C0A0 + SIZE 0000 + ATTRIB REL CON +AREA _BSS + RADIX HEX + BASE C0A0 + SIZE 0087 + ATTRIB REL CON + GLOBALS + __cpu C0A0 + .mode C0A1 + __io_out C0A2 + __io_in C0A3 + __io_status C0A4 + .vbl_done C0A5 + __current_bank C0A6 + _sys_time C0A7 + .sys_time C0A7 + .int_0x40 C0A9 + .int_0x48 C0B9 + .int_0x50 C0C9 + .int_0x58 C0D9 + .int_0x60 C0E9 + font_current C0FC + font_first_free_tile C0FF + font_table C100 + .curx C112 + .cury C113 + .fg_colour C114 + .bg_colour C115 +AREA _HEAP + RADIX HEX + BASE C127 + SIZE 0000 + ATTRIB REL CON + GLOBALS + _malloc_heap_start C127 +AREA _OVERLAY + RADIX HEX + BASE C127 + SIZE 0000 + ATTRIB REL CON +AREA _ISEG + RADIX HEX + BASE C127 + SIZE 0000 + ATTRIB REL CON +AREA _BSEG + RADIX HEX + BASE C127 + SIZE 0000 + ATTRIB REL CON +AREA _XSEG + RADIX HEX + BASE C127 + SIZE 0000 + ATTRIB REL CON +MODULES + FILE /home/brbuller/opt/gbdk/lib/small/asxxxx/gb/crt0.o + NAME Runtime + FILE hello_world.o + NAME lcc2164950 +LIBRARIES + LIBRARY /home/brbuller/opt/gbdk/lib/small/asxxxx/gbz80/gbz80.lib + MODULE printf.o + LIBRARY /home/brbuller/opt/gbdk/lib/small/asxxxx/gbz80/gbz80.lib + MODULE div.o + LIBRARY /home/brbuller/opt/gbdk/lib/small/asxxxx/gb/gb.lib + MODULE font.o + LIBRARY /home/brbuller/opt/gbdk/lib/small/asxxxx/gb/gb.lib + MODULE ibmfixed.o + LIBRARY /home/brbuller/opt/gbdk/lib/small/asxxxx/gb/gb.lib + MODULE drawing.o + LIBRARY /home/brbuller/opt/gbdk/lib/small/asxxxx/gb/gb.lib + MODULE init_tt.o + LIBRARY /home/brbuller/opt/gbdk/lib/small/asxxxx/gb/gb.lib + MODULE cpy_data.o +USERBASEDEF + _CODE=0x0200 + _DATA=0xC0A0 + _CODE_1=0x4000 +USERGLOBALDEF + .OAM=0xC000 + .STACK=0xE000 + .refresh_OAM=0xFF80 + .init=0x0000 diff --git a/hello_world/hello_world.o b/hello_world/hello_world.o new file mode 100644 index 0000000..424fd42 --- /dev/null +++ b/hello_world/hello_world.o @@ -0,0 +1,22 @@ +XL +H 9 areas 2 global symbols +M lcc2164950 +S _printf Ref0000 +A _CODE size 2E flags 0 +S _main Def0000 +A _DATA size 0 flags 0 +A _OVERLAY size 0 flags 0 +A _ISEG size 0 flags 0 +A _BSEG size 0 flags 0 +A _XSEG size 0 flags 0 +A _GSINIT size 0 flags 0 +A _GSFINAL size 0 flags 0 +A _HOME size 0 flags 0 +T 00 00 21 13 00 E5 CD 00 00 E8 02 21 20 00 E5 CD +R 00 00 00 00 00 03 00 00 02 07 00 00 00 0C 00 00 +T 0E 00 00 00 E8 02 C9 48 65 6C 6C 6F 20 57 6F 72 +R 00 00 00 00 02 02 00 00 +T 1C 00 6C 64 21 00 0A 0A 50 72 65 73 73 20 53 74 +R 00 00 00 00 +T 2A 00 61 72 74 00 +R 00 00 00 00 diff --git a/input_state/input_state.map b/input_state/input_state.map new file mode 100644 index 0000000..46b4b42 --- /dev/null +++ b/input_state/input_state.map @@ -0,0 +1,318 @@ +AREA . .ABS. + RADIX HEX + BASE 0000 + SIZE 0000 + ATTRIB ABS OVR + GLOBALS + l__DATA 0000 + 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 + l__GSINIT 0000 + l__GSINITTAIL 0001 + l__BSS 0087 + l__HEADER 01EB + s__CODE 0200 + l__HOME 0486 + l__CODE 0954 + s__HOME 0B54 + l__BASE 0EBA + s__BASE 0FDA + s__GSINITTAIL 1E94 + s__LIT 1E94 + s__GSINIT 1E94 + s__GSFINAL 1E95 + .OAM C000 + s__DATA C0A0 + s__BSS C0A0 + s__HEAP C127 + s__BSEG C127 + s__ISEG C127 + s__XSEG C127 + s__OVERLAY C127 + .STACK E000 + .refresh_OAM FF80 +AREA _CODE + RADIX HEX + BASE 0200 + SIZE 0954 + ATTRIB REL CON + GLOBALS + _printAndWait 0200 + _main 0215 + __divschar_rrx_s 02E1 + __divschar_rrx_hds 02E8 + __modschar_rrx_s 02EF + __modschar_rrx_hds 02F6 + __divsint_rrx_s 02FB + __divsint_rrx_hds 0307 + __modsint_rrx_s 030F + __modsint_rrx_hds 031B + __divuchar_rrx_s 0321 + __divuchar_rrx_hds 0328 + __moduchar_rrx_s 032F + __moduchar_rrx_hds 0336 + __divuint_rrx_s 033B + __divuint_rrx_hds 0347 + __moduint_rrx_s 034F + __moduint_rrx_hds 035B + .mod8 0361 + .div8 0361 + .mod16 0369 + .div16 0369 + .modu8 03A3 + .divu8 03A3 + .modu16 03A6 + .divu16 03A6 + _putchar 03E3 + _setchar 03EC + _gotoxy 03F5 + _posx 0400 + _posy 0411 + .adv_gcurs 0422 + .circle 043F + .horlin 04E2 + .verlin 051A + .circplot 0576 + .box 05F4 + .line 06CA + .xonly 07EB + .yonly 093A + .plot 095B + .wrbyte 0978 + .getpix 09FA + .wrtchr 0A2F + _gotogxy 0A93 + _wrtchr 0A9E + _getpix 0AB3 + _color 0ABF + _circle 0ACE + _box 0AE8 + _line 0B0C + _plot_point 0B24 + _plot 0B38 +AREA _HEADER + RADIX HEX + BASE 0000 + SIZE 01EB + ATTRIB ABS OVR + GLOBALS + _exit 01D2 +AREA _HOME + RADIX HEX + BASE 0B54 + SIZE 0486 + ATTRIB REL CON + GLOBALS + .set_mode 0B54 + .remove_VBL 0B64 + .remove_LCD 0B6A + .remove_TIM 0B70 + .remove_SIO 0B76 + .remove_JOY 0B7C + .add_VBL 0B82 + .add_LCD 0B88 + .add_TIM 0B8E + .add_SIO 0B94 + .add_JOY 0B9A + .remove_int 0BA0 + .add_int 0BC0 + .wait_vbl_done 0BDC + _wait_vbl_done 0BDC + _display_off 0BF3 + .display_off 0BF3 + .serial_IO 0C14 + _mode 0C43 + _get_mode 0C4C + _enable_interrupts 0C51 + _disable_interrupts 0C53 + _reset 0C55 + .reset 0C55 + _set_interrupts 0C5B + _remove_VBL 0C66 + _remove_LCD 0C71 + _remove_TIM 0C7C + _remove_SIO 0C87 + _remove_JOY 0C92 + _add_VBL 0C9D + _add_LCD 0CA8 + _add_TIM 0CB3 + _add_SIO 0CBE + _add_JOY 0CC9 + _clock 0CD4 + __printTStates 0CDD + banked_call 0CDE + banked_ret 0CF7 + _printf 0D00 + _sprintf 0D1D +AREA _BASE + RADIX HEX + BASE 0FDA + SIZE 0EBA + ATTRIB REL CON + GLOBALS + .padup 0FDA + _waitpadup 0FDA + .jpad 0FEA + .wait_pad 1017 + _joypad 101E + _waitpad 1023 + .delay 102D + _delay 1067 + font_copy_uncompressed 1070 + font_copy_compressed 10A6 + font_load 10FB + font_copy_current 1143 + font_set 118B + .put_char 1198 + .out_char 11B1 + .del_char 11B8 + _font_load 1213 + _font_set 1221 + _font_init 1230 + _cls 1252 + .cls 1252 + .cr_curs 1284 + .adv_curs 1299 + .tmode 12F5 + .tmode_out 131E + _font_load_ibm_fixed 132E + _font_ibm_fixed 1335 + _font_ibm_fixed_tiles 1437 + .gmode 1C37 + .vbl 1C99 + .lcd 1CA4 + .draw_image 1CB1 + .switch_data 1CBB + _switch_data 1CF2 + _draw_image 1D0D + .y_table 1D20 + .init_vram 1E40 + .init_wtt 1E4E + .init_btt 1E5E + .init_tt 1E6C + .copy_vram 1E72 + _get_data 1E81 + _set_data 1E81 +AREA _LIT + RADIX HEX + BASE 1E94 + SIZE 0000 + ATTRIB REL CON +AREA _GSINIT + RADIX HEX + BASE 1E94 + SIZE 0000 + ATTRIB REL CON + GLOBALS + gsinit 1E94 +AREA _GSINITTAIL + RADIX HEX + BASE 1E94 + SIZE 0001 + ATTRIB REL CON +AREA _GSFINAL + RADIX HEX + BASE 1E95 + SIZE 0000 + ATTRIB REL CON +AREA _DATA + RADIX HEX + BASE C0A0 + SIZE 0000 + ATTRIB REL CON +AREA _BSS + RADIX HEX + BASE C0A0 + SIZE 0087 + ATTRIB REL CON + GLOBALS + __cpu C0A0 + .mode C0A1 + __io_out C0A2 + __io_in C0A3 + __io_status C0A4 + .vbl_done C0A5 + __current_bank C0A6 + _sys_time C0A7 + .sys_time C0A7 + .int_0x40 C0A9 + .int_0x48 C0B9 + .int_0x50 C0C9 + .int_0x58 C0D9 + .int_0x60 C0E9 + font_current C0FC + font_first_free_tile C0FF + font_table C100 + .curx C112 + .cury C113 + .fg_colour C114 + .bg_colour C115 +AREA _HEAP + RADIX HEX + BASE C127 + SIZE 0000 + ATTRIB REL CON + GLOBALS + _malloc_heap_start C127 +AREA _OVERLAY + RADIX HEX + BASE C127 + SIZE 0000 + ATTRIB REL CON +AREA _ISEG + RADIX HEX + BASE C127 + SIZE 0000 + ATTRIB REL CON +AREA _BSEG + RADIX HEX + BASE C127 + SIZE 0000 + ATTRIB REL CON +AREA _XSEG + RADIX HEX + BASE C127 + SIZE 0000 + ATTRIB REL CON +MODULES + FILE /home/brbuller/opt/gbdk/lib/small/asxxxx/gb/crt0.o + NAME Runtime + FILE input_state.o + NAME lcc2232240 +LIBRARIES + LIBRARY /home/brbuller/opt/gbdk/lib/small/asxxxx/gb/gb.lib + MODULE pad.o + LIBRARY /home/brbuller/opt/gbdk/lib/small/asxxxx/gb/gb.lib + MODULE delay.o + LIBRARY /home/brbuller/opt/gbdk/lib/small/asxxxx/gbz80/gbz80.lib + MODULE printf.o + LIBRARY /home/brbuller/opt/gbdk/lib/small/asxxxx/gbz80/gbz80.lib + MODULE div.o + LIBRARY /home/brbuller/opt/gbdk/lib/small/asxxxx/gb/gb.lib + MODULE font.o + LIBRARY /home/brbuller/opt/gbdk/lib/small/asxxxx/gb/gb.lib + MODULE ibmfixed.o + LIBRARY /home/brbuller/opt/gbdk/lib/small/asxxxx/gb/gb.lib + MODULE drawing.o + LIBRARY /home/brbuller/opt/gbdk/lib/small/asxxxx/gb/gb.lib + MODULE init_tt.o + LIBRARY /home/brbuller/opt/gbdk/lib/small/asxxxx/gb/gb.lib + MODULE cpy_data.o +USERBASEDEF + _CODE=0x0200 + _DATA=0xC0A0 + _CODE_1=0x4000 +USERGLOBALDEF + .OAM=0xC000 + .STACK=0xE000 + .refresh_OAM=0xFF80 + .init=0x0000 diff --git a/input_state/input_state.o b/input_state/input_state.o new file mode 100644 index 0000000..f41af59 --- /dev/null +++ b/input_state/input_state.o @@ -0,0 +1,53 @@ +XL +H 9 areas 5 global symbols +M lcc2232240 +S _joypad Ref0000 +S _delay Ref0000 +S _printf Ref0000 +A _CODE size E1 flags 0 +S _main Def0015 +S _printAndWait Def0000 +A _DATA size 0 flags 0 +A _OVERLAY size 0 flags 0 +A _ISEG size 0 flags 0 +A _BSEG size 0 flags 0 +A _XSEG size 0 flags 0 +A _GSINIT size 0 flags 0 +A _GSFINAL size 0 flags 0 +A _HOME size 0 flags 0 +T 00 00 F8 02 2A 66 6F E5 CD 00 00 E8 02 21 64 00 +R 00 00 00 00 02 09 02 00 +T 0E 00 E5 CD 00 00 E8 02 C9 CD 00 00 4B 79 FE 01 +R 00 00 00 00 02 04 01 00 02 0A 00 00 +T 1C 00 CA 58 00 79 FE 02 CA 4C 00 79 FE 04 CA +R 00 00 00 00 00 03 00 00 00 09 00 00 +T 29 00 64 00 79 FE 08 CA 70 00 79 FE 10 CA 94 00 +R 00 00 00 00 00 02 00 00 00 08 00 00 00 0E 00 00 +T 37 00 79 FE 20 CA A0 00 79 FE 40 CA 88 00 79 FE +R 00 00 00 00 00 06 00 00 00 0C 00 00 +T 45 00 80 CA 7C 00 C3 15 00 21 AD 00 E5 CD +R 00 00 00 00 00 04 00 00 00 07 00 00 00 0A 00 00 +T 51 00 00 00 E8 02 C3 15 00 21 B4 00 E5 CD +R 00 00 00 00 00 02 00 00 00 07 00 00 00 0A 00 00 +T 5D 00 00 00 E8 02 C3 15 00 21 BC 00 E5 CD +R 00 00 00 00 00 02 00 00 00 07 00 00 00 0A 00 00 +T 69 00 00 00 E8 02 C3 15 00 21 C1 00 E5 CD +R 00 00 00 00 00 02 00 00 00 07 00 00 00 0A 00 00 +T 75 00 00 00 E8 02 C3 15 00 21 C8 00 E5 CD +R 00 00 00 00 00 02 00 00 00 07 00 00 00 0A 00 00 +T 81 00 00 00 E8 02 C3 15 00 21 D0 00 E5 CD +R 00 00 00 00 00 02 00 00 00 07 00 00 00 0A 00 00 +T 8D 00 00 00 E8 02 C3 15 00 21 D9 00 E5 CD +R 00 00 00 00 00 02 00 00 00 07 00 00 00 0A 00 00 +T 99 00 00 00 E8 02 C3 15 00 21 DD 00 E5 CD +R 00 00 00 00 00 02 00 00 00 07 00 00 00 0A 00 00 +T A5 00 00 00 E8 02 C3 15 00 C9 4C 65 66 74 21 0A +R 00 00 00 00 00 02 00 00 00 07 00 00 +T B3 00 00 52 69 67 68 74 21 0A 00 55 70 21 0A 00 +R 00 00 00 00 +T C1 00 44 6F 77 6E 21 0A 00 53 74 61 72 74 21 0A +R 00 00 00 00 +T CF 00 00 53 65 6C 65 63 74 21 0A 00 41 21 0A 00 +R 00 00 00 00 +T DD 00 42 21 0A 00 +R 00 00 00 00 diff --git a/input_wait/input_wait.map b/input_wait/input_wait.map new file mode 100644 index 0000000..227916c --- /dev/null +++ b/input_wait/input_wait.map @@ -0,0 +1,313 @@ +AREA . .ABS. + RADIX HEX + BASE 0000 + SIZE 0000 + ATTRIB ABS OVR + GLOBALS + l__DATA 0000 + 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 + l__GSINIT 0000 + l__GSINITTAIL 0001 + l__BSS 0087 + l__HEADER 01EB + s__CODE 0200 + l__HOME 0486 + l__CODE 08F8 + s__HOME 0AF8 + l__BASE 0E77 + s__BASE 0F7E + s__GSINITTAIL 1DF5 + s__LIT 1DF5 + s__GSINIT 1DF5 + s__GSFINAL 1DF6 + .OAM C000 + s__DATA C0A0 + s__BSS C0A0 + s__HEAP C127 + s__BSEG C127 + s__ISEG C127 + s__XSEG C127 + s__OVERLAY C127 + .STACK E000 + .refresh_OAM FF80 +AREA _CODE + RADIX HEX + BASE 0200 + SIZE 08F8 + ATTRIB REL CON + GLOBALS + _main 0200 + __divschar_rrx_s 0285 + __divschar_rrx_hds 028C + __modschar_rrx_s 0293 + __modschar_rrx_hds 029A + __divsint_rrx_s 029F + __divsint_rrx_hds 02AB + __modsint_rrx_s 02B3 + __modsint_rrx_hds 02BF + __divuchar_rrx_s 02C5 + __divuchar_rrx_hds 02CC + __moduchar_rrx_s 02D3 + __moduchar_rrx_hds 02DA + __divuint_rrx_s 02DF + __divuint_rrx_hds 02EB + __moduint_rrx_s 02F3 + __moduint_rrx_hds 02FF + .mod8 0305 + .div8 0305 + .mod16 030D + .div16 030D + .modu8 0347 + .divu8 0347 + .modu16 034A + .divu16 034A + _putchar 0387 + _setchar 0390 + _gotoxy 0399 + _posx 03A4 + _posy 03B5 + .adv_gcurs 03C6 + .circle 03E3 + .horlin 0486 + .verlin 04BE + .circplot 051A + .box 0598 + .line 066E + .xonly 078F + .yonly 08DE + .plot 08FF + .wrbyte 091C + .getpix 099E + .wrtchr 09D3 + _gotogxy 0A37 + _wrtchr 0A42 + _getpix 0A57 + _color 0A63 + _circle 0A72 + _box 0A8C + _line 0AB0 + _plot_point 0AC8 + _plot 0ADC +AREA _HEADER + RADIX HEX + BASE 0000 + SIZE 01EB + ATTRIB ABS OVR + GLOBALS + _exit 01D2 +AREA _HOME + RADIX HEX + BASE 0AF8 + SIZE 0486 + ATTRIB REL CON + GLOBALS + .set_mode 0AF8 + .remove_VBL 0B08 + .remove_LCD 0B0E + .remove_TIM 0B14 + .remove_SIO 0B1A + .remove_JOY 0B20 + .add_VBL 0B26 + .add_LCD 0B2C + .add_TIM 0B32 + .add_SIO 0B38 + .add_JOY 0B3E + .remove_int 0B44 + .add_int 0B64 + .wait_vbl_done 0B80 + _wait_vbl_done 0B80 + _display_off 0B97 + .display_off 0B97 + .serial_IO 0BB8 + _mode 0BE7 + _get_mode 0BF0 + _enable_interrupts 0BF5 + _disable_interrupts 0BF7 + _reset 0BF9 + .reset 0BF9 + _set_interrupts 0BFF + _remove_VBL 0C0A + _remove_LCD 0C15 + _remove_TIM 0C20 + _remove_SIO 0C2B + _remove_JOY 0C36 + _add_VBL 0C41 + _add_LCD 0C4C + _add_TIM 0C57 + _add_SIO 0C62 + _add_JOY 0C6D + _clock 0C78 + __printTStates 0C81 + banked_call 0C82 + banked_ret 0C9B + _printf 0CA4 + _sprintf 0CC1 +AREA _BASE + RADIX HEX + BASE 0F7E + SIZE 0E77 + ATTRIB REL CON + GLOBALS + .padup 0F7E + _waitpadup 0F7E + .jpad 0F8E + .wait_pad 0FBB + _joypad 0FC2 + _waitpad 0FC7 + font_copy_uncompressed 0FD1 + font_copy_compressed 1007 + font_load 105C + font_copy_current 10A4 + font_set 10EC + .put_char 10F9 + .out_char 1112 + .del_char 1119 + _font_load 1174 + _font_set 1182 + _font_init 1191 + _cls 11B3 + .cls 11B3 + .cr_curs 11E5 + .adv_curs 11FA + .tmode 1256 + .tmode_out 127F + _font_load_ibm_fixed 128F + _font_ibm_fixed 1296 + _font_ibm_fixed_tiles 1398 + .gmode 1B98 + .vbl 1BFA + .lcd 1C05 + .draw_image 1C12 + .switch_data 1C1C + _switch_data 1C53 + _draw_image 1C6E + .y_table 1C81 + .init_vram 1DA1 + .init_wtt 1DAF + .init_btt 1DBF + .init_tt 1DCD + .copy_vram 1DD3 + _get_data 1DE2 + _set_data 1DE2 +AREA _LIT + RADIX HEX + BASE 1DF5 + SIZE 0000 + ATTRIB REL CON +AREA _GSINIT + RADIX HEX + BASE 1DF5 + SIZE 0000 + ATTRIB REL CON + GLOBALS + gsinit 1DF5 +AREA _GSINITTAIL + RADIX HEX + BASE 1DF5 + SIZE 0001 + ATTRIB REL CON +AREA _GSFINAL + RADIX HEX + BASE 1DF6 + SIZE 0000 + ATTRIB REL CON +AREA _DATA + RADIX HEX + BASE C0A0 + SIZE 0000 + ATTRIB REL CON +AREA _BSS + RADIX HEX + BASE C0A0 + SIZE 0087 + ATTRIB REL CON + GLOBALS + __cpu C0A0 + .mode C0A1 + __io_out C0A2 + __io_in C0A3 + __io_status C0A4 + .vbl_done C0A5 + __current_bank C0A6 + _sys_time C0A7 + .sys_time C0A7 + .int_0x40 C0A9 + .int_0x48 C0B9 + .int_0x50 C0C9 + .int_0x58 C0D9 + .int_0x60 C0E9 + font_current C0FC + font_first_free_tile C0FF + font_table C100 + .curx C112 + .cury C113 + .fg_colour C114 + .bg_colour C115 +AREA _HEAP + RADIX HEX + BASE C127 + SIZE 0000 + ATTRIB REL CON + GLOBALS + _malloc_heap_start C127 +AREA _OVERLAY + RADIX HEX + BASE C127 + SIZE 0000 + ATTRIB REL CON +AREA _ISEG + RADIX HEX + BASE C127 + SIZE 0000 + ATTRIB REL CON +AREA _BSEG + RADIX HEX + BASE C127 + SIZE 0000 + ATTRIB REL CON +AREA _XSEG + RADIX HEX + BASE C127 + SIZE 0000 + ATTRIB REL CON +MODULES + FILE /home/brbuller/opt/gbdk/lib/small/asxxxx/gb/crt0.o + NAME Runtime + FILE input_wait.o + NAME lcc2236500 +LIBRARIES + LIBRARY /home/brbuller/opt/gbdk/lib/small/asxxxx/gb/gb.lib + MODULE pad.o + LIBRARY /home/brbuller/opt/gbdk/lib/small/asxxxx/gbz80/gbz80.lib + MODULE printf.o + LIBRARY /home/brbuller/opt/gbdk/lib/small/asxxxx/gbz80/gbz80.lib + MODULE div.o + LIBRARY /home/brbuller/opt/gbdk/lib/small/asxxxx/gb/gb.lib + MODULE font.o + LIBRARY /home/brbuller/opt/gbdk/lib/small/asxxxx/gb/gb.lib + MODULE ibmfixed.o + LIBRARY /home/brbuller/opt/gbdk/lib/small/asxxxx/gb/gb.lib + MODULE drawing.o + LIBRARY /home/brbuller/opt/gbdk/lib/small/asxxxx/gb/gb.lib + MODULE init_tt.o + LIBRARY /home/brbuller/opt/gbdk/lib/small/asxxxx/gb/gb.lib + MODULE cpy_data.o +USERBASEDEF + _CODE=0x0200 + _DATA=0xC0A0 + _CODE_1=0x4000 +USERGLOBALDEF + .OAM=0xC000 + .STACK=0xE000 + .refresh_OAM=0xFF80 + .init=0x0000 diff --git a/input_wait/input_wait.o b/input_wait/input_wait.o new file mode 100644 index 0000000..4444809 --- /dev/null +++ b/input_wait/input_wait.o @@ -0,0 +1,36 @@ +XL +H 9 areas 4 global symbols +M lcc2236500 +S _waitpad Ref0000 +S _waitpadup Ref0000 +S _printf Ref0000 +A _CODE size 85 flags 0 +S _main Def0000 +A _DATA size 0 flags 0 +A _OVERLAY size 0 flags 0 +A _ISEG size 0 flags 0 +A _BSEG size 0 flags 0 +A _XSEG size 0 flags 0 +A _GSINIT size 0 flags 0 +A _GSFINAL size 0 flags 0 +A _HOME size 0 flags 0 +T 00 00 21 3D 00 E5 CD 00 00 E8 02 3E 80 F5 33 CD +R 00 00 00 00 00 03 00 00 02 07 02 00 +T 0E 00 00 00 E8 01 21 4B 00 E5 CD 00 00 E8 02 3E +R 00 00 00 00 02 02 00 00 00 07 00 00 02 0B 02 00 +T 1C 00 10 F5 33 CD 00 00 E8 01 21 61 00 E5 CD +R 00 00 00 00 02 06 00 00 00 0B 00 00 +T 29 00 00 00 E8 02 CD 00 00 21 73 00 E5 CD +R 00 00 00 00 02 02 02 00 02 07 01 00 00 0A 00 00 +T 35 00 00 00 E8 02 C3 00 00 C9 50 72 65 73 73 20 +R 00 00 00 00 02 02 02 00 00 07 00 00 +T 43 00 53 74 61 72 74 0A 0A 00 50 6C 65 61 73 65 +R 00 00 00 00 +T 51 00 20 68 6F 6C 64 20 64 6F 77 6E 20 41 21 0A +R 00 00 00 00 +T 5F 00 0A 00 48 6F 6C 64 69 6E 67 20 64 6F 77 6E +R 00 00 00 00 +T 6D 00 20 41 21 0A 0A 00 54 69 72 65 64 20 61 6C +R 00 00 00 00 +T 7B 00 72 65 61 64 79 3F 0A 0A 0A 00 +R 00 00 00 00 diff --git a/move_sprite/move_sprite.map b/move_sprite/move_sprite.map new file mode 100644 index 0000000..75f0740 --- /dev/null +++ b/move_sprite/move_sprite.map @@ -0,0 +1,231 @@ +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 + l__GSINITTAIL 0001 + l__DATA 0010 + l__GSINIT 0018 + l__BSS 0059 + l__CODE 012E + l__BASE 0168 + l__HOME 01D3 + l__HEADER 01E1 + s__CODE 0200 + s__HOME 032E + s__BASE 0501 + s__LIT 0669 + s__GSINIT 0669 + s__GSINITTAIL 0681 + s__GSFINAL 0682 + .OAM C000 + s__DATA C0A0 + s__BSS C0B0 + s__HEAP C109 + s__BSEG C109 + s__ISEG C109 + s__XSEG C109 + s__OVERLAY C109 + .STACK E000 + .refresh_OAM FF80 +AREA _CODE + RADIX HEX + BASE 0200 + SIZE 012E + ATTRIB REL CON + GLOBALS + _main 0200 +AREA _HEADER + RADIX HEX + BASE 0000 + SIZE 01E1 + ATTRIB ABS OVR + GLOBALS + _exit 01D2 +AREA _HOME + RADIX HEX + BASE 032E + SIZE 01D3 + ATTRIB REL CON + GLOBALS + .set_mode 032E + .remove_VBL 033E + .remove_LCD 0344 + .remove_TIM 034A + .remove_SIO 0350 + .remove_JOY 0356 + .add_VBL 035C + .add_LCD 0362 + .add_TIM 0368 + .add_SIO 036E + .add_JOY 0374 + .remove_int 037A + .add_int 039A + .wait_vbl_done 03B6 + _wait_vbl_done 03B6 + _display_off 03CD + .display_off 03CD + .serial_IO 03EE + _mode 041D + _get_mode 0426 + _enable_interrupts 042B + _disable_interrupts 042D + _reset 042F + .reset 042F + _set_interrupts 0435 + _remove_VBL 0440 + _remove_LCD 044B + _remove_TIM 0456 + _remove_SIO 0461 + _remove_JOY 046C + _add_VBL 0477 + _add_LCD 0482 + _add_TIM 048D + _add_SIO 0498 + _add_JOY 04A3 + _clock 04AE + __printTStates 04B7 + banked_call 04B8 + banked_ret 04D1 + __initrleblock 04DA +AREA _BASE + RADIX HEX + BASE 0501 + SIZE 0168 + ATTRIB REL CON + GLOBALS + .mv_sprite 0501 + _move_sprite 0510 + _set_win_data 051D + _set_bkg_data 051D + _set_sprite_data 056A + .padup 0599 + _waitpadup 0599 + .jpad 05A9 + .wait_pad 05D6 + _joypad 05DD + _waitpad 05E2 + .set_sprite_tile 05EC + _set_sprite_tile 05F9 + .delay 0604 + _delay 063E + .copy_vram 0647 + _get_data 0656 + _set_data 0656 +AREA _LIT + RADIX HEX + BASE 0669 + SIZE 0000 + ATTRIB REL CON +AREA _GSINIT + RADIX HEX + BASE 0669 + SIZE 0018 + ATTRIB REL CON + GLOBALS + gsinit 0669 +AREA _GSINITTAIL + RADIX HEX + BASE 0681 + SIZE 0001 + ATTRIB REL CON +AREA _GSFINAL + RADIX HEX + BASE 0682 + SIZE 0000 + ATTRIB REL CON +AREA _DATA + RADIX HEX + BASE C0A0 + SIZE 0010 + ATTRIB REL CON + GLOBALS + _ufo C0A0 +AREA _BSS + RADIX HEX + BASE C0B0 + SIZE 0059 + ATTRIB REL CON + GLOBALS + __cpu C0B0 + .mode C0B1 + __io_out C0B2 + __io_in C0B3 + __io_status C0B4 + .vbl_done C0B5 + __current_bank C0B6 + _sys_time C0B7 + .sys_time C0B7 + .int_0x40 C0B9 + .int_0x48 C0C9 + .int_0x50 C0D9 + .int_0x58 C0E9 + .int_0x60 C0F9 +AREA _HEAP + RADIX HEX + BASE C109 + SIZE 0000 + ATTRIB REL CON + GLOBALS + _malloc_heap_start C109 +AREA _OVERLAY + RADIX HEX + BASE C109 + SIZE 0000 + ATTRIB REL CON +AREA _ISEG + RADIX HEX + BASE C109 + SIZE 0000 + ATTRIB REL CON +AREA _BSEG + RADIX HEX + BASE C109 + SIZE 0000 + ATTRIB REL CON +AREA _XSEG + RADIX HEX + BASE C109 + SIZE 0000 + ATTRIB REL CON +MODULES + FILE /home/brbuller/opt/gbdk/lib/small/asxxxx/gb/crt0.o + NAME Runtime + FILE move_sprite.o + NAME lcc2241580 +LIBRARIES + LIBRARY /home/brbuller/opt/gbdk/lib/small/asxxxx/gbz80/gbz80.lib + MODULE crt0_rle.o + LIBRARY /home/brbuller/opt/gbdk/lib/small/asxxxx/gb/gb.lib + MODULE mv_spr.o + LIBRARY /home/brbuller/opt/gbdk/lib/small/asxxxx/gb/gb.lib + MODULE set_data.o + LIBRARY /home/brbuller/opt/gbdk/lib/small/asxxxx/gb/gb.lib + MODULE pad.o + LIBRARY /home/brbuller/opt/gbdk/lib/small/asxxxx/gb/gb.lib + MODULE set_spr.o + LIBRARY /home/brbuller/opt/gbdk/lib/small/asxxxx/gb/gb.lib + MODULE delay.o + LIBRARY /home/brbuller/opt/gbdk/lib/small/asxxxx/gb/gb.lib + MODULE cpy_data.o +USERBASEDEF + _CODE=0x0200 + _DATA=0xC0A0 + _CODE_1=0x4000 +USERGLOBALDEF + .OAM=0xC000 + .STACK=0xE000 + .refresh_OAM=0xFF80 + .init=0x0000 diff --git a/move_sprite/move_sprite.o b/move_sprite/move_sprite.o new file mode 100644 index 0000000..ada8db1 --- /dev/null +++ b/move_sprite/move_sprite.o @@ -0,0 +1,68 @@ +XL +H 9 areas 8 global symbols +M lcc2241580 +S __initrleblock Ref0000 +S _move_sprite Ref0000 +S _set_sprite_data Ref0000 +S _joypad Ref0000 +S _delay Ref0000 +S _set_sprite_tile Ref0000 +A _CODE size 12E flags 0 +S _main Def0000 +A _DATA size 10 flags 0 +S _ufo Def0000 +A _OVERLAY size 0 flags 0 +A _ISEG size 0 flags 0 +A _BSEG size 0 flags 0 +A _XSEG size 0 flags 0 +A _GSINIT size 18 flags 0 +A _GSFINAL size 0 flags 0 +A _HOME size 0 flags 0 +T 00 00 21 00 00 CD 00 00 10 5A 3C E3 42 7C 99 EB +R 00 00 06 00 00 03 01 00 02 06 00 00 +T 0E 00 A5 FB A5 66 99 E7 42 5A 3C 00 +R 00 00 06 00 +T 00 00 E8 F9 F8 05 36 37 23 36 00 F8 03 36 4B 23 +R 00 00 00 00 +T 0E 00 36 00 01 40 FF F8 01 36 40 23 36 FF 2B 5E +R 00 00 00 00 +T 1C 00 23 56 1A 2B 2B 77 7F E6 FB 02 21 00 00 E5 +R 00 00 00 00 00 0D 01 00 +T 2A 00 21 00 00 E5 CD 00 00 E8 04 21 00 00 E5 CD +R 00 00 00 00 02 07 02 00 +T 38 00 00 00 E8 02 21 37 4B E5 3E 00 F5 33 CD +R 00 00 00 00 02 02 05 00 +T 45 00 00 00 E8 03 01 40 FF F8 01 36 40 23 36 FF +R 00 00 00 00 02 02 01 00 +T 53 00 2B 5E 23 56 1A 2B 2B 77 7F F6 02 02 CD +R 00 00 00 00 +T 60 00 00 00 4B 79 E6 01 20 03 C3 90 00 F8 05 34 +R 00 00 00 00 02 02 03 00 00 0B 00 00 +T 6E 00 20 02 23 34 F8 03 4E 23 23 46 79 F5 33 78 +R 00 00 00 00 +T 7C 00 F5 33 3E 00 F5 33 CD 00 00 E8 03 21 0A 00 +R 00 00 00 00 02 09 01 00 +T 8A 00 E5 CD 00 00 E8 02 CD 00 00 4B 79 E6 02 20 +R 00 00 00 00 02 04 04 00 02 09 03 00 +T 98 00 03 C3 C4 00 F8 05 5E 23 56 1B 2B 73 23 72 +R 00 00 00 00 00 04 00 00 +T A6 00 F8 03 4E 23 23 46 79 F5 33 78 F5 33 3E 00 +R 00 00 00 00 +T B4 00 F5 33 CD 00 00 E8 03 21 0A 00 E5 CD 00 00 +R 00 00 00 00 02 05 01 00 02 0E 04 00 +T C2 00 E8 02 CD 00 00 4B 79 E6 04 20 03 C3 F7 00 +R 00 00 00 00 02 05 03 00 00 0E 00 00 +T D0 00 F8 03 5E 23 56 1B 2B 73 23 72 2B 4E 23 23 +R 00 00 00 00 +T DE 00 46 79 F5 33 78 F5 33 3E 00 F5 33 CD 00 00 +R 00 00 00 00 02 0E 01 00 +T EC 00 E8 03 21 0A 00 E5 CD 00 00 E8 02 CD 00 00 +R 00 00 00 00 02 09 04 00 02 0E 03 00 +T FA 00 4B 79 E6 08 20 03 C3 5F 00 F8 03 34 20 02 +R 00 00 00 00 00 09 00 00 +T 08 01 23 34 F8 03 4E 23 23 46 79 F5 33 78 F5 33 +R 00 00 00 00 +T 16 01 3E 00 F5 33 CD 00 00 E8 03 21 0A 00 E5 CD +R 00 00 00 00 02 07 01 00 +T 24 01 00 00 E8 02 C3 5F 00 E8 07 C9 +R 00 00 00 00 02 02 04 00 00 07 00 00 diff --git a/small_sprite/small_sprite.map b/small_sprite/small_sprite.map new file mode 100644 index 0000000..c16612a --- /dev/null +++ b/small_sprite/small_sprite.map @@ -0,0 +1,221 @@ +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 + l__GSINITTAIL 0001 + l__DATA 0020 + l__GSINIT 0030 + l__CODE 0054 + l__BSS 0059 + l__BASE 00D2 + l__HOME 01D3 + l__HEADER 01E1 + s__CODE 0200 + s__HOME 0254 + s__BASE 0427 + s__LIT 04F9 + s__GSINIT 04F9 + s__GSINITTAIL 0529 + s__GSFINAL 052A + .OAM C000 + s__DATA C0A0 + s__BSS C0C0 + s__HEAP C119 + s__BSEG C119 + s__ISEG C119 + s__XSEG C119 + s__OVERLAY C119 + .STACK E000 + .refresh_OAM FF80 +AREA _CODE + RADIX HEX + BASE 0200 + SIZE 0054 + ATTRIB REL CON + GLOBALS + _main 0200 +AREA _HEADER + RADIX HEX + BASE 0000 + SIZE 01E1 + ATTRIB ABS OVR + GLOBALS + _exit 01D2 +AREA _HOME + RADIX HEX + BASE 0254 + SIZE 01D3 + ATTRIB REL CON + GLOBALS + .set_mode 0254 + .remove_VBL 0264 + .remove_LCD 026A + .remove_TIM 0270 + .remove_SIO 0276 + .remove_JOY 027C + .add_VBL 0282 + .add_LCD 0288 + .add_TIM 028E + .add_SIO 0294 + .add_JOY 029A + .remove_int 02A0 + .add_int 02C0 + .wait_vbl_done 02DC + _wait_vbl_done 02DC + _display_off 02F3 + .display_off 02F3 + .serial_IO 0314 + _mode 0343 + _get_mode 034C + _enable_interrupts 0351 + _disable_interrupts 0353 + _reset 0355 + .reset 0355 + _set_interrupts 035B + _remove_VBL 0366 + _remove_LCD 0371 + _remove_TIM 037C + _remove_SIO 0387 + _remove_JOY 0392 + _add_VBL 039D + _add_LCD 03A8 + _add_TIM 03B3 + _add_SIO 03BE + _add_JOY 03C9 + _clock 03D4 + __printTStates 03DD + banked_call 03DE + banked_ret 03F7 + __initrleblock 0400 +AREA _BASE + RADIX HEX + BASE 0427 + SIZE 00D2 + ATTRIB REL CON + GLOBALS + .mv_sprite 0427 + _move_sprite 0436 + _set_win_data 0443 + _set_bkg_data 0443 + _set_sprite_data 0490 + .set_sprite_tile 04BF + _set_sprite_tile 04CC + .copy_vram 04D7 + _get_data 04E6 + _set_data 04E6 +AREA _LIT + RADIX HEX + BASE 04F9 + SIZE 0000 + ATTRIB REL CON +AREA _GSINIT + RADIX HEX + BASE 04F9 + SIZE 0030 + ATTRIB REL CON + GLOBALS + gsinit 04F9 +AREA _GSINITTAIL + RADIX HEX + BASE 0529 + SIZE 0001 + ATTRIB REL CON +AREA _GSFINAL + RADIX HEX + BASE 052A + SIZE 0000 + ATTRIB REL CON +AREA _DATA + RADIX HEX + BASE C0A0 + SIZE 0020 + ATTRIB REL CON + GLOBALS + _sprite C0B0 +AREA _BSS + RADIX HEX + BASE C0C0 + SIZE 0059 + ATTRIB REL CON + GLOBALS + __cpu C0C0 + .mode C0C1 + __io_out C0C2 + __io_in C0C3 + __io_status C0C4 + .vbl_done C0C5 + __current_bank C0C6 + _sys_time C0C7 + .sys_time C0C7 + .int_0x40 C0C9 + .int_0x48 C0D9 + .int_0x50 C0E9 + .int_0x58 C0F9 + .int_0x60 C109 +AREA _HEAP + RADIX HEX + BASE C119 + SIZE 0000 + ATTRIB REL CON + GLOBALS + _malloc_heap_start C119 +AREA _OVERLAY + RADIX HEX + BASE C119 + SIZE 0000 + ATTRIB REL CON +AREA _ISEG + RADIX HEX + BASE C119 + SIZE 0000 + ATTRIB REL CON +AREA _BSEG + RADIX HEX + BASE C119 + SIZE 0000 + ATTRIB REL CON +AREA _XSEG + RADIX HEX + BASE C119 + SIZE 0000 + ATTRIB REL CON +MODULES + FILE /home/brbuller/opt/gbdk/lib/small/asxxxx/gb/crt0.o + NAME Runtime + FILE small_sprite.o + NAME lcc2182930 + FILE sprite.o + NAME lcc2182970 +LIBRARIES + LIBRARY /home/brbuller/opt/gbdk/lib/small/asxxxx/gbz80/gbz80.lib + MODULE crt0_rle.o + LIBRARY /home/brbuller/opt/gbdk/lib/small/asxxxx/gb/gb.lib + MODULE mv_spr.o + LIBRARY /home/brbuller/opt/gbdk/lib/small/asxxxx/gb/gb.lib + MODULE set_data.o + LIBRARY /home/brbuller/opt/gbdk/lib/small/asxxxx/gb/gb.lib + MODULE set_spr.o + LIBRARY /home/brbuller/opt/gbdk/lib/small/asxxxx/gb/gb.lib + MODULE cpy_data.o +USERBASEDEF + _CODE=0x0200 + _DATA=0xC0A0 + _CODE_1=0x4000 +USERGLOBALDEF + .OAM=0xC000 + .STACK=0xE000 + .refresh_OAM=0xFF80 + .init=0x0000 diff --git a/small_sprite/small_sprite.o b/small_sprite/small_sprite.o new file mode 100644 index 0000000..56a762e --- /dev/null +++ b/small_sprite/small_sprite.o @@ -0,0 +1,36 @@ +XL +H 9 areas 6 global symbols +M lcc2182930 +S __initrleblock Ref0000 +S _move_sprite Ref0000 +S _set_sprite_data Ref0000 +S _set_sprite_tile Ref0000 +A _CODE size 54 flags 0 +S _main Def0000 +A _DATA size 10 flags 0 +S _sprite Def0000 +A _OVERLAY size 0 flags 0 +A _ISEG size 0 flags 0 +A _BSEG size 0 flags 0 +A _XSEG size 0 flags 0 +A _GSINIT size 18 flags 0 +A _GSFINAL size 0 flags 0 +A _HOME size 0 flags 0 +T 00 00 21 00 00 CD 00 00 10 7E 00 99 00 81 00 A5 +R 00 00 06 00 00 03 01 00 02 06 00 00 +T 0E 00 00 81 00 DB 00 C3 00 3C 00 00 +R 00 00 06 00 +T 00 00 E8 FD 01 40 FF F8 01 36 40 23 36 FF 2B 5E +R 00 00 00 00 +T 0E 00 23 56 1A 2B 2B 77 7F E6 FB 02 21 00 00 E5 +R 00 00 00 00 00 0D 01 00 +T 1C 00 21 00 08 E5 CD 00 00 E8 04 21 00 00 E5 CD +R 00 00 00 00 02 07 02 00 +T 2A 00 00 00 E8 02 21 32 32 E5 3E 00 F5 33 CD +R 00 00 00 00 02 02 03 00 +T 37 00 00 00 E8 03 01 40 FF F8 01 36 40 23 36 FF +R 00 00 00 00 02 02 01 00 +T 45 00 2B 5E 23 56 1A 2B 2B 77 7F F6 02 02 E8 03 +R 00 00 00 00 +T 53 00 C9 +R 00 00 00 00 diff --git a/small_sprite/sprite.o b/small_sprite/sprite.o new file mode 100644 index 0000000..879a302 --- /dev/null +++ b/small_sprite/sprite.o @@ -0,0 +1,18 @@ +XL +H 9 areas 2 global symbols +M lcc2182970 +S __initrleblock Ref0000 +A _CODE size 0 flags 0 +A _DATA size 10 flags 0 +S _sprite Def0000 +A _OVERLAY size 0 flags 0 +A _ISEG size 0 flags 0 +A _BSEG size 0 flags 0 +A _XSEG size 0 flags 0 +A _GSINIT size 18 flags 0 +A _GSFINAL size 0 flags 0 +A _HOME size 0 flags 0 +T 00 00 21 00 00 CD 00 00 10 7E 00 99 00 81 00 A5 +R 00 00 06 00 00 03 01 00 02 06 00 00 +T 0E 00 00 81 00 DB 00 C3 00 3C 00 00 +R 00 00 06 00 diff --git a/window/bg.map b/window/bg.map new file mode 100644 index 0000000..0996e52 --- /dev/null +++ b/window/bg.map @@ -0,0 +1,19 @@ +const unsigned char bg_tilemap[] = { +0x01,0x01,0x02,0x03,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,0x10,0x03,0x03, +0x01,0x01,0x11,0x03,0x03,0x12,0x13,0x03,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x0F,0x1C,0x1D,0x03, +0x1E,0x1F,0x20,0x03,0x03,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x0F,0x2C,0x2D,0x2E, +0x03,0x03,0x03,0x03,0x2F,0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x0F,0x3B,0x0F,0x3C, +0x3D,0x3E,0x3F,0x03,0x40,0x41,0x42,0x43,0x44,0x45,0x0F,0x46,0x47,0x48,0x49,0x4A,0x0F,0x4B,0x0F,0x4C, +0x4D,0x4E,0x4F,0x03,0x50,0x51,0x52,0x53,0x54,0x55,0x0F,0x0F,0x56,0x57,0x58,0x59,0x0F,0x5A,0x5B,0x5C, +0x5D,0x5E,0x5F,0x03,0x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x0F,0x0F,0x6B,0x03,0x03, +0x6C,0x6D,0x6E,0x03,0x6F,0x70,0x71,0x72,0x0F,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x7B,0x03,0x7C, +0x7D,0x7E,0x7F,0x03,0x03,0x03,0x80,0x03,0x81,0x82,0x83,0x84,0x85,0x86,0x03,0x03,0x03,0x03,0x03,0x87, +0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x88,0x89,0x8A,0x01,0x8B,0x8C,0x01,0x01,0x01,0x01,0x01,0x01, +0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x8D,0x8E,0x01,0x01,0x8F,0x90,0x01,0x01,0x01,0x01,0x01,0x01, +0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x91,0x01,0x01,0x01,0x01,0x92,0x01,0x01,0x01,0x01,0x01,0x01, +0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x93,0x01,0x01,0x01,0x01,0x94,0x01,0x01,0x01,0x01,0x01,0x01, +0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x95,0x01,0x01,0x01,0x01,0x96,0x97,0x01,0x01,0x01,0x01,0x01, +0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, +0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, +0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, +0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01}; diff --git a/window/main.o b/window/main.o new file mode 100644 index 0000000..2b7360d --- /dev/null +++ b/window/main.o @@ -0,0 +1,470 @@ +XL +H 9 areas A global symbols +M lcc2264200 +S _move_win Ref0000 +S _set_win_data Ref0000 +S _set_win_tiles Ref0000 +S _set_bkg_data Ref0000 +S _set_bkg_tiles Ref0000 +A _CODE size C3E flags 0 +S _main Def0000 +S _bg_tiledata Def0076 +S _border Def0B5E +S _bg_tilemap Def09F6 +S _window Def0BEE +A _DATA size 0 flags 0 +A _OVERLAY size 0 flags 0 +A _ISEG size 0 flags 0 +A _BSEG size 0 flags 0 +A _XSEG size 0 flags 0 +A _GSINIT size 0 flags 0 +A _GSFINAL size 0 flags 0 +A _HOME size 0 flags 0 +T 00 00 E8 FD 21 76 00 E5 21 00 98 E5 CD 00 00 E8 +R 00 00 00 00 00 05 00 00 02 0D 03 00 +T 0E 00 04 21 F6 09 E5 21 14 12 E5 21 00 00 E5 CD +R 00 00 00 00 00 04 00 00 +T 1C 00 00 00 E8 06 01 40 FF F8 01 36 40 23 36 FF +R 00 00 00 00 02 02 04 00 +T 2A 00 2B 5E 23 56 1A 2B 2B 77 7F F6 01 02 21 +R 00 00 00 00 +T 37 00 5E 0B E5 21 98 09 E5 CD 00 00 E8 04 21 +R 00 00 00 00 00 02 00 00 02 0A 01 00 +T 44 00 EE 0B E5 21 14 04 E5 21 00 00 E5 CD 00 00 +R 00 00 00 00 00 02 00 00 02 0E 02 00 +T 52 00 E8 06 21 07 70 E5 CD 00 00 E8 02 01 40 FF +R 00 00 00 00 02 09 00 00 +T 60 00 F8 01 36 40 23 36 FF 2B 5E 23 56 1A 2B 2B +R 00 00 00 00 +T 6E 00 77 7F F6 20 02 E8 03 C9 00 00 00 00 00 00 +R 00 00 00 00 +T 7C 00 00 00 00 00 00 00 00 00 00 00 FF FF FF FF +R 00 00 00 00 +T 8A 00 FF FF FF FF FF FF FF FF FF FF FF FF FC FF +R 00 00 00 00 +T 98 00 FE FF FC FF FE FF FC FF FE FF FC FF FE FF +R 00 00 00 00 +T A6 00 00 FF 00 FF 00 FF 00 FF 00 FF 00 FF 00 FF +R 00 00 00 00 +T B4 00 00 FF 3E FF 3E FF 3E FF 3E FF 3E FF 3F FF +R 00 00 00 00 +T C2 00 1F FF 3F FF 3F FF 7F FF 7F FF FD FF FA FF +R 00 00 00 00 +T D0 00 F9 FF D4 FF AA FF 00 FF 80 FF 00 FF 80 FF +R 00 00 00 00 +T DE 00 80 FF 20 FF 40 FF 20 FF 00 FF 00 FF 02 FF +R 00 00 00 00 +T EC 00 00 FF 23 FF 01 FF 20 FF 15 FF 80 FF 00 FF +R 00 00 00 00 +T FA 00 81 FF 81 FF 04 FF 84 FF 88 FF 40 FF 9E FF +R 00 00 00 00 +T 08 01 82 FF 3B FE 12 FF 00 FF 04 FB 00 FF 40 FF +R 00 00 00 00 +T 16 01 FC 03 ED 12 BC 43 EE 11 38 C7 0E F1 01 FE +R 00 00 00 00 +T 24 01 00 FF 4A B5 55 AA 2A D5 AA 55 95 6A CA B5 +R 00 00 00 00 +T 32 01 2A D5 AA 55 B6 49 5B A4 D5 2A AF 50 4B B4 +R 00 00 00 00 +T 40 01 AA 55 B7 58 A1 5E 1F E0 CD 32 5F A0 ED 12 +R 00 00 00 00 +T 4E 01 BF 40 8F 70 16 E9 D7 28 FF 00 F7 08 BE 41 +R 00 00 00 00 +T 5C 01 FF 00 DF 20 ED 12 FF 00 FF 00 FF 00 FF 00 +R 00 00 00 00 +T 6A 01 FF 00 FF 00 FF 00 FF 00 FF 00 FF 00 78 FF +R 00 00 00 00 +T 78 01 B8 FF 78 FF 78 FF 58 FF 58 FF 78 FF 58 FF +R 00 00 00 00 +T 86 01 FC FF FE FF FC FF FC FF FE FF FE FF FA FF +R 00 00 00 00 +T 94 01 FE FF 3F FF 1F FF 3F FF 1F FF 3F FF 1E FF +R 00 00 00 00 +T A2 01 1E FF 1F FF D4 FF C4 FF 90 FF 04 FF 08 FF +R 00 00 00 00 +T B0 01 08 FF 00 FF 08 FF 01 FF 00 FF 01 FF 08 FF +R 00 00 00 00 +T BE 01 01 FF 00 FF 02 FF 00 FF 20 FF D0 FF 40 FF +R 00 00 00 00 +T CC 01 48 F7 82 FF 88 F7 80 FF 0A F7 00 FF 80 FF +R 00 00 00 00 +T DA 01 00 FF 00 FF 00 FF 04 FB 01 FE 00 FF 01 FE +R 00 00 00 00 +T E8 01 00 FF 00 FF 00 FF 02 FD 40 BF 20 DF 10 EF +R 00 00 00 00 +T F6 01 55 AA 55 AA AD 5A 2A D5 2A D5 2D D6 15 EA +R 00 00 00 00 +T 04 02 15 EE 57 A8 48 B7 35 CA 95 6A AA 5D 33 DC +R 00 00 00 00 +T 12 02 8A F5 B2 FD B7 48 93 6C 6F D0 B6 49 7B C4 +R 00 00 00 00 +T 20 02 89 76 BE 61 C6 39 DB 24 FF 00 FD 02 DF 20 +R 00 00 00 00 +T 2E 02 F5 0A 5F A0 D5 2A BD 42 78 FF 58 FF 78 FF +R 00 00 00 00 +T 3C 02 B8 FF 78 FF 38 FF 78 FF 28 FF 00 FF 00 FF +R 00 00 00 00 +T 4A 02 00 FF 00 FF 00 FF 00 FF 06 F9 02 FD FF FF +R 00 00 00 00 +T 58 02 FF FF FF FF 00 FF 00 FF 00 FF 00 FF 00 FF +R 00 00 00 00 +T 66 02 FD FF FF FF 6F FF 00 FF 00 FF 00 FF 00 FF +R 00 00 00 00 +T 74 02 00 FF EC FF FE FF CC FF 00 FF 00 FF 00 FF +R 00 00 00 00 +T 82 02 00 FF 00 FF 1E FF 1E FF 1E FF 1E FF 1E FF +R 00 00 00 00 +T 90 02 1E FF 1F FF 1E FF 00 FF 00 FF 08 FF 00 FF +R 00 00 00 00 +T 9E 02 00 FF 00 FF 00 FF 00 FF 00 FF 00 FF 80 FF +R 00 00 00 00 +T AC 02 00 FF 00 FF 00 FF 00 FF 00 FF 01 FF 00 FF +R 00 00 00 00 +T BA 02 00 FF 00 FF 00 FF 01 FF 00 FF 00 FF 00 FF +R 00 00 00 00 +T C8 02 84 FF 00 FF 00 FF 20 FF 00 FF 00 FF 80 FF +R 00 00 00 00 +T D6 02 00 FF 3B C4 3C C3 3F C0 70 8F 7C 83 7D 82 +R 00 00 00 00 +T E4 02 FF 00 10 EF 9F 60 51 AE 29 D6 60 9F 70 8F +R 00 00 00 00 +T F2 02 FF 00 F7 08 0C F7 0B F6 06 FD A2 DD 0C FB +R 00 00 00 00 +T 00 03 8D 7B 42 FF 15 EB 55 EA 78 FF 96 ED F4 6F +R 00 00 00 00 +T 0E 03 1B FE CB 7F B5 FF BD 6F 15 EA B6 5B AA 55 +R 00 00 00 00 +T 1C 03 A7 5A 1C EB A6 5B 5A AD 8A 75 C5 3A 25 DA +R 00 00 00 00 +T 2A 03 F5 AA 49 F6 B5 EA F5 7E BD FA BD 5E 78 FF +R 00 00 00 00 +T 38 03 58 FF 70 FF 58 FF 78 FF 59 FE FB FC 5B FC +R 00 00 00 00 +T 46 03 03 FC 03 FC 03 FC 03 FC 03 FC FF 00 FF 00 +R 00 00 00 00 +T 54 03 FF 00 00 FF 00 FF 00 FF 00 FF 40 BF F0 0F +R 00 00 00 00 +T 62 03 F0 0F F0 0F 00 FF 00 FF 1F FF 07 FF 30 FF +R 00 00 00 00 +T 70 03 2B FC 1A F5 15 FA 1F FF 1E FF FF FF FF FF +R 00 00 00 00 +T 7E 03 02 FF F5 0A 11 EE AD 52 00 FF 08 FF FF FF +R 00 00 00 00 +T 8C 03 FF FF 2B FF A9 57 13 EF 45 BB 00 FF 00 FF +R 00 00 00 00 +T 9A 03 80 FF 00 FF 00 FF 00 FF 00 FF 80 7F 04 FF +R 00 00 00 00 +T A8 03 00 FF 00 FF 00 FF 00 FF 00 FF 00 FF 00 FF +R 00 00 00 00 +T B6 03 22 DD 80 FF 01 FE 80 FF 10 FF 09 FE 00 FF +R 00 00 00 00 +T C4 03 00 FF FE 01 FE 01 FD 02 FF 00 FD 02 FE 01 +R 00 00 00 00 +T D2 03 FD 02 FF 00 D7 28 03 FC DA 25 E9 16 04 FB +R 00 00 00 00 +T E0 03 06 F9 00 FF 1E FF 1A F7 9A 77 17 ED 15 EA +R 00 00 00 00 +T EE 03 14 FF 87 FD 04 FB 05 FA F5 FF AA FF B5 5F +R 00 00 00 00 +T FC 03 AD D7 92 7F 5D AB B2 5D 1A ED 5B AD 49 B6 +R 00 00 00 00 +T 0A 04 92 6D 4B B4 B2 6D 5D A6 A2 5F 56 AB 55 FE +R 00 00 00 00 +T 18 04 5D AE EB BE 7D AE 17 FC FD AE 95 FE DD FE +R 00 00 00 00 +T 26 04 73 FC 5B FC F3 7C BB FC DB 7C 5B FC DB 7C +R 00 00 00 00 +T 34 04 5B FC F0 0F F0 0F F0 0F F0 0F F0 0F F0 0F +R 00 00 00 00 +T 42 04 F0 0F F0 0F 00 FF D0 FF FF FF FF FF EA FF +R 00 00 00 00 +T 50 04 80 FF 3F C0 BF C0 00 FF 02 FF FF FF FF FF +R 00 00 00 00 +T 5E 04 95 FF 00 FF FF 00 FF 00 00 FF 00 FF F0 FF +R 00 00 00 00 +T 6C 04 F8 FF 30 FF 10 FF 98 7F B0 5F 1A F5 13 FC +R 00 00 00 00 +T 7A 04 2A F5 1A F5 0E F9 12 FD 26 F9 3A FD A2 5D +R 00 00 00 00 +T 88 04 48 B7 B5 4E A9 56 94 6B AB 55 8A 7F AB 57 +R 00 00 00 00 +T 96 04 21 DF A9 57 0B F5 40 BF 56 EB 11 FF CB 75 +R 00 00 00 00 +T A4 04 50 FF 00 FF 80 FF 80 7F 80 FF 00 FF 80 FF +R 00 00 00 00 +T B2 04 00 FF 80 FF 00 FF 00 FF 00 FF 00 FF 00 FF +R 00 00 00 00 +T C0 04 00 FF 1F FF 3B C7 80 FF 01 FE 03 FC 87 F8 +R 00 00 00 00 +T CE 04 BF C0 BF C0 BF C0 DF E0 BF 7F BF 7F BF 7F +R 00 00 00 00 +T DC 04 3F FF 6D 97 6F 97 DE 27 F7 08 35 EA 05 FA +R 00 00 00 00 +T EA 04 39 EF 8C 7B 6A D5 17 ED A8 57 CF 35 4A B5 +R 00 00 00 00 +T F8 04 3B D5 92 6D AA 55 6A B5 52 BD 2B D5 42 FD +R 00 00 00 00 +T 06 05 95 6F 56 AB AB 5F 9D 6B A7 5B 35 EF DF 6B +R 00 00 00 00 +T 14 05 8D 7B B5 FE DF FE 75 FE BF FE F5 FE 7D BE +R 00 00 00 00 +T 22 05 6D FA 7B DC 7B FC 9B FC 7B FC 5B FC 7B FC +R 00 00 00 00 +T 30 05 5B FC 7B FC 5B FC E0 1F E0 1F F0 0F F0 0F +R 00 00 00 00 +T 3E 05 F0 0F F0 0F F0 0F F0 0F BF C0 BF C0 BE C1 +R 00 00 00 00 +T 4C 05 8F F0 B5 CA AA D5 AA D5 AA D7 7F 80 BF C0 +R 00 00 00 00 +T 5A 05 9F E0 EF B0 37 D8 27 D8 AF 50 AF D0 A8 5F +R 00 00 00 00 +T 68 05 88 7F D0 3F A8 5F B8 5F C8 3F B8 5F 88 7F +R 00 00 00 00 +T 76 05 0A F5 2B FC 12 FD 1B FC 12 FD 2B FC 12 FD +R 00 00 00 00 +T 84 05 2B FC 45 FF 26 FD A9 DE A5 DF 4D BE 54 EF +R 00 00 00 00 +T 92 05 55 FF 4E BB 2B F5 B2 FD A9 F7 7B F5 81 FF +R 00 00 00 00 +T A0 05 FA 75 51 FF BA F5 00 FF 80 FF 01 FE 81 FE +R 00 00 00 00 +T AE 05 03 FC 83 FC 83 FC 83 FC FF 03 FD 03 7E 81 +R 00 00 00 00 +T BC 05 5E A1 FF 00 BC 43 79 86 FD 02 EF F0 F7 F8 +R 00 00 00 00 +T CA 05 FF F8 FB FC F9 7E 3D FE 7F BE 3E FF 61 9F +R 00 00 00 00 +T D8 05 15 FB F1 1E FC 1F F5 1A ED 1E DA 3D FC 1F +R 00 00 00 00 +T E6 05 A8 57 6D DA 49 BF D6 AD 34 EF 57 AD C8 77 +R 00 00 00 00 +T F4 05 DE 75 5B EF 57 ED 1F FB A5 DF 1D FA D6 6D +R 00 00 00 00 +T 02 06 5A B5 DF AA 69 F6 75 DA 93 EC DB 74 55 AA +R 00 00 00 00 +T 10 06 77 A8 AB 54 6F B0 7B FC 9B FC 7B FC 58 FF +R 00 00 00 00 +T 1E 06 D8 FF 70 FF B8 FF D8 FF FF 00 FF 00 FF 00 +R 00 00 00 00 +T 2C 06 00 FF 00 FF 00 FF 00 FF 00 FF F0 0F F0 0F +R 00 00 00 00 +T 3A 06 C0 3F 00 FF 00 FF 00 FF 00 FF 00 FF 97 EC +R 00 00 00 00 +T 48 06 A2 DF 94 EF AB D4 9A EF AA D7 9A ED D6 EF +R 00 00 00 00 +T 56 06 57 A8 A7 58 7B AC 23 FC FB 74 51 FE AB 54 +R 00 00 00 00 +T 64 06 89 76 C8 3F C8 3F 98 7F C8 3F A8 5F C8 3F +R 00 00 00 00 +T 72 06 98 7F E8 1F 12 FD 2B FC 12 FD 1B FC 15 FA +R 00 00 00 00 +T 80 06 39 FE 16 F9 1B FC 31 EF D5 3A A8 57 4B B4 +R 00 00 00 00 +T 8E 06 F4 0B 55 AA B5 4A DA 25 A1 FF BB F5 A0 FF +R 00 00 00 00 +T 9C 06 4A B5 AB 55 50 AF 53 AD A8 57 07 F8 83 FC +R 00 00 00 00 +T AA 06 86 F9 83 FC 85 FA 87 F8 83 FC 85 FA 72 8D +R 00 00 00 00 +T B8 06 F2 0D F8 07 D4 2B EF 19 F6 09 FF 00 FD 02 +R 00 00 00 00 +T C6 06 3F FF BF 7F 9F 7F 3F FF DF 7F DF 7F 8F FF +R 00 00 00 00 +T D4 06 AF 7F 7F 80 7F 80 BF C0 BF C0 DF E0 6F F0 +R 00 00 00 00 +T E2 06 E7 F8 7F F8 FF 00 FE 01 FD 02 FD 02 FA 05 +R 00 00 00 00 +T F0 06 F9 06 F1 0E F3 0C DA 3D 9D 7E 7F BC 7D BE +R 00 00 00 00 +T FE 06 7D BE 5D FE 6F FC E9 7E A2 5F FF 03 7A 85 +R 00 00 00 00 +T 0C 07 FD 02 FF 00 FF 00 7F 80 FF 00 54 EB FF 00 +R 00 00 00 00 +T 1A 07 FF 80 7F 80 FF 00 FF 00 FF 00 FF 00 78 FF +R 00 00 00 00 +T 28 07 58 FF F0 FF 38 FF F8 FF 38 FF F8 FF 98 FF +R 00 00 00 00 +T 36 07 93 EE EE D3 8B F4 D0 EF AA D5 CA F5 92 ED +R 00 00 00 00 +T 44 07 8A F5 65 DA 35 FA AB 74 D5 2A 55 AA 94 6B +R 00 00 00 00 +T 52 07 AA 55 95 6A 88 7F C8 3F C8 3F 48 BF 88 7F +R 00 00 00 00 +T 60 07 E8 1F 88 7F 48 BF 12 FD 12 FD 1B FC 0B FF +R 00 00 00 00 +T 6E 07 2F FF 16 FF 00 FF 00 FF AA 55 EA 15 10 EF +R 00 00 00 00 +T 7C 07 7F FF FF FF BA FF 00 FF 00 FF 52 AD AA 55 +R 00 00 00 00 +T 8A 07 57 FF FF FF FE FF A8 FF 04 FF 00 FF 83 FC +R 00 00 00 00 +T 98 07 81 FE 41 FE 83 FC 83 FC 01 FE 01 FE 01 FE +R 00 00 00 00 +T A6 07 4F BF C7 3E CF 3F E6 1F D7 2F D6 2F E7 1F +R 00 00 00 00 +T B4 07 A6 5F D7 F8 FF F0 EF B0 EF F0 7F D0 BF C8 +R 00 00 00 00 +T C2 07 7F 82 FF 00 E7 18 E1 1F EF 1F AD 5F D7 3F +R 00 00 00 00 +T D0 07 9B 7F 3F FB 3F FF 7F FC D9 FE FB EC F9 FE +R 00 00 00 00 +T DE 07 BA ED E9 FE F5 7E F9 FE 7F 80 FF 00 4A B5 +R 00 00 00 00 +T EC 07 FF 3F BF 7F FF 3F 7F BF 80 7F FF 00 FF 00 +R 00 00 00 00 +T FA 07 5F A0 FF FF FF FF FF FF FF FF 00 FF FF 00 +R 00 00 00 00 +T 08 08 FF 00 FF 00 FF FF FF FF FF FF FF FF 10 FF +R 00 00 00 00 +T 16 08 FF 00 FF 00 FF 00 FB FF FF FF FF FF FF FF +R 00 00 00 00 +T 24 08 AD FF 70 FF F8 FF B8 FF F8 FF D8 FF F0 FF +R 00 00 00 00 +T 32 08 F8 FF 50 FF 00 FF 00 FF 04 FF 00 FF 04 FF +R 00 00 00 00 +T 40 08 00 FF 2A FF 00 FF B2 DD 80 FF FF FF FF FF +R 00 00 00 00 +T 4E 08 FF FF FF FF FF FF 80 FF 44 BB 00 FF FF FF +R 00 00 00 00 +T 5C 08 FF FF FF FF FF FF 6A FF 01 FF 18 FF 18 FF +R 00 00 00 00 +T 6A 08 F8 FF F8 FF F8 FF C0 FF 00 FF 00 FF 08 FF +R 00 00 00 00 +T 78 08 00 FF 00 FF 00 FF 00 FF 00 FF 00 FF 00 FF +R 00 00 00 00 +T 86 08 FF 00 FF 00 FF 00 3F C0 7F 80 7F 80 3F C0 +R 00 00 00 00 +T 94 08 3F C0 D5 2E C3 3C 87 78 9F 60 7F 80 7F 80 +R 00 00 00 00 +T A2 08 FF 00 FF 00 F8 07 FF 00 FA 05 FF 01 E9 17 +R 00 00 00 00 +T B0 08 FD 03 AB 57 DB 27 FF 7F 7F FF FF FF FF FF +R 00 00 00 00 +T BE 08 FF FF FF FF FF FF FF FF BD FE F5 FE FD BE +R 00 00 00 00 +T CC 08 FD FE FC FF FD FE F9 FE F0 FF 40 BF 40 BF +R 00 00 00 00 +T DA 08 80 7F 80 7F C0 3F 40 BF 80 7F C2 3F 10 FF +R 00 00 00 00 +T E8 08 14 FF 80 FF 28 FF 10 FF 88 FF 00 FF 00 FF +R 00 00 00 00 +T F6 08 1F E0 1F E0 1F E0 0F F0 0E F1 07 F8 07 F8 +R 00 00 00 00 +T 04 09 03 FC FF 00 FF 00 FE 01 FE 01 F5 0A F5 0A +R 00 00 00 00 +T 12 09 D8 27 EA 15 6F 97 A7 5F AF 5F 9F 7F 5F BF +R 00 00 00 00 +T 20 09 3F FF BF 7F 7F FF F3 FC F0 FF E9 FE F0 FF +R 00 00 00 00 +T 2E 09 E1 FE F8 FF F1 FE F8 FF 94 7F DF 3F 9F 7F +R 00 00 00 00 +T 3C 09 DF 3F 5F BF 5F BF 7F 9F 4F BF 07 F8 01 FE +R 00 00 00 00 +T 4A 09 04 FF 06 FF 07 FF 07 FF 07 FF 03 FF 84 7B +R 00 00 00 00 +T 58 09 45 BB 13 EF 07 FF 0F FF FF FF FF FF BF FF +R 00 00 00 00 +T 66 09 F9 FE FC FF F9 FE FE FF FC FF FF FF FD FF +R 00 00 00 00 +T 74 09 FD FF 6F 9F 2F DF 57 AF 57 AF 17 EF 17 EF +R 00 00 00 00 +T 82 09 2B D7 8B F7 0F FF 07 FF 0F FF 07 FF 0F FF +R 00 00 00 00 +T 90 09 0F FF 5F FF 0F F7 AB D7 CB F7 DB E7 4B F7 +R 00 00 00 00 +T 9E 09 CD F3 C5 FB C9 77 ED F3 1F FE 0F FF 1B FF +R 00 00 00 00 +T AC 09 0F FF 1F FF 1F FF 3F FF 1F EF E5 FB F5 FB +R 00 00 00 00 +T BA 09 F5 FB F5 FB E4 FB F2 FD F2 FD F0 FF 3F FF +R 00 00 00 00 +T C8 09 1F FF 1F FF 1F FF 5F FF 3F FF 3F FF 1F FF +R 00 00 00 00 +T D6 09 F2 FD F8 FF F8 FF FA FD F8 FF F8 FF F9 FE +R 00 00 00 00 +T E4 09 FC FF FF FF FF FF FF FF FF FF FF FF 7F FF +R 00 00 00 00 +T F2 09 7F FF 7F FF 01 01 02 03 03 04 05 06 07 08 +R 00 00 00 00 +T 00 0A 09 0A 0B 0C 0D 0E 0F 10 03 03 01 01 11 03 +R 00 00 00 00 +T 0E 0A 03 12 13 03 14 15 16 17 18 19 1A 1B 0F 1C +R 00 00 00 00 +T 1C 0A 1D 03 1E 1F 20 03 03 21 22 23 24 25 26 27 +R 00 00 00 00 +T 2A 0A 28 29 2A 2B 0F 2C 2D 2E 03 03 03 03 2F 30 +R 00 00 00 00 +T 38 0A 31 32 33 34 35 36 37 38 39 3A 0F 3B 0F 3C +R 00 00 00 00 +T 46 0A 3D 3E 3F 03 40 41 42 43 44 45 0F 46 47 48 +R 00 00 00 00 +T 54 0A 49 4A 0F 4B 0F 4C 4D 4E 4F 03 50 51 52 53 +R 00 00 00 00 +T 62 0A 54 55 0F 0F 56 57 58 59 0F 5A 5B 5C 5D 5E +R 00 00 00 00 +T 70 0A 5F 03 60 61 62 63 64 65 66 67 68 69 6A 0F +R 00 00 00 00 +T 7E 0A 0F 6B 03 03 6C 6D 6E 03 6F 70 71 72 0F 73 +R 00 00 00 00 +T 8C 0A 74 75 76 77 78 79 7A 7B 03 7C 7D 7E 7F 03 +R 00 00 00 00 +T 9A 0A 03 03 80 03 81 82 83 84 85 86 03 03 03 03 +R 00 00 00 00 +T A8 0A 03 87 03 03 03 03 03 03 03 03 88 89 8A 01 +R 00 00 00 00 +T B6 0A 8B 8C 01 01 01 01 01 01 03 03 03 03 03 03 +R 00 00 00 00 +T C4 0A 03 03 8D 8E 01 01 8F 90 01 01 01 01 01 01 +R 00 00 00 00 +T D2 0A 03 03 03 03 03 03 03 03 91 01 01 01 01 92 +R 00 00 00 00 +T E0 0A 01 01 01 01 01 01 03 03 03 03 03 03 03 03 +R 00 00 00 00 +T EE 0A 93 01 01 01 01 94 01 01 01 01 01 01 03 03 +R 00 00 00 00 +T FC 0A 03 03 03 03 03 03 95 01 01 01 01 96 97 01 +R 00 00 00 00 +T 0A 0B 01 01 01 01 01 01 01 01 01 01 01 01 01 01 +R 00 00 00 00 +T 18 0B 01 01 01 01 01 01 01 01 01 01 01 01 01 01 +R 00 00 00 00 +T 26 0B 01 01 01 01 01 01 01 01 01 01 01 01 01 01 +R 00 00 00 00 +T 34 0B 01 01 01 01 01 01 01 01 01 01 01 01 01 01 +R 00 00 00 00 +T 42 0B 01 01 01 01 01 01 01 01 01 01 01 01 01 01 +R 00 00 00 00 +T 50 0B 01 01 01 01 01 01 01 01 01 01 01 01 01 01 +R 00 00 00 00 +T 5E 0B 00 00 1F 1F 20 20 4F 4F 50 50 50 50 50 50 +R 00 00 00 00 +T 6C 0B 50 50 50 50 50 50 50 50 50 50 4F 4F 20 20 +R 00 00 00 00 +T 7A 0B 1F 1F 00 00 00 00 F8 F8 04 04 F2 F2 0A 0A +R 00 00 00 00 +T 88 0B 0A 0A 0A 0A 0A 0A 0A 0A 0A 0A 0A 0A 0A 0A +R 00 00 00 00 +T 96 0B F2 F2 04 04 F8 F8 00 00 00 00 FF FF 00 00 +R 00 00 00 00 +T A4 0B FF FF 00 00 00 00 00 00 00 00 00 00 00 00 +R 00 00 00 00 +T B2 0B 00 00 00 00 FF FF 00 00 FF FF 00 00 50 50 +R 00 00 00 00 +T C0 0B 50 50 50 50 50 50 50 50 50 50 50 50 50 50 +R 00 00 00 00 +T CE 0B 0A 0A 0A 0A 0A 0A 0A 0A 0A 0A 0A 0A 0A 0A +R 00 00 00 00 +T DC 0B 0A 0A 00 00 00 00 00 00 00 00 00 00 00 00 +R 00 00 00 00 +T EA 0B 00 00 00 00 98 9C 9C 9C 9C 9C 9C 9C 9C 9C +R 00 00 00 00 +T F8 0B 9C 9C 9C 9C 9C 9C 9C 9C 9C 9A 9E A0 A0 A0 +R 00 00 00 00 +T 06 0C A0 A0 A0 A0 A0 A0 A0 A0 A0 A0 A0 A0 A0 A0 +R 00 00 00 00 +T 14 0C A0 9F 9E A0 A0 A0 A0 A0 A0 A0 A0 A0 A0 A0 +R 00 00 00 00 +T 22 0C A0 A0 A0 A0 A0 A0 A0 9F 99 9D 9D 9D 9D 9D +R 00 00 00 00 +T 30 0C 9D 9D 9D 9D 9D 9D 9D 9D 9D 9D 9D 9D 9D 9B +R 00 00 00 00 diff --git a/window/window.map b/window/window.map new file mode 100644 index 0000000..d6b6e8f --- /dev/null +++ b/window/window.map @@ -0,0 +1,225 @@ +AREA . .ABS. + RADIX HEX + BASE 0000 + SIZE 0000 + ATTRIB ABS OVR + GLOBALS + l__DATA 0000 + 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 + l__GSINIT 0000 + l__GSINITTAIL 0001 + l__BSS 0059 + l__BASE 0139 + l__HOME 01AC + l__HEADER 01E1 + s__CODE 0200 + l__CODE 0C3E + s__HOME 0E3E + s__BASE 0FEA + s__GSINITTAIL 1123 + s__LIT 1123 + s__GSINIT 1123 + s__GSFINAL 1124 + .OAM C000 + s__DATA C0A0 + s__BSS C0A0 + s__HEAP C0F9 + s__BSEG C0F9 + s__ISEG C0F9 + s__XSEG C0F9 + s__OVERLAY C0F9 + .STACK E000 + .refresh_OAM FF80 +AREA _CODE + RADIX HEX + BASE 0200 + SIZE 0C3E + ATTRIB REL CON + GLOBALS + _main 0200 + _bg_tiledata 0276 + _bg_tilemap 0BF6 + _border 0D5E + _window 0DEE +AREA _HEADER + RADIX HEX + BASE 0000 + SIZE 01E1 + ATTRIB ABS OVR + GLOBALS + _exit 01D2 +AREA _HOME + RADIX HEX + BASE 0E3E + SIZE 01AC + ATTRIB REL CON + GLOBALS + .set_mode 0E3E + .remove_VBL 0E4E + .remove_LCD 0E54 + .remove_TIM 0E5A + .remove_SIO 0E60 + .remove_JOY 0E66 + .add_VBL 0E6C + .add_LCD 0E72 + .add_TIM 0E78 + .add_SIO 0E7E + .add_JOY 0E84 + .remove_int 0E8A + .add_int 0EAA + .wait_vbl_done 0EC6 + _wait_vbl_done 0EC6 + _display_off 0EDD + .display_off 0EDD + .serial_IO 0EFE + _mode 0F2D + _get_mode 0F36 + _enable_interrupts 0F3B + _disable_interrupts 0F3D + _reset 0F3F + .reset 0F3F + _set_interrupts 0F45 + _remove_VBL 0F50 + _remove_LCD 0F5B + _remove_TIM 0F66 + _remove_SIO 0F71 + _remove_JOY 0F7C + _add_VBL 0F87 + _add_LCD 0F92 + _add_TIM 0F9D + _add_SIO 0FA8 + _add_JOY 0FB3 + _clock 0FBE + __printTStates 0FC7 + banked_call 0FC8 + banked_ret 0FE1 +AREA _BASE + RADIX HEX + BASE 0FEA + SIZE 0139 + ATTRIB REL CON + GLOBALS + _move_win 0FEA + _set_win_data 0FF3 + _set_bkg_data 0FF3 + _set_sprite_data 1040 + _set_win_tiles 106F + .copy_vram 1083 + _get_data 1092 + _set_data 1092 + _set_bkg_tiles 10A5 + .set_xy_wtt 10B9 + .set_xy_btt 10CA + .set_xy_tt 10D9 + _set_tiles 110A +AREA _LIT + RADIX HEX + BASE 1123 + SIZE 0000 + ATTRIB REL CON +AREA _GSINIT + RADIX HEX + BASE 1123 + SIZE 0000 + ATTRIB REL CON + GLOBALS + gsinit 1123 +AREA _GSINITTAIL + RADIX HEX + BASE 1123 + SIZE 0001 + ATTRIB REL CON +AREA _GSFINAL + RADIX HEX + BASE 1124 + SIZE 0000 + ATTRIB REL CON +AREA _DATA + RADIX HEX + BASE C0A0 + SIZE 0000 + ATTRIB REL CON +AREA _BSS + RADIX HEX + BASE C0A0 + SIZE 0059 + ATTRIB REL CON + GLOBALS + __cpu C0A0 + .mode C0A1 + __io_out C0A2 + __io_in C0A3 + __io_status C0A4 + .vbl_done C0A5 + __current_bank C0A6 + _sys_time C0A7 + .sys_time C0A7 + .int_0x40 C0A9 + .int_0x48 C0B9 + .int_0x50 C0C9 + .int_0x58 C0D9 + .int_0x60 C0E9 +AREA _HEAP + RADIX HEX + BASE C0F9 + SIZE 0000 + ATTRIB REL CON + GLOBALS + _malloc_heap_start C0F9 +AREA _OVERLAY + RADIX HEX + BASE C0F9 + SIZE 0000 + ATTRIB REL CON +AREA _ISEG + RADIX HEX + BASE C0F9 + SIZE 0000 + ATTRIB REL CON +AREA _BSEG + RADIX HEX + BASE C0F9 + SIZE 0000 + ATTRIB REL CON +AREA _XSEG + RADIX HEX + BASE C0F9 + SIZE 0000 + ATTRIB REL CON +MODULES + FILE /home/brbuller/opt/gbdk/lib/small/asxxxx/gb/crt0.o + NAME Runtime + FILE main.o + NAME lcc2264200 +LIBRARIES + LIBRARY /home/brbuller/opt/gbdk/lib/small/asxxxx/gb/gb.lib + MODULE mv_win.o + LIBRARY /home/brbuller/opt/gbdk/lib/small/asxxxx/gb/gb.lib + MODULE set_data.o + LIBRARY /home/brbuller/opt/gbdk/lib/small/asxxxx/gb/gb.lib + MODULE set_wi_t.o + LIBRARY /home/brbuller/opt/gbdk/lib/small/asxxxx/gb/gb.lib + MODULE cpy_data.o + LIBRARY /home/brbuller/opt/gbdk/lib/small/asxxxx/gb/gb.lib + MODULE set_bk_t.o + LIBRARY /home/brbuller/opt/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 diff --git a/z_gbdk_playground_original/background/bg_data.map b/z_gbdk_playground_original/background/bg_data.map new file mode 100644 index 0000000..cc17624 --- /dev/null +++ b/z_gbdk_playground_original/background/bg_data.map @@ -0,0 +1,29 @@ +/* + Advanced PCX to GameBoy converter v2.15 + + TileMap data + Original PCX File : "BG_DATA.PCX" + + Number of Tiles : 131 + TileMap Size : 20x18 +*/ + +unsigned const char tilemap[] = { +0x01,0x02,0x03,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x05,0x06,0x07, +0x08,0x00,0x09,0x0A,0x0B,0x0C,0x0D,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x0E,0x0F,0x10,0x11,0x12,0x13, +0x14,0x00,0x00,0x12,0x15,0x00,0x00,0x16,0x17,0x17,0x18,0x19,0x00,0x00,0x00,0x00,0x00,0x00,0x1A,0x04, +0x1B,0x00,0x00,0x1C,0x00,0x00,0x00,0x1D,0x00,0x00,0x1E,0x1F,0x00,0x00,0x00,0x00,0x00,0x00,0x20,0x04, +0x04,0x21,0x22,0x23,0x00,0x00,0x24,0x00,0x00,0x12,0x25,0x00,0x00,0x00,0x00,0x00,0x00,0x26,0x04,0x04, +0x04,0x27,0x28,0x00,0x00,0x29,0x2A,0x00,0x00,0x2B,0x2C,0x2D,0x00,0x00,0x00,0x00,0x00,0x2E,0x04,0x04, +0x04,0x2F,0x00,0x00,0x30,0x31,0x00,0x00,0x32,0x33,0x00,0x34,0x35,0x00,0x00,0x00,0x00,0x36,0x04,0x04, +0x04,0x37,0x00,0x00,0x38,0x00,0x00,0x00,0x39,0x00,0x00,0x00,0x3A,0x3B,0x3C,0x00,0x00,0x3D,0x04,0x04, +0x04,0x3E,0x00,0x3F,0x40,0x00,0x00,0x3F,0x41,0x00,0x00,0x00,0x00,0x00,0x42,0x43,0x44,0x45,0x04,0x04, +0x04,0x3E,0x00,0x46,0x00,0x00,0x00,0x47,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x36,0x04,0x04, +0x04,0x3E,0x48,0x49,0x00,0x00,0x4A,0x49,0x4B,0x4C,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x4D,0x04,0x04, +0x04,0x3E,0x4E,0x00,0x00,0x4F,0x50,0x00,0x00,0x51,0x52,0x53,0x00,0x00,0x00,0x00,0x00,0x54,0x04,0x04, +0x04,0x55,0x00,0x00,0x00,0x56,0x00,0x00,0x00,0x00,0x00,0x57,0x58,0x00,0x00,0x00,0x00,0x59,0x04,0x04, +0x04,0x2F,0x00,0x00,0x5A,0x2A,0x5B,0x5C,0x00,0x00,0x00,0x00,0x00,0x5D,0x44,0x00,0x00,0x00,0x5E,0x04, +0x04,0x5F,0x00,0x32,0x60,0x00,0x00,0x3A,0x61,0x62,0x00,0x00,0x00,0x00,0x63,0x64,0x62,0x00,0x65,0x04, +0x04,0x66,0x00,0x67,0x00,0x00,0x00,0x00,0x00,0x68,0x00,0x00,0x00,0x00,0x00,0x00,0x69,0x6A,0x6B,0x04, +0x04,0x6C,0x6D,0x6E,0x6F,0x70,0x71,0x72,0x73,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x00,0x00,0x7B, +0x7C,0x7D,0x7E,0x7F,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x80,0x81,0x82}; diff --git a/z_gbdk_playground_original/color/bg_data.map b/z_gbdk_playground_original/color/bg_data.map new file mode 100644 index 0000000..f179d7f --- /dev/null +++ b/z_gbdk_playground_original/color/bg_data.map @@ -0,0 +1,29 @@ +/* + Advanced PCX to GameBoy converter v2.15 + + TileMap data + Original PCX File : "BG_DATA.PCX" + + Number of Tiles : 131 + TileMap Size : 20x18 +*/ + +unsigned const char tilemap[] = { +0x01,0x02,0x03,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x05,0x06,0x07, +0x08,0x00,0x09,0x0A,0x0B,0x0C,0x0D,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x0E,0x0F,0x10,0x11,0x12,0x13, +0x14,0x00,0x00,0x12,0x15,0x00,0x00,0x16,0x17,0x17,0x18,0x19,0x00,0x00,0x00,0x00,0x00,0x00,0x1A,0x04, +0x1B,0x00,0x00,0x1C,0x00,0x00,0x00,0x1D,0x00,0x00,0x1E,0x1F,0x00,0x00,0x00,0x00,0x00,0x00,0x20,0x04, +0x04,0x21,0x22,0x23,0x00,0x00,0x24,0x00,0x00,0x12,0x25,0x00,0x00,0x00,0x00,0x00,0x00,0x26,0x04,0x04, +0x04,0x27,0x28,0x00,0x00,0x29,0x2A,0x00,0x00,0x2B,0x2C,0x2D,0x00,0x00,0x00,0x00,0x00,0x2E,0x04,0x04, +0x04,0x2F,0x00,0x00,0x30,0x31,0x00,0x00,0x32,0x33,0x00,0x34,0x35,0x00,0x00,0x00,0x00,0x36,0x04,0x04, +0x04,0x37,0x00,0x00,0x38,0x00,0x00,0x00,0x39,0x00,0x00,0x00,0x3A,0x3B,0x3C,0x00,0x00,0x3D,0x04,0x04, +0x04,0x3E,0x00,0x3F,0x40,0x00,0x00,0x3F,0x41,0x00,0x00,0x00,0x00,0x00,0x42,0x43,0x44,0x45,0x04,0x04, +0x04,0x3E,0x00,0x46,0x00,0x00,0x00,0x47,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x36,0x04,0x04, +0x04,0x3E,0x48,0x49,0x00,0x00,0x4A,0x49,0x4B,0x4C,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x4D,0x04,0x04, +0x04,0x3E,0x4E,0x00,0x00,0x4F,0x50,0x00,0x00,0x51,0x52,0x53,0x00,0x00,0x00,0x00,0x00,0x54,0x04,0x04, +0x04,0x55,0x00,0x00,0x00,0x56,0x00,0x00,0x00,0x00,0x00,0x57,0x58,0x00,0x00,0x00,0x00,0x59,0x04,0x04, +0x04,0x2F,0x00,0x00,0x5A,0x2A,0x5B,0x5C,0x00,0x00,0x00,0x00,0x00,0x5D,0x44,0x00,0x00,0x00,0x5E,0x04, +0x04,0x5F,0x00,0x32,0x60,0x00,0x00,0x3A,0x61,0x62,0x00,0x00,0x00,0x00,0x63,0x64,0x62,0x00,0x65,0x04, +0x04,0x66,0x00,0x67,0x00,0x00,0x00,0x00,0x00,0x68,0x00,0x00,0x00,0x00,0x00,0x00,0x69,0x6A,0x6B,0x04, +0x04,0x6C,0x6D,0x6E,0x6F,0x70,0x71,0x72,0x73,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x00,0x00,0x7B, +0x7C,0x7D,0x7E,0x7F,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x80,0x81,0x82}; diff --git a/z_gbdk_playground_original/simple_shmup/bg_title.map b/z_gbdk_playground_original/simple_shmup/bg_title.map new file mode 100644 index 0000000..68f2202 --- /dev/null +++ b/z_gbdk_playground_original/simple_shmup/bg_title.map @@ -0,0 +1,29 @@ +/* + Advanced PCX to GameBoy converter v2.15 + + TileMap data + Original PCX File : "BG.PCX" + + Number of Tiles : 159 + TileMap Size : 20x18 +*/ + +const unsigned char bg_title_tilemap[] = { +0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, +0x01,0x01,0x01,0x02,0x01,0x01,0x01,0x01,0x03,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, +0x01,0x01,0x01,0x01,0x04,0x05,0x06,0x05,0x05,0x05,0x07,0x05,0x08,0x07,0x05,0x05,0x09,0x01,0x01,0x01, +0x01,0x01,0x01,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x01,0x01, +0x01,0x01,0x01,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x01,0x01, +0x01,0x01,0x28,0x29,0x2A,0x2B,0x01,0x2C,0x2D,0x2E,0x2F,0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x01,0x01, +0x01,0x01,0x37,0x38,0x39,0x3A,0x01,0x3B,0x3C,0x3D,0x3E,0x3F,0x40,0x41,0x42,0x43,0x44,0x45,0x01,0x01, +0x01,0x01,0x01,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x48,0x4E,0x4F,0x50,0x51,0x48,0x52,0x01,0x01, +0x01,0x01,0x01,0x53,0x54,0x48,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F,0x3F,0x01,0x01, +0x01,0x01,0x01,0x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x62,0x69,0x6A,0x6B,0x6C,0x01,0x01,0x01, +0x01,0x6D,0x01,0x6E,0x6F,0x62,0x70,0x71,0x72,0x73,0x74,0x75,0x01,0x76,0x62,0x77,0x78,0x01,0x01,0x01, +0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x79,0x01,0x01,0x01,0x7A,0x01,0x01,0x01, +0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, +0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, +0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, +0x7B,0x7C,0x01,0x01,0x01,0x01,0x01,0x7D,0x01,0x01,0x01,0x7E,0x7F,0x80,0x01,0x01,0x01,0x01,0x01,0x01, +0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x01,0x01,0x8A,0x8B,0x8C,0x8D,0x8E,0x83,0x84,0x8F,0x90, +0x91,0x92,0x93,0x01,0x94,0x95,0x96,0x97,0x98,0x01,0x01,0x94,0x99,0x9A,0x9B,0x9C,0x93,0x01,0x9D,0x9E}; diff --git a/z_gbdk_playground_original/window/bg.map b/z_gbdk_playground_original/window/bg.map new file mode 100644 index 0000000..d105bc5 --- /dev/null +++ b/z_gbdk_playground_original/window/bg.map @@ -0,0 +1,29 @@ +/* + Advanced PCX to GameBoy converter v2.15 + + TileMap data + Original PCX File : "BG.PCX" + + Number of Tiles : 152 + TileMap Size : 20x18 +*/ + +const unsigned char bg_tilemap[] = { +0x01,0x01,0x02,0x03,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,0x10,0x03,0x03, +0x01,0x01,0x11,0x03,0x03,0x12,0x13,0x03,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x0F,0x1C,0x1D,0x03, +0x1E,0x1F,0x20,0x03,0x03,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x0F,0x2C,0x2D,0x2E, +0x03,0x03,0x03,0x03,0x2F,0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x0F,0x3B,0x0F,0x3C, +0x3D,0x3E,0x3F,0x03,0x40,0x41,0x42,0x43,0x44,0x45,0x0F,0x46,0x47,0x48,0x49,0x4A,0x0F,0x4B,0x0F,0x4C, +0x4D,0x4E,0x4F,0x03,0x50,0x51,0x52,0x53,0x54,0x55,0x0F,0x0F,0x56,0x57,0x58,0x59,0x0F,0x5A,0x5B,0x5C, +0x5D,0x5E,0x5F,0x03,0x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x0F,0x0F,0x6B,0x03,0x03, +0x6C,0x6D,0x6E,0x03,0x6F,0x70,0x71,0x72,0x0F,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x7B,0x03,0x7C, +0x7D,0x7E,0x7F,0x03,0x03,0x03,0x80,0x03,0x81,0x82,0x83,0x84,0x85,0x86,0x03,0x03,0x03,0x03,0x03,0x87, +0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x88,0x89,0x8A,0x01,0x8B,0x8C,0x01,0x01,0x01,0x01,0x01,0x01, +0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x8D,0x8E,0x01,0x01,0x8F,0x90,0x01,0x01,0x01,0x01,0x01,0x01, +0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x91,0x01,0x01,0x01,0x01,0x92,0x01,0x01,0x01,0x01,0x01,0x01, +0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x93,0x01,0x01,0x01,0x01,0x94,0x01,0x01,0x01,0x01,0x01,0x01, +0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x95,0x01,0x01,0x01,0x01,0x96,0x97,0x01,0x01,0x01,0x01,0x01, +0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, +0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, +0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, +0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01};