diff --git a/assets-fx/img/tilemap.png b/assets-fx/img/tilemap.png index 9a3426e..c466eba 100644 Binary files a/assets-fx/img/tilemap.png and b/assets-fx/img/tilemap.png differ diff --git a/binnword.g1a b/binnword.g1a index c38f0d2..bd81405 100644 Binary files a/binnword.g1a and b/binnword.g1a differ diff --git a/build-fx/binnword.bin b/build-fx/binnword.bin index 2f461c0..5b2ae05 100755 Binary files a/build-fx/binnword.bin and b/build-fx/binnword.bin differ diff --git a/build-fx/binnword.elf b/build-fx/binnword.elf index 2231c6f..179071d 100755 Binary files a/build-fx/binnword.elf and b/build-fx/binnword.elf differ diff --git a/build-fx/map b/build-fx/map index e153332..4d5eb38 100644 --- a/build-fx/map +++ b/build-fx/map @@ -174,9 +174,9 @@ LOAD /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a LOAD /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a LOAD /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a 0x0000000000300000 _brom = 0x300000 - 0x0000000000006528 _srom = ((((0x200 + SIZEOF (.text)) + SIZEOF (.rodata)) + SIZEOF (.gint.drivers)) + SIZEOF (.gint.blocks)) + 0x0000000000006568 _srom = ((((0x200 + SIZEOF (.text)) + SIZEOF (.rodata)) + SIZEOF (.gint.drivers)) + SIZEOF (.gint.blocks)) -.text 0x0000000000300200 0x5558 +.text 0x0000000000300200 0x5598 *(.text.entry) .text.entry 0x0000000000300200 0x1ac /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(start.c.o) 0x0000000000300200 _start @@ -203,276 +203,277 @@ LOAD /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a 0x00000000003004cc __Z13isMultipleof5i 0x00000000003004da __Z11PrintSblockiii 0x0000000000300510 __Z8PrintMapv - .text.startup 0x00000000003007d0 0x62c build-fx/src/main.c.o + .text.startup 0x00000000003007d0 0x660 build-fx/src/main.c.o 0x00000000003007d0 _main - .text 0x0000000000300dfc 0xbc /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dprint.c.o) - 0x0000000000300dfc _dprint_opt - 0x0000000000300e68 _dprint - .text 0x0000000000300eb8 0x20 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dhline.c.o) - 0x0000000000300eb8 _dhline - .text 0x0000000000300ed8 0x180 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dline.c.o) - 0x0000000000300ed8 _dline - .text 0x0000000000301058 0x3c /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(start.c.o) - 0x0000000000301088 _gint_setrestart - .text 0x0000000000301094 0x160 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(gint_dline.c.o) - 0x0000000000301094 _gint_dhline - 0x0000000000301158 _gint_dvline - .text 0x00000000003011f4 0x8c /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(masks.c.o) - 0x00000000003011f4 _masks - .text 0x0000000000301280 0x68 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dpixel.c.o) - 0x0000000000301280 _dpixel - .text 0x00000000003012e8 0x3c /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dupdate.c.o) - 0x00000000003012e8 _dupdate - .text 0x0000000000301324 0x64 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dclear.c.o) - 0x0000000000301324 _dclear - .text 0x0000000000301388 0x3b0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(topti.c.o) - 0x000000000030142a _topti_render - 0x0000000000301650 _dtext_opt - .text 0x0000000000301738 0xc8 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dsubimage.c.o) - 0x0000000000301738 _dsubimage - .text 0x0000000000301800 0x240 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(t6k11.c.o) - 0x0000000000301878 _t6k11_display_v1 - 0x000000000030191c _t6k11_display_v2 - 0x00000000003019b4 _t6k11_display - 0x00000000003019d8 _t6k11_contrast - 0x0000000000301a00 _t6k11_backlight - .text 0x0000000000301a40 0x444 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(keysc.c.o) - 0x0000000000301c38 _pollevent - 0x0000000000301d74 _waitevent - 0x0000000000301dc0 _clearevents - 0x0000000000301de0 _keydown - 0x0000000000301e0c _keydown_all - 0x0000000000301e48 _keydown_any - .text 0x0000000000301e84 0x29c /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(getkey.c.o) - 0x0000000000301e84 _getkey_opt - 0x00000000003020cc _getkey - 0x00000000003020d8 _getkey_repeat - 0x0000000000302114 _getkey_repeat_filter - .text 0x0000000000302120 0x124 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(iokbd.c.o) - 0x000000000030212c _iokbd_row - 0x0000000000302214 _iokbd_scan - .text 0x0000000000302244 0xcec /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(stdio.c.o) - 0x0000000000302c40 _kprint_opt - 0x0000000000302d88 _kprint - 0x0000000000302e68 _kvsprint - 0x0000000000302eb0 _sprintf - 0x0000000000302ed8 _vsprintf - 0x0000000000302ef8 _snprintf - 0x0000000000302f18 _vsnprintf - .text 0x0000000000302f30 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(font5x7.png.o) - .text 0x0000000000302f30 0x348 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(mmu.c.o) - 0x0000000000302f8c _tlb_addr - 0x0000000000302fa0 _tlb_data - 0x0000000000302fb4 _tlb_mapped_memory - 0x0000000000303080 _tlb_translate - 0x0000000000303100 _utlb_addr - 0x0000000000303110 _utlb_data - 0x0000000000303120 _utlb_mapped_memory - 0x00000000003031f0 _utlb_translate - 0x000000000030323c _mmu_translate - 0x0000000000303258 _mmu_uram - .text 0x0000000000303278 0x7f4 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(tmu.c.o) - 0x00000000003035cc _timer_delay - 0x0000000000303678 _timer_setup - 0x0000000000303888 _timer_start - 0x00000000003038c0 _timer_reload - 0x00000000003038f8 _timer_pause - 0x0000000000303934 _timer_stop - 0x00000000003039b0 _timer_wait - 0x0000000000303a18 _timer_spinwait - 0x0000000000303a5c _timer_timeout - .text 0x0000000000303a6c 0x20 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dtext.c.o) - 0x0000000000303a6c _dtext - .text 0x0000000000303a8c 0x208 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(topti.c.o) - 0x0000000000303a8c _dfont - 0x0000000000303aa4 _topti_glyph_index - 0x0000000000303aec _topti_offset - 0x0000000000303b48 _topti_utf8_next - 0x0000000000303bf6 _dsize - .text 0x0000000000303c94 0xbc /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(osmenu.c.o) - 0x0000000000303d40 _gint_osmenu - .text 0x0000000000303d50 0x170 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(syscalls.S.o) - 0x0000000000303d50 _malloc - 0x0000000000303d64 _free - 0x0000000000303d74 _calloc - 0x0000000000303d84 _realloc - 0x0000000000303d94 _BFile_Remove - 0x0000000000303da4 _BFile_Create - 0x0000000000303db4 _BFile_Open - 0x0000000000303dc4 _BFile_Close - 0x0000000000303dd4 _BFile_Size - 0x0000000000303de4 _BFile_Write - 0x0000000000303df4 _BFile_Read - 0x0000000000303e04 _BFile_FindFirst - 0x0000000000303e14 _BFile_FindNext - 0x0000000000303e24 _BFile_FindClose - 0x0000000000303e34 ___Timer_Install - 0x0000000000303e44 ___Timer_Start - 0x0000000000303e54 ___Timer_Stop - 0x0000000000303e64 ___Timer_Deinstall - 0x0000000000303e74 ___PutKeyCode - 0x0000000000303e84 ___GetKeyWait - 0x0000000000303e94 ___ClearKeyBuffer - 0x0000000000303ea4 ___GetVRAMAddress - .text 0x0000000000303ec0 0xec /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(hardware.c.o) - 0x0000000000303ec0 _hw_detect - .text 0x0000000000303fac 0x39c /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(kernel.c.o) - 0x00000000003041c8 _kinit - 0x0000000000304270 _gint_inthandler - 0x00000000003042d0 _gint_switch - 0x0000000000304320 _kquit - .text 0x0000000000304348 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(tlbh.S.o) - *fill* 0x0000000000304348 0x8 - .text 0x0000000000304350 0x130 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(topti-asm.s.o) - 0x0000000000304460 _topti_asm_text - .text 0x0000000000304480 0x52c /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(bopti.c.o) - 0x0000000000304480 _bopti_grid - 0x00000000003046b8 _bopti_render - 0x0000000000304808 _bopti_render_scsp - 0x0000000000304908 _bopti_clip - .text 0x00000000003049ac 0x88 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(bopti-asm-gray-scsp.s.o) - 0x00000000003049ac _bopti_gasm_mono_scsp - 0x00000000003049c8 _bopti_gasm_mono_alpha_scsp - 0x00000000003049ea _bopti_gasm_gray_scsp - 0x0000000000304a0c _bopti_gasm_gray_alpha_scsp - .text 0x0000000000304a34 0x178 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(cpg.c.o) - 0x0000000000304ba0 _clock_freq - *fill* 0x0000000000304bac 0x4 - .text 0x0000000000304bb0 0xc0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(memcpy.s.o) - 0x0000000000304bb0 _memcpy - .text 0x0000000000304c70 0x56 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(memset.s.o) - 0x0000000000304c70 _memset - *fill* 0x0000000000304cc6 0x2 - .text 0x0000000000304cc8 0x1a0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(intc.c.o) - 0x0000000000304db4 _intc_priority - .text 0x0000000000304e68 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(inth-tmu.s.o) - .text 0x0000000000304e68 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(inth-etmu.s.o) - .text 0x0000000000304e68 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(exch.s.o) - .text 0x0000000000304e68 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(inth.S.o) - .text 0x0000000000304e68 0x1ec /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(exch.c.o) - 0x0000000000305018 _gint_panic - 0x0000000000305028 _gint_panic_set - 0x000000000030503c _gint_exc_catch - 0x0000000000305048 _gint_exc_skip - *fill* 0x0000000000305054 0xc - .text 0x0000000000305060 0x30 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(cpu.s.o) - 0x0000000000305060 _cpu_setCPUOPM - 0x0000000000305072 _cpu_getCPUOPM - 0x0000000000305084 _cpu_getSR - 0x000000000030508a _cpu_setSR - .text 0x0000000000305090 0x150 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(bopti-asm-gray.s.o) - 0x0000000000305090 _bopti_gasm_mono - 0x00000000003050cc _bopti_gasm_mono_alpha - 0x000000000030511c _bopti_gasm_gray - 0x0000000000305170 _bopti_gasm_gray_alpha - .text 0x00000000003051e0 0x2a /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(bopti-asm-mono-scsp.s.o) - 0x00000000003051e0 _bopti_asm_mono_scsp - 0x00000000003051f2 _bopti_asm_mono_alpha_scsp - .text 0x000000000030520a 0x58 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(bopti-asm.s.o) - 0x000000000030520a _bopti_asm_mono - 0x0000000000305230 _bopti_asm_mono_alpha - *fill* 0x0000000000305262 0x2 - .text 0x0000000000305264 0x1f0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_udivdi3.o) - 0x0000000000305264 ___udivdi3 - .text 0x0000000000305454 0x234 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_umoddi3.o) - 0x0000000000305454 ___umoddi3 - .text 0x0000000000305688 0x6c /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_udivsi3.o) - 0x00000000003056aa ___udivsi3 - *fill* 0x00000000003056f4 0x4 - .text 0x00000000003056f8 0x60 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_udiv_qrnnd_16.o) - 0x00000000003056f8 ___udiv_qrnnd_16 - .text 0x0000000000305758 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_clz.o) + .text 0x0000000000300e30 0xbc /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dprint.c.o) + 0x0000000000300e30 _dprint_opt + 0x0000000000300e9c _dprint + .text 0x0000000000300eec 0x20 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dhline.c.o) + 0x0000000000300eec _dhline + .text 0x0000000000300f0c 0x180 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dline.c.o) + 0x0000000000300f0c _dline + .text 0x000000000030108c 0x3c /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(start.c.o) + 0x00000000003010bc _gint_setrestart + .text 0x00000000003010c8 0x160 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(gint_dline.c.o) + 0x00000000003010c8 _gint_dhline + 0x000000000030118c _gint_dvline + .text 0x0000000000301228 0x8c /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(masks.c.o) + 0x0000000000301228 _masks + .text 0x00000000003012b4 0x68 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dpixel.c.o) + 0x00000000003012b4 _dpixel + .text 0x000000000030131c 0x3c /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dupdate.c.o) + 0x000000000030131c _dupdate + .text 0x0000000000301358 0x64 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dclear.c.o) + 0x0000000000301358 _dclear + .text 0x00000000003013bc 0x3b0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(topti.c.o) + 0x000000000030145e _topti_render + 0x0000000000301684 _dtext_opt + .text 0x000000000030176c 0xc8 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dsubimage.c.o) + 0x000000000030176c _dsubimage + .text 0x0000000000301834 0x240 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(t6k11.c.o) + 0x00000000003018ac _t6k11_display_v1 + 0x0000000000301950 _t6k11_display_v2 + 0x00000000003019e8 _t6k11_display + 0x0000000000301a0c _t6k11_contrast + 0x0000000000301a34 _t6k11_backlight + .text 0x0000000000301a74 0x444 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(keysc.c.o) + 0x0000000000301c6c _pollevent + 0x0000000000301da8 _waitevent + 0x0000000000301df4 _clearevents + 0x0000000000301e14 _keydown + 0x0000000000301e40 _keydown_all + 0x0000000000301e7c _keydown_any + .text 0x0000000000301eb8 0x29c /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(getkey.c.o) + 0x0000000000301eb8 _getkey_opt + 0x0000000000302100 _getkey + 0x000000000030210c _getkey_repeat + 0x0000000000302148 _getkey_repeat_filter + .text 0x0000000000302154 0x124 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(iokbd.c.o) + 0x0000000000302160 _iokbd_row + 0x0000000000302248 _iokbd_scan + .text 0x0000000000302278 0xcec /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(stdio.c.o) + 0x0000000000302c74 _kprint_opt + 0x0000000000302dbc _kprint + 0x0000000000302e9c _kvsprint + 0x0000000000302ee4 _sprintf + 0x0000000000302f0c _vsprintf + 0x0000000000302f2c _snprintf + 0x0000000000302f4c _vsnprintf + .text 0x0000000000302f64 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(font5x7.png.o) + .text 0x0000000000302f64 0x348 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(mmu.c.o) + 0x0000000000302fc0 _tlb_addr + 0x0000000000302fd4 _tlb_data + 0x0000000000302fe8 _tlb_mapped_memory + 0x00000000003030b4 _tlb_translate + 0x0000000000303134 _utlb_addr + 0x0000000000303144 _utlb_data + 0x0000000000303154 _utlb_mapped_memory + 0x0000000000303224 _utlb_translate + 0x0000000000303270 _mmu_translate + 0x000000000030328c _mmu_uram + .text 0x00000000003032ac 0x7f4 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(tmu.c.o) + 0x0000000000303600 _timer_delay + 0x00000000003036ac _timer_setup + 0x00000000003038bc _timer_start + 0x00000000003038f4 _timer_reload + 0x000000000030392c _timer_pause + 0x0000000000303968 _timer_stop + 0x00000000003039e4 _timer_wait + 0x0000000000303a4c _timer_spinwait + 0x0000000000303a90 _timer_timeout + .text 0x0000000000303aa0 0x20 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dtext.c.o) + 0x0000000000303aa0 _dtext + .text 0x0000000000303ac0 0x208 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(topti.c.o) + 0x0000000000303ac0 _dfont + 0x0000000000303ad8 _topti_glyph_index + 0x0000000000303b20 _topti_offset + 0x0000000000303b7c _topti_utf8_next + 0x0000000000303c2a _dsize + .text 0x0000000000303cc8 0xbc /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(osmenu.c.o) + 0x0000000000303d74 _gint_osmenu + *fill* 0x0000000000303d84 0xc + .text 0x0000000000303d90 0x170 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(syscalls.S.o) + 0x0000000000303d90 _malloc + 0x0000000000303da4 _free + 0x0000000000303db4 _calloc + 0x0000000000303dc4 _realloc + 0x0000000000303dd4 _BFile_Remove + 0x0000000000303de4 _BFile_Create + 0x0000000000303df4 _BFile_Open + 0x0000000000303e04 _BFile_Close + 0x0000000000303e14 _BFile_Size + 0x0000000000303e24 _BFile_Write + 0x0000000000303e34 _BFile_Read + 0x0000000000303e44 _BFile_FindFirst + 0x0000000000303e54 _BFile_FindNext + 0x0000000000303e64 _BFile_FindClose + 0x0000000000303e74 ___Timer_Install + 0x0000000000303e84 ___Timer_Start + 0x0000000000303e94 ___Timer_Stop + 0x0000000000303ea4 ___Timer_Deinstall + 0x0000000000303eb4 ___PutKeyCode + 0x0000000000303ec4 ___GetKeyWait + 0x0000000000303ed4 ___ClearKeyBuffer + 0x0000000000303ee4 ___GetVRAMAddress + .text 0x0000000000303f00 0xec /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(hardware.c.o) + 0x0000000000303f00 _hw_detect + .text 0x0000000000303fec 0x39c /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(kernel.c.o) + 0x0000000000304208 _kinit + 0x00000000003042b0 _gint_inthandler + 0x0000000000304310 _gint_switch + 0x0000000000304360 _kquit + .text 0x0000000000304388 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(tlbh.S.o) + *fill* 0x0000000000304388 0x8 + .text 0x0000000000304390 0x130 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(topti-asm.s.o) + 0x00000000003044a0 _topti_asm_text + .text 0x00000000003044c0 0x52c /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(bopti.c.o) + 0x00000000003044c0 _bopti_grid + 0x00000000003046f8 _bopti_render + 0x0000000000304848 _bopti_render_scsp + 0x0000000000304948 _bopti_clip + .text 0x00000000003049ec 0x88 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(bopti-asm-gray-scsp.s.o) + 0x00000000003049ec _bopti_gasm_mono_scsp + 0x0000000000304a08 _bopti_gasm_mono_alpha_scsp + 0x0000000000304a2a _bopti_gasm_gray_scsp + 0x0000000000304a4c _bopti_gasm_gray_alpha_scsp + .text 0x0000000000304a74 0x178 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(cpg.c.o) + 0x0000000000304be0 _clock_freq + *fill* 0x0000000000304bec 0x4 + .text 0x0000000000304bf0 0xc0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(memcpy.s.o) + 0x0000000000304bf0 _memcpy + .text 0x0000000000304cb0 0x56 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(memset.s.o) + 0x0000000000304cb0 _memset + *fill* 0x0000000000304d06 0x2 + .text 0x0000000000304d08 0x1a0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(intc.c.o) + 0x0000000000304df4 _intc_priority + .text 0x0000000000304ea8 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(inth-tmu.s.o) + .text 0x0000000000304ea8 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(inth-etmu.s.o) + .text 0x0000000000304ea8 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(exch.s.o) + .text 0x0000000000304ea8 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(inth.S.o) + .text 0x0000000000304ea8 0x1ec /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(exch.c.o) + 0x0000000000305058 _gint_panic + 0x0000000000305068 _gint_panic_set + 0x000000000030507c _gint_exc_catch + 0x0000000000305088 _gint_exc_skip + *fill* 0x0000000000305094 0xc + .text 0x00000000003050a0 0x30 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(cpu.s.o) + 0x00000000003050a0 _cpu_setCPUOPM + 0x00000000003050b2 _cpu_getCPUOPM + 0x00000000003050c4 _cpu_getSR + 0x00000000003050ca _cpu_setSR + .text 0x00000000003050d0 0x150 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(bopti-asm-gray.s.o) + 0x00000000003050d0 _bopti_gasm_mono + 0x000000000030510c _bopti_gasm_mono_alpha + 0x000000000030515c _bopti_gasm_gray + 0x00000000003051b0 _bopti_gasm_gray_alpha + .text 0x0000000000305220 0x2a /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(bopti-asm-mono-scsp.s.o) + 0x0000000000305220 _bopti_asm_mono_scsp + 0x0000000000305232 _bopti_asm_mono_alpha_scsp + .text 0x000000000030524a 0x58 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(bopti-asm.s.o) + 0x000000000030524a _bopti_asm_mono + 0x0000000000305270 _bopti_asm_mono_alpha + *fill* 0x00000000003052a2 0x2 + .text 0x00000000003052a4 0x1f0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_udivdi3.o) + 0x00000000003052a4 ___udivdi3 + .text 0x0000000000305494 0x234 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_umoddi3.o) + 0x0000000000305494 ___umoddi3 + .text 0x00000000003056c8 0x6c /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_udivsi3.o) + 0x00000000003056ea ___udivsi3 + *fill* 0x0000000000305734 0x4 + .text 0x0000000000305738 0x60 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_udiv_qrnnd_16.o) + 0x0000000000305738 ___udiv_qrnnd_16 + .text 0x0000000000305798 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_clz.o) *(C P) -.gint.blocks 0x0000000000305760 0x180 +.gint.blocks 0x00000000003057a0 0x180 *(.gint.blocks) - .gint.blocks 0x0000000000305760 0x80 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(inth-tmu.s.o) - 0x0000000000305760 _inth_tmu - .gint.blocks 0x00000000003057e0 0x80 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(inth-etmu.s.o) - 0x00000000003057e0 _inth_etmu4 - 0x0000000000305840 _inth_etmux - .gint.blocks 0x0000000000305860 0x80 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(inth.S.o) - 0x0000000000305860 _gint_inth_7305 - 0x00000000003058a0 _gint_inth_7705 + .gint.blocks 0x00000000003057a0 0x80 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(inth-tmu.s.o) + 0x00000000003057a0 _inth_tmu + .gint.blocks 0x0000000000305820 0x80 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(inth-etmu.s.o) + 0x0000000000305820 _inth_etmu4 + 0x0000000000305880 _inth_etmux + .gint.blocks 0x00000000003058a0 0x80 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(inth.S.o) + 0x00000000003058a0 _gint_inth_7305 + 0x00000000003058e0 _gint_inth_7705 -.gint.drivers 0x00000000003058e0 0xc0 - 0x00000000003058e0 _bdrv = . +.gint.drivers 0x0000000000305920 0xc0 + 0x0000000000305920 _bdrv = . *(.gint.drivers.0) .gint.drivers.0 - 0x00000000003058e0 0x20 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(intc.c.o) - 0x00000000003058e0 _drv_intc + 0x0000000000305920 0x20 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(intc.c.o) + 0x0000000000305920 _drv_intc *(.gint.drivers.1) .gint.drivers.1 - 0x0000000000305900 0x20 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(mmu.c.o) - 0x0000000000305900 _drv_mmu + 0x0000000000305940 0x20 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(mmu.c.o) + 0x0000000000305940 _drv_mmu .gint.drivers.1 - 0x0000000000305920 0x20 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(cpg.c.o) - 0x0000000000305920 _drv_cpg + 0x0000000000305960 0x20 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(cpg.c.o) + 0x0000000000305960 _drv_cpg *(.gint.drivers.2) .gint.drivers.2 - 0x0000000000305940 0x20 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(tmu.c.o) - 0x0000000000305940 _drv_tmu + 0x0000000000305980 0x20 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(tmu.c.o) + 0x0000000000305980 _drv_tmu *(.gint.drivers.3) *(.gint.drivers.4) .gint.drivers.4 - 0x0000000000305960 0x20 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(keysc.c.o) - 0x0000000000305960 _drv_keysc + 0x00000000003059a0 0x20 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(keysc.c.o) + 0x00000000003059a0 _drv_keysc *(.gint.drivers.5) .gint.drivers.5 - 0x0000000000305980 0x20 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(t6k11.c.o) - 0x0000000000305980 _drv_t6k11 + 0x00000000003059c0 0x20 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(t6k11.c.o) + 0x00000000003059c0 _drv_t6k11 *(.gint.drivers.6) - 0x00000000003059a0 _edrv = . + 0x00000000003059e0 _edrv = . -.rodata 0x00000000003059a0 0xb90 +.rodata 0x00000000003059e0 0xb90 *(.rodata.4) *(.rodata .rodata.*) .rodata.str1.4 - 0x00000000003059a0 0x3 build-fx/src/main.c.o - *fill* 0x00000000003059a3 0x1 - .rodata 0x00000000003059a4 0x3c build-fx/assets/img/numbers.png.o - 0x00000000003059a4 _img_numbers - 0x00000000003059e0 _img_numbers_end - .rodata 0x00000000003059e0 0x34c build-fx/assets/img/tilemap.png.o - 0x00000000003059e0 _img_tilemap - 0x0000000000305d2c _img_tilemap_end + 0x00000000003059e0 0x3 build-fx/src/main.c.o + *fill* 0x00000000003059e3 0x1 + .rodata 0x00000000003059e4 0x3c build-fx/assets/img/numbers.png.o + 0x00000000003059e4 _img_numbers + 0x0000000000305a20 _img_numbers_end + .rodata 0x0000000000305a20 0x34c build-fx/assets/img/tilemap.png.o + 0x0000000000305a20 _img_tilemap + 0x0000000000305d6c _img_tilemap_end .rodata.str1.4 - 0x0000000000305d2c 0x6 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(t6k11.c.o) - *fill* 0x0000000000305d32 0x2 + 0x0000000000305d6c 0x6 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(t6k11.c.o) + *fill* 0x0000000000305d72 0x2 .rodata.str1.4 - 0x0000000000305d34 0x6 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(keysc.c.o) - *fill* 0x0000000000305d3a 0x2 + 0x0000000000305d74 0x6 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(keysc.c.o) + *fill* 0x0000000000305d7a 0x2 .rodata.str1.4 - 0x0000000000305d3c 0x31 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(stdio.c.o) - *fill* 0x0000000000305d6d 0x3 - .rodata 0x0000000000305d70 0x424 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(font5x7.png.o) - 0x0000000000305d70 _gint_font5x7_data - 0x0000000000306175 _gint_font5x7_data_end - 0x0000000000306178 _gint_font5x7 + 0x0000000000305d7c 0x31 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(stdio.c.o) + *fill* 0x0000000000305dad 0x3 + .rodata 0x0000000000305db0 0x424 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(font5x7.png.o) + 0x0000000000305db0 _gint_font5x7_data + 0x00000000003061b5 _gint_font5x7_data_end + 0x00000000003061b8 _gint_font5x7 .rodata.str1.4 - 0x0000000000306194 0x4 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(mmu.c.o) - .rodata 0x0000000000306198 0xc /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(tmu.c.o) + 0x00000000003061d4 0x4 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(mmu.c.o) + .rodata 0x00000000003061d8 0xc /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(tmu.c.o) .rodata.str1.4 - 0x00000000003061a4 0x4 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(tmu.c.o) - .rodata 0x00000000003061a8 0x18 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(kernel.c.o) - .rodata 0x00000000003061c0 0x40 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(bopti.c.o) + 0x00000000003061e4 0x4 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(tmu.c.o) + .rodata 0x00000000003061e8 0x18 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(kernel.c.o) + .rodata 0x0000000000306200 0x40 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(bopti.c.o) .rodata.str1.4 - 0x0000000000306200 0x4 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(cpg.c.o) + 0x0000000000306240 0x4 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(cpg.c.o) .rodata.str1.4 - 0x0000000000306204 0x5 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(intc.c.o) - *fill* 0x0000000000306209 0x3 - .rodata 0x000000000030620c 0xfc /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(intc.c.o) + 0x0000000000306244 0x5 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(intc.c.o) + *fill* 0x0000000000306249 0x3 + .rodata 0x000000000030624c 0xfc /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(intc.c.o) .rodata.str1.4 - 0x0000000000306308 0x128 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(exch.c.o) + 0x0000000000306348 0x128 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(exch.c.o) 0x12a (size before relaxing) - .rodata 0x0000000000306430 0x100 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_clz.o) - 0x0000000000306430 ___clz_tab + .rodata 0x0000000000306470 0x100 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_clz.o) + 0x0000000000306470 ___clz_tab 0x0000000008100200 . = ORIGIN (ram) -.bss 0x0000000008100200 0x8f0 +.bss 0x0000000008100200 0xc30 0x0000000008100200 _rbss = . *(.bss COMMON) - .bss 0x0000000008100200 0x3fc build-fx/src/main.c.o + .bss 0x0000000008100200 0x744 build-fx/src/main.c.o 0x0000000008100200 _selecoll 0x0000000008100204 _btmp 0x0000000008100208 _inv @@ -481,186 +482,185 @@ LOAD /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a 0x0000000008100258 _rwalk 0x000000000810025c _key 0x0000000008100260 _game_map - 0x00000000081005f8 _sx - .bss 0x00000000081005fc 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dprint.c.o) - .bss 0x00000000081005fc 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dhline.c.o) - .bss 0x00000000081005fc 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dline.c.o) - .bss 0x00000000081005fc 0x4 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(start.c.o) - 0x00000000081005fc _gint_restart - .bss 0x0000000008100600 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(gint_dline.c.o) - .bss 0x0000000008100600 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(masks.c.o) - .bss 0x0000000008100600 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dpixel.c.o) - .bss 0x0000000008100600 0x404 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dupdate.c.o) - 0x0000000008100600 _dmode - .bss 0x0000000008100a04 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dclear.c.o) - .bss 0x0000000008100a04 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(topti.c.o) - .bss 0x0000000008100a04 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dsubimage.c.o) - .bss 0x0000000008100a04 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(t6k11.c.o) - .bss 0x0000000008100a04 0x48 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(keysc.c.o) - .bss 0x0000000008100a4c 0x14 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(getkey.c.o) - .bss 0x0000000008100a60 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(iokbd.c.o) - .bss 0x0000000008100a60 0x54 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(stdio.c.o) - .bss 0x0000000008100ab4 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(font5x7.png.o) - .bss 0x0000000008100ab4 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(mmu.c.o) - .bss 0x0000000008100ab4 0x24 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(tmu.c.o) - .bss 0x0000000008100ad8 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dtext.c.o) - .bss 0x0000000008100ad8 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(topti.c.o) - .bss 0x0000000008100ad8 0x4 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(osmenu.c.o) - .bss 0x0000000008100adc 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(syscalls.S.o) - .bss 0x0000000008100adc 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(hardware.c.o) - .bss 0x0000000008100adc 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(kernel.c.o) - .bss 0x0000000008100adc 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(tlbh.S.o) - .bss 0x0000000008100adc 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(topti-asm.s.o) - .bss 0x0000000008100adc 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(bopti.c.o) - .bss 0x0000000008100adc 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(bopti-asm-gray-scsp.s.o) - .bss 0x0000000008100adc 0x8 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(cpg.c.o) - .bss 0x0000000008100ae4 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(memcpy.s.o) - .bss 0x0000000008100ae4 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(memset.s.o) - .bss 0x0000000008100ae4 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(intc.c.o) - .bss 0x0000000008100ae4 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(inth-tmu.s.o) - .bss 0x0000000008100ae4 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(inth-etmu.s.o) - .bss 0x0000000008100ae4 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(exch.s.o) - .bss 0x0000000008100ae4 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(inth.S.o) - .bss 0x0000000008100ae4 0x4 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(exch.c.o) - 0x0000000008100ae4 _gint_exc_catcher - .bss 0x0000000008100ae8 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(cpu.s.o) - .bss 0x0000000008100ae8 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(bopti-asm-gray.s.o) - .bss 0x0000000008100ae8 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(bopti-asm-mono-scsp.s.o) - .bss 0x0000000008100ae8 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(bopti-asm.s.o) - .bss 0x0000000008100ae8 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_udivdi3.o) - .bss 0x0000000008100ae8 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_umoddi3.o) - .bss 0x0000000008100ae8 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_udivsi3.o) - .bss 0x0000000008100ae8 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_udiv_qrnnd_16.o) - .bss 0x0000000008100ae8 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_clz.o) + 0x0000000008100940 _sx + .bss 0x0000000008100944 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dprint.c.o) + .bss 0x0000000008100944 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dhline.c.o) + .bss 0x0000000008100944 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dline.c.o) + .bss 0x0000000008100944 0x4 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(start.c.o) + 0x0000000008100944 _gint_restart + .bss 0x0000000008100948 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(gint_dline.c.o) + .bss 0x0000000008100948 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(masks.c.o) + .bss 0x0000000008100948 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dpixel.c.o) + .bss 0x0000000008100948 0x404 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dupdate.c.o) + 0x0000000008100948 _dmode + .bss 0x0000000008100d4c 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dclear.c.o) + .bss 0x0000000008100d4c 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(topti.c.o) + .bss 0x0000000008100d4c 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dsubimage.c.o) + .bss 0x0000000008100d4c 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(t6k11.c.o) + .bss 0x0000000008100d4c 0x48 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(keysc.c.o) + .bss 0x0000000008100d94 0x14 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(getkey.c.o) + .bss 0x0000000008100da8 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(iokbd.c.o) + .bss 0x0000000008100da8 0x54 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(stdio.c.o) + .bss 0x0000000008100dfc 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(font5x7.png.o) + .bss 0x0000000008100dfc 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(mmu.c.o) + .bss 0x0000000008100dfc 0x24 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(tmu.c.o) + .bss 0x0000000008100e20 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dtext.c.o) + .bss 0x0000000008100e20 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(topti.c.o) + .bss 0x0000000008100e20 0x4 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(osmenu.c.o) + .bss 0x0000000008100e24 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(syscalls.S.o) + .bss 0x0000000008100e24 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(hardware.c.o) + .bss 0x0000000008100e24 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(kernel.c.o) + .bss 0x0000000008100e24 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(tlbh.S.o) + .bss 0x0000000008100e24 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(topti-asm.s.o) + .bss 0x0000000008100e24 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(bopti.c.o) + .bss 0x0000000008100e24 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(bopti-asm-gray-scsp.s.o) + .bss 0x0000000008100e24 0x8 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(cpg.c.o) + .bss 0x0000000008100e2c 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(memcpy.s.o) + .bss 0x0000000008100e2c 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(memset.s.o) + .bss 0x0000000008100e2c 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(intc.c.o) + .bss 0x0000000008100e2c 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(inth-tmu.s.o) + .bss 0x0000000008100e2c 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(inth-etmu.s.o) + .bss 0x0000000008100e2c 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(exch.s.o) + .bss 0x0000000008100e2c 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(inth.S.o) + .bss 0x0000000008100e2c 0x4 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(exch.c.o) + 0x0000000008100e2c _gint_exc_catcher + .bss 0x0000000008100e30 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(cpu.s.o) + .bss 0x0000000008100e30 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(bopti-asm-gray.s.o) + .bss 0x0000000008100e30 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(bopti-asm-mono-scsp.s.o) + .bss 0x0000000008100e30 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(bopti-asm.s.o) + .bss 0x0000000008100e30 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_udivdi3.o) + .bss 0x0000000008100e30 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_umoddi3.o) + .bss 0x0000000008100e30 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_udivsi3.o) + .bss 0x0000000008100e30 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_udiv_qrnnd_16.o) + .bss 0x0000000008100e30 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_clz.o) *(B R) - 0x0000000008100af0 . = ALIGN (0x10) - *fill* 0x0000000008100ae8 0x8 - 0x00000000000008f0 _sbss = SIZEOF (.bss) + 0x0000000008100e30 . = ALIGN (0x10) + 0x0000000000000c30 _sbss = SIZEOF (.bss) -.data 0x0000000008100af0 0x160 load address 0x0000000000306530 - 0x0000000000306530 _ldata = LOADADDR (.data) - 0x0000000008100af0 _rdata = . - 0x0000000008100af0 _lreloc = . +.data 0x0000000008100e30 0x160 load address 0x0000000000306570 + 0x0000000000306570 _ldata = LOADADDR (.data) + 0x0000000008100e30 _rdata = . + 0x0000000008100e30 _lreloc = . *(.gint.mappedrel) .gint.mappedrel - 0x0000000008100af0 0x4 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(inth.S.o) - 0x0000000008100af0 _gint_inth_callback + 0x0000000008100e30 0x4 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(inth.S.o) + 0x0000000008100e30 _gint_inth_callback .gint.mappedrel - 0x0000000008100af4 0x4 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(cpu.s.o) - 0x0000000008100af4 _cpu_setVBR + 0x0000000008100e34 0x4 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(cpu.s.o) + 0x0000000008100e34 _cpu_setVBR 0x0000000000000008 _sreloc = ABSOLUTE ((. - _lreloc)) *(.data .data.*) - .data 0x0000000008100af8 0x24 build-fx/src/main.c.o - 0x0000000008100af8 _sinv - 0x0000000008100afc _sele - 0x0000000008100b00 _dir - 0x0000000008100b04 _can_move - 0x0000000008100b08 _timeout - 0x0000000008100b0c _optd - 0x0000000008100b10 _opt - 0x0000000008100b14 _y - 0x0000000008100b18 _x - .data 0x0000000008100b1c 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dprint.c.o) - .data 0x0000000008100b1c 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dhline.c.o) - .data 0x0000000008100b1c 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dline.c.o) - .data 0x0000000008100b1c 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(start.c.o) - .data 0x0000000008100b1c 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(gint_dline.c.o) - .data 0x0000000008100b1c 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(masks.c.o) - .data 0x0000000008100b1c 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dpixel.c.o) - .data 0x0000000008100b1c 0x4 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dupdate.c.o) - 0x0000000008100b1c _gint_vram - .data 0x0000000008100b20 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dclear.c.o) - .data 0x0000000008100b20 0x8 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(topti.c.o) - 0x0000000008100b20 _topti_font - 0x0000000008100b24 _gint_default_font - .data 0x0000000008100b28 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dsubimage.c.o) - .data 0x0000000008100b28 0x4 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(t6k11.c.o) - .data 0x0000000008100b2c 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(keysc.c.o) - .data 0x0000000008100b2c 0x8 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(getkey.c.o) - .data 0x0000000008100b34 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(iokbd.c.o) - .data 0x0000000008100b34 0x68 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(stdio.c.o) - 0x0000000008100b34 _kprint_formatters - .data 0x0000000008100b9c 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(font5x7.png.o) - .data 0x0000000008100b9c 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(mmu.c.o) - .data 0x0000000008100b9c 0xc /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(tmu.c.o) - .data 0x0000000008100ba8 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dtext.c.o) - .data 0x0000000008100ba8 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(topti.c.o) - .data 0x0000000008100ba8 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(osmenu.c.o) - .data 0x0000000008100ba8 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(syscalls.S.o) - .data 0x0000000008100ba8 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(hardware.c.o) - .data 0x0000000008100ba8 0x4 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(kernel.c.o) - 0x0000000008100ba8 _gint_required_intc - .data 0x0000000008100bac 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(tlbh.S.o) - .data 0x0000000008100bac 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(topti-asm.s.o) - .data 0x0000000008100bac 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(bopti.c.o) - .data 0x0000000008100bac 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(bopti-asm-gray-scsp.s.o) - .data 0x0000000008100bac 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(cpg.c.o) - .data 0x0000000008100bac 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(memcpy.s.o) - .data 0x0000000008100bac 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(memset.s.o) - .data 0x0000000008100bac 0x10 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(intc.c.o) - 0x0000000008100bac _SH7305_INTC - .data 0x0000000008100bbc 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(inth-tmu.s.o) - .data 0x0000000008100bbc 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(inth-etmu.s.o) - .data 0x0000000008100bbc 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(exch.s.o) - *fill* 0x0000000008100bbc 0x4 - .data 0x0000000008100bc0 0x60 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(inth.S.o) - .data 0x0000000008100c20 0x4 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(exch.c.o) - 0x0000000008100c20 _gint_exc_panic - .data 0x0000000008100c24 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(cpu.s.o) - .data 0x0000000008100c24 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(bopti-asm-gray.s.o) - .data 0x0000000008100c24 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(bopti-asm-mono-scsp.s.o) - .data 0x0000000008100c24 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(bopti-asm.s.o) - .data 0x0000000008100c24 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_udivdi3.o) - .data 0x0000000008100c24 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_umoddi3.o) - .data 0x0000000008100c24 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_udivsi3.o) - .data 0x0000000008100c24 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_udiv_qrnnd_16.o) - .data 0x0000000008100c24 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_clz.o) + .data 0x0000000008100e38 0x24 build-fx/src/main.c.o + 0x0000000008100e38 _sinv + 0x0000000008100e3c _sele + 0x0000000008100e40 _dir + 0x0000000008100e44 _can_move + 0x0000000008100e48 _timeout + 0x0000000008100e4c _optd + 0x0000000008100e50 _opt + 0x0000000008100e54 _y + 0x0000000008100e58 _x + .data 0x0000000008100e5c 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dprint.c.o) + .data 0x0000000008100e5c 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dhline.c.o) + .data 0x0000000008100e5c 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dline.c.o) + .data 0x0000000008100e5c 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(start.c.o) + .data 0x0000000008100e5c 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(gint_dline.c.o) + .data 0x0000000008100e5c 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(masks.c.o) + .data 0x0000000008100e5c 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dpixel.c.o) + .data 0x0000000008100e5c 0x4 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dupdate.c.o) + 0x0000000008100e5c _gint_vram + .data 0x0000000008100e60 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dclear.c.o) + .data 0x0000000008100e60 0x8 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(topti.c.o) + 0x0000000008100e60 _topti_font + 0x0000000008100e64 _gint_default_font + .data 0x0000000008100e68 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dsubimage.c.o) + .data 0x0000000008100e68 0x4 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(t6k11.c.o) + .data 0x0000000008100e6c 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(keysc.c.o) + .data 0x0000000008100e6c 0x8 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(getkey.c.o) + .data 0x0000000008100e74 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(iokbd.c.o) + .data 0x0000000008100e74 0x68 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(stdio.c.o) + 0x0000000008100e74 _kprint_formatters + .data 0x0000000008100edc 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(font5x7.png.o) + .data 0x0000000008100edc 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(mmu.c.o) + .data 0x0000000008100edc 0xc /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(tmu.c.o) + .data 0x0000000008100ee8 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dtext.c.o) + .data 0x0000000008100ee8 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(topti.c.o) + .data 0x0000000008100ee8 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(osmenu.c.o) + .data 0x0000000008100ee8 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(syscalls.S.o) + .data 0x0000000008100ee8 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(hardware.c.o) + .data 0x0000000008100ee8 0x4 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(kernel.c.o) + 0x0000000008100ee8 _gint_required_intc + .data 0x0000000008100eec 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(tlbh.S.o) + .data 0x0000000008100eec 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(topti-asm.s.o) + .data 0x0000000008100eec 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(bopti.c.o) + .data 0x0000000008100eec 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(bopti-asm-gray-scsp.s.o) + .data 0x0000000008100eec 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(cpg.c.o) + .data 0x0000000008100eec 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(memcpy.s.o) + .data 0x0000000008100eec 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(memset.s.o) + .data 0x0000000008100eec 0x10 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(intc.c.o) + 0x0000000008100eec _SH7305_INTC + .data 0x0000000008100efc 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(inth-tmu.s.o) + .data 0x0000000008100efc 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(inth-etmu.s.o) + .data 0x0000000008100efc 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(exch.s.o) + *fill* 0x0000000008100efc 0x4 + .data 0x0000000008100f00 0x60 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(inth.S.o) + .data 0x0000000008100f60 0x4 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(exch.c.o) + 0x0000000008100f60 _gint_exc_panic + .data 0x0000000008100f64 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(cpu.s.o) + .data 0x0000000008100f64 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(bopti-asm-gray.s.o) + .data 0x0000000008100f64 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(bopti-asm-mono-scsp.s.o) + .data 0x0000000008100f64 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(bopti-asm.s.o) + .data 0x0000000008100f64 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_udivdi3.o) + .data 0x0000000008100f64 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_umoddi3.o) + .data 0x0000000008100f64 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_udivsi3.o) + .data 0x0000000008100f64 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_udiv_qrnnd_16.o) + .data 0x0000000008100f64 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_clz.o) *(D) *(.gint.data.sh3) .gint.data.sh3 - 0x0000000008100c24 0x24 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(intc.c.o) - 0x0000000008100c24 _SH7705_INTC - 0x0000000008100c50 . = ALIGN (0x10) - *fill* 0x0000000008100c48 0x8 + 0x0000000008100f64 0x24 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(intc.c.o) + 0x0000000008100f64 _SH7705_INTC + 0x0000000008100f90 . = ALIGN (0x10) + *fill* 0x0000000008100f88 0x8 -.data.4 0x0000000008100c50 0x0 load address 0x0000000000306690 +.data.4 0x0000000008100f90 0x0 load address 0x00000000003066d0 *(.data.4) - 0x0000000008100c50 . = ALIGN (0x10) + 0x0000000008100f90 . = ALIGN (0x10) 0x0000000000000160 _sdata = (SIZEOF (.data) + SIZEOF (.data.4)) -.gint.bss 0x0000000008100c50 0x240 load address 0x0000000000306690 +.gint.bss 0x0000000008100f90 0x240 load address 0x00000000003066d0 *(.gint.bss .gint.bss.sh3) - .gint.bss 0x0000000008100c50 0x2 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(t6k11.c.o) - .gint.bss 0x0000000008100c52 0x80 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(keysc.c.o) - *fill* 0x0000000008100cd2 0x2 - .gint.bss 0x0000000008100cd4 0x10 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(mmu.c.o) - .gint.bss 0x0000000008100ce4 0xe0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(tmu.c.o) - .gint.bss 0x0000000008100dc4 0x40 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(hardware.c.o) - 0x0000000008100dc4 _gint - .gint.bss 0x0000000008100e04 0x18 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(kernel.c.o) - .gint.bss 0x0000000008100e1c 0x24 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(cpg.c.o) - .gint.bss 0x0000000008100e40 0x4c /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(intc.c.o) - 0x0000000008100e90 . = ALIGN (0x10) - *fill* 0x0000000008100e8c 0x4 + .gint.bss 0x0000000008100f90 0x2 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(t6k11.c.o) + .gint.bss 0x0000000008100f92 0x80 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(keysc.c.o) + *fill* 0x0000000008101012 0x2 + .gint.bss 0x0000000008101014 0x10 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(mmu.c.o) + .gint.bss 0x0000000008101024 0xe0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(tmu.c.o) + .gint.bss 0x0000000008101104 0x40 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(hardware.c.o) + 0x0000000008101104 _gint + .gint.bss 0x0000000008101144 0x18 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(kernel.c.o) + .gint.bss 0x000000000810115c 0x24 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(cpg.c.o) + .gint.bss 0x0000000008101180 0x4c /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(intc.c.o) + 0x00000000081011d0 . = ALIGN (0x10) + *fill* 0x00000000081011cc 0x4 0x0000000000000240 _sgbss = SIZEOF (.gint.bss) 0x00000000e5200000 . = ORIGIN (ilram) -.ilram 0x00000000e5200000 0x0 load address 0x0000000000306690 - 0x0000000000306690 _lilram = LOADADDR (.ilram) +.ilram 0x00000000e5200000 0x0 load address 0x00000000003066d0 + 0x00000000003066d0 _lilram = LOADADDR (.ilram) 0x00000000e5200000 _rilram = . *(.ilram) 0x00000000e5200000 . = ALIGN (0x10) 0x00000000e5007000 . = ORIGIN (xram) -.xram 0x00000000e5007000 0x0 load address 0x0000000000306690 - 0x0000000000306690 _lxram = LOADADDR (.xram) +.xram 0x00000000e5007000 0x0 load address 0x00000000003066d0 + 0x00000000003066d0 _lxram = LOADADDR (.xram) 0x00000000e5007000 _rxram = . *(.xram) 0x00000000e5007000 . = ALIGN (0x10) 0x00000000e5017000 . = ORIGIN (yram) -.yram 0x00000000e5017000 0x0 load address 0x0000000000306690 - 0x0000000000306690 _lyram = LOADADDR (.yram) +.yram 0x00000000e5017000 0x0 load address 0x00000000003066d0 + 0x00000000003066d0 _lyram = LOADADDR (.yram) 0x00000000e5017000 _ryram = . *(.yram) 0x00000000e5017000 . = ALIGN (0x10) @@ -669,8 +669,8 @@ LOAD /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a 0x0000000000000000 _syram = SIZEOF (.yram) 0x0000000000000000 . = ORIGIN (rram) -.gint.mapped 0x0000000000000000 0xa0 load address 0x0000000000306690 - 0x0000000000306690 _lgmapped = LOADADDR (.gint.mapped) +.gint.mapped 0x0000000000000000 0xa0 load address 0x00000000003066d0 + 0x00000000003066d0 _lgmapped = LOADADDR (.gint.mapped) *(.gint.mapped) .gint.mapped 0x0000000000000000 0x70 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(inth.S.o) .gint.mapped 0x0000000000000070 0x2c /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(cpu.s.o) @@ -678,7 +678,7 @@ LOAD /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a *fill* 0x000000000000009c 0x4 0x00000000000000a0 _sgmapped = SIZEOF (.gint.mapped) -.rela.dyn 0x00000000000000a0 0x0 load address 0x0000000000306730 +.rela.dyn 0x00000000000000a0 0x0 load address 0x0000000000306770 .rela.text 0x00000000000000a0 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dprint.c.o) .rela.text.entry 0x00000000000000a0 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dprint.c.o) diff --git a/build-fx/src/main.c.o b/build-fx/src/main.c.o index 0c0a812..83819da 100644 Binary files a/build-fx/src/main.c.o and b/build-fx/src/main.c.o differ diff --git a/src/main.c b/src/main.c index cdfb7bc..141030d 100644 --- a/src/main.c +++ b/src/main.c @@ -3,7 +3,7 @@ extern "C"{ #include //#include } -#define MAP_X 130 +#define MAP_X 250 #define BLOCKS_LEN 17 using namespace std; @@ -105,6 +105,7 @@ int main(void) game_map[i+1][1] = 17; game_map[i-2][1] = 17; game_map[i+2][1] = 17; + game_map[i+1][3] = 4; } } game_map[5][3] = 9; @@ -134,28 +135,28 @@ int main(void) if(keydown(KEY_UP)){sele=0;} } if(can_move ==1 && keydown(KEY_OPTN)&& inv[sinv] > 0){ - inv[sinv]--; - if(sele==1&&game_map[x/10+1][y/10]==0){game_map[x/10+1][y/10]=sinv;} - if(sele==2&&game_map[x/10][y/10+1]==0){game_map[x/10][y/10+1]=sinv;} - if(sele==3&&game_map[x/10-1][y/10]==0){game_map[x/10-1][y/10]=sinv;} - if(sele==0&&game_map[x/10][y/10-1]==0){game_map[x/10][y/10-1]=sinv;} + + if(sele==1&&game_map[x/10+1][y/10]==0){game_map[x/10+1][y/10]=sinv;inv[sinv]--;} + if(sele==2&&game_map[x/10][y/10+1]==0){game_map[x/10][y/10+1]=sinv;inv[sinv]--;} + if(sele==3&&game_map[x/10-1][y/10]==0){game_map[x/10-1][y/10]=sinv;inv[sinv]--;} + if(sele==0&&game_map[x/10][y/10-1]==0){game_map[x/10][y/10-1]=sinv;inv[sinv]--;} } if(can_move ==1 && keydown(KEY_SQUARE)){ - if(sele==1){game_map[x/10+1][y/10]=0;inv[game_map[x/10+1][y/10]]++;} - if(sele==2){game_map[x/10][y/10+1]=0;inv[game_map[x/10][y/10+1]]++;} - if(sele==3){game_map[x/10-1][y/10]=0;inv[game_map[x/10-1][y/10]]++;} - if(sele==0){game_map[x/10][y/10-1]=0;inv[game_map[x/10][y/10-1]]++;} + if(sele==1){inv[game_map[x/10+1][y/10]]++;game_map[x/10+1][y/10]=0;} + if(sele==2){inv[game_map[x/10][y/10+1]]++;game_map[x/10][y/10+1]=0;} + if(sele==3){inv[game_map[x/10-1][y/10]]++;game_map[x/10-1][y/10]=0;} + if(sele==0){inv[game_map[x/10][y/10-1]]++;game_map[x/10][y/10-1]=0;} } if(selecoll>0){selecoll--;} if(keydown(KEY_F6)&&selecoll==0){ if(sinv==BLOCKS_LEN+1){sinv=1;} sinv++; - selecoll = 20; + selecoll = 40; } if(keydown(KEY_F5)&&selecoll==0){ if(sinv==0){sinv=BLOCKS_LEN+1;} sinv--; - selecoll = 20; + selecoll = 40; } if(can_move == 1 && game_map[x/10][y/10+1] == 0){ can_move = 0;