diff --git a/binnword.g1a b/binnword.g1a index b2dabc0..438c257 100644 Binary files a/binnword.g1a and b/binnword.g1a differ diff --git a/build-fx/binnword.bin b/build-fx/binnword.bin index a09ac48..ea64047 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 2cf25eb..68d4f93 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 f4b47ba..8b1f609 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 - 0x0000000000006478 _srom = ((((0x200 + SIZEOF (.text)) + SIZEOF (.rodata)) + SIZEOF (.gint.drivers)) + SIZEOF (.gint.blocks)) + 0x00000000000064e8 _srom = ((((0x200 + SIZEOF (.text)) + SIZEOF (.rodata)) + SIZEOF (.gint.drivers)) + SIZEOF (.gint.blocks)) -.text 0x0000000000300200 0x54a8 +.text 0x0000000000300200 0x5518 *(.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,277 +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 0x00000000003007cc 0x57c build-fx/src/main.c.o + .text.startup 0x00000000003007cc 0x5e8 build-fx/src/main.c.o 0x00000000003007cc _main - .text 0x0000000000300d48 0xbc /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dprint.c.o) - 0x0000000000300d48 _dprint_opt - 0x0000000000300db4 _dprint - .text 0x0000000000300e04 0x20 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dhline.c.o) - 0x0000000000300e04 _dhline - .text 0x0000000000300e24 0x180 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dline.c.o) - 0x0000000000300e24 _dline - .text 0x0000000000300fa4 0x3c /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(start.c.o) - 0x0000000000300fd4 _gint_setrestart - .text 0x0000000000300fe0 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) - 0x0000000000300fe0 _gint_dhline - 0x00000000003010a4 _gint_dvline - .text 0x0000000000301140 0x8c /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(masks.c.o) - 0x0000000000301140 _masks - .text 0x00000000003011cc 0x68 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dpixel.c.o) - 0x00000000003011cc _dpixel - .text 0x0000000000301234 0x3c /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dupdate.c.o) - 0x0000000000301234 _dupdate - .text 0x0000000000301270 0x64 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dclear.c.o) - 0x0000000000301270 _dclear - .text 0x00000000003012d4 0x3b0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(topti.c.o) - 0x0000000000301376 _topti_render - 0x000000000030159c _dtext_opt - .text 0x0000000000301684 0xc8 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dsubimage.c.o) - 0x0000000000301684 _dsubimage - .text 0x000000000030174c 0x240 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(t6k11.c.o) - 0x00000000003017c4 _t6k11_display_v1 - 0x0000000000301868 _t6k11_display_v2 - 0x0000000000301900 _t6k11_display - 0x0000000000301924 _t6k11_contrast - 0x000000000030194c _t6k11_backlight - .text 0x000000000030198c 0x444 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(keysc.c.o) - 0x0000000000301b84 _pollevent - 0x0000000000301cc0 _waitevent - 0x0000000000301d0c _clearevents - 0x0000000000301d2c _keydown - 0x0000000000301d58 _keydown_all - 0x0000000000301d94 _keydown_any - .text 0x0000000000301dd0 0x29c /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(getkey.c.o) - 0x0000000000301dd0 _getkey_opt - 0x0000000000302018 _getkey - 0x0000000000302024 _getkey_repeat - 0x0000000000302060 _getkey_repeat_filter - .text 0x000000000030206c 0x124 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(iokbd.c.o) - 0x0000000000302078 _iokbd_row - 0x0000000000302160 _iokbd_scan - .text 0x0000000000302190 0xcec /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(stdio.c.o) - 0x0000000000302b8c _kprint_opt - 0x0000000000302cd4 _kprint - 0x0000000000302db4 _kvsprint - 0x0000000000302dfc _sprintf - 0x0000000000302e24 _vsprintf - 0x0000000000302e44 _snprintf - 0x0000000000302e64 _vsnprintf - .text 0x0000000000302e7c 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 0x0000000000302e7c 0x348 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(mmu.c.o) - 0x0000000000302ed8 _tlb_addr - 0x0000000000302eec _tlb_data - 0x0000000000302f00 _tlb_mapped_memory - 0x0000000000302fcc _tlb_translate - 0x000000000030304c _utlb_addr - 0x000000000030305c _utlb_data - 0x000000000030306c _utlb_mapped_memory - 0x000000000030313c _utlb_translate - 0x0000000000303188 _mmu_translate - 0x00000000003031a4 _mmu_uram - .text 0x00000000003031c4 0x7f4 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(tmu.c.o) - 0x0000000000303518 _timer_delay - 0x00000000003035c4 _timer_setup - 0x00000000003037d4 _timer_start - 0x000000000030380c _timer_reload - 0x0000000000303844 _timer_pause - 0x0000000000303880 _timer_stop - 0x00000000003038fc _timer_wait - 0x0000000000303964 _timer_spinwait - 0x00000000003039a8 _timer_timeout - .text 0x00000000003039b8 0x20 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dtext.c.o) - 0x00000000003039b8 _dtext - .text 0x00000000003039d8 0x208 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(topti.c.o) - 0x00000000003039d8 _dfont - 0x00000000003039f0 _topti_glyph_index - 0x0000000000303a38 _topti_offset - 0x0000000000303a94 _topti_utf8_next - 0x0000000000303b42 _dsize - .text 0x0000000000303be0 0xbc /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(osmenu.c.o) - 0x0000000000303c8c _gint_osmenu - *fill* 0x0000000000303c9c 0x4 - .text 0x0000000000303ca0 0x170 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(syscalls.S.o) - 0x0000000000303ca0 _malloc - 0x0000000000303cb4 _free - 0x0000000000303cc4 _calloc - 0x0000000000303cd4 _realloc - 0x0000000000303ce4 _BFile_Remove - 0x0000000000303cf4 _BFile_Create - 0x0000000000303d04 _BFile_Open - 0x0000000000303d14 _BFile_Close - 0x0000000000303d24 _BFile_Size - 0x0000000000303d34 _BFile_Write - 0x0000000000303d44 _BFile_Read - 0x0000000000303d54 _BFile_FindFirst - 0x0000000000303d64 _BFile_FindNext - 0x0000000000303d74 _BFile_FindClose - 0x0000000000303d84 ___Timer_Install - 0x0000000000303d94 ___Timer_Start - 0x0000000000303da4 ___Timer_Stop - 0x0000000000303db4 ___Timer_Deinstall - 0x0000000000303dc4 ___PutKeyCode - 0x0000000000303dd4 ___GetKeyWait - 0x0000000000303de4 ___ClearKeyBuffer - 0x0000000000303df4 ___GetVRAMAddress - .text 0x0000000000303e10 0xec /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(hardware.c.o) - 0x0000000000303e10 _hw_detect - .text 0x0000000000303efc 0x39c /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(kernel.c.o) - 0x0000000000304118 _kinit - 0x00000000003041c0 _gint_inthandler - 0x0000000000304220 _gint_switch - 0x0000000000304270 _kquit - .text 0x0000000000304298 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* 0x0000000000304298 0x8 - .text 0x00000000003042a0 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) - 0x00000000003043b0 _topti_asm_text - .text 0x00000000003043d0 0x52c /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(bopti.c.o) - 0x00000000003043d0 _bopti_grid - 0x0000000000304608 _bopti_render - 0x0000000000304758 _bopti_render_scsp - 0x0000000000304858 _bopti_clip - .text 0x00000000003048fc 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) - 0x00000000003048fc _bopti_gasm_mono_scsp - 0x0000000000304918 _bopti_gasm_mono_alpha_scsp - 0x000000000030493a _bopti_gasm_gray_scsp - 0x000000000030495c _bopti_gasm_gray_alpha_scsp - .text 0x0000000000304984 0x178 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(cpg.c.o) - 0x0000000000304af0 _clock_freq - *fill* 0x0000000000304afc 0x4 - .text 0x0000000000304b00 0xc0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(memcpy.s.o) - 0x0000000000304b00 _memcpy - .text 0x0000000000304bc0 0x56 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(memset.s.o) - 0x0000000000304bc0 _memset - *fill* 0x0000000000304c16 0x2 - .text 0x0000000000304c18 0x1a0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(intc.c.o) - 0x0000000000304d04 _intc_priority - .text 0x0000000000304db8 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 0x0000000000304db8 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 0x0000000000304db8 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 0x0000000000304db8 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 0x0000000000304db8 0x1ec /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(exch.c.o) - 0x0000000000304f68 _gint_panic - 0x0000000000304f78 _gint_panic_set - 0x0000000000304f8c _gint_exc_catch - 0x0000000000304f98 _gint_exc_skip - *fill* 0x0000000000304fa4 0xc - .text 0x0000000000304fb0 0x30 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(cpu.s.o) - 0x0000000000304fb0 _cpu_setCPUOPM - 0x0000000000304fc2 _cpu_getCPUOPM - 0x0000000000304fd4 _cpu_getSR - 0x0000000000304fda _cpu_setSR - .text 0x0000000000304fe0 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) - 0x0000000000304fe0 _bopti_gasm_mono - 0x000000000030501c _bopti_gasm_mono_alpha - 0x000000000030506c _bopti_gasm_gray - 0x00000000003050c0 _bopti_gasm_gray_alpha - .text 0x0000000000305130 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) - 0x0000000000305130 _bopti_asm_mono_scsp - 0x0000000000305142 _bopti_asm_mono_alpha_scsp - .text 0x000000000030515a 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) - 0x000000000030515a _bopti_asm_mono - 0x0000000000305180 _bopti_asm_mono_alpha - *fill* 0x00000000003051b2 0x2 - .text 0x00000000003051b4 0x1f0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_udivdi3.o) - 0x00000000003051b4 ___udivdi3 - .text 0x00000000003053a4 0x234 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_umoddi3.o) - 0x00000000003053a4 ___umoddi3 - .text 0x00000000003055d8 0x6c /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_udivsi3.o) - 0x00000000003055fa ___udivsi3 - *fill* 0x0000000000305644 0x4 - .text 0x0000000000305648 0x60 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_udiv_qrnnd_16.o) - 0x0000000000305648 ___udiv_qrnnd_16 - .text 0x00000000003056a8 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_clz.o) + .text 0x0000000000300db4 0xbc /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dprint.c.o) + 0x0000000000300db4 _dprint_opt + 0x0000000000300e20 _dprint + .text 0x0000000000300e70 0x20 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dhline.c.o) + 0x0000000000300e70 _dhline + .text 0x0000000000300e90 0x180 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dline.c.o) + 0x0000000000300e90 _dline + .text 0x0000000000301010 0x3c /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(start.c.o) + 0x0000000000301040 _gint_setrestart + .text 0x000000000030104c 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) + 0x000000000030104c _gint_dhline + 0x0000000000301110 _gint_dvline + .text 0x00000000003011ac 0x8c /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(masks.c.o) + 0x00000000003011ac _masks + .text 0x0000000000301238 0x68 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dpixel.c.o) + 0x0000000000301238 _dpixel + .text 0x00000000003012a0 0x3c /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dupdate.c.o) + 0x00000000003012a0 _dupdate + .text 0x00000000003012dc 0x64 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dclear.c.o) + 0x00000000003012dc _dclear + .text 0x0000000000301340 0x3b0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(topti.c.o) + 0x00000000003013e2 _topti_render + 0x0000000000301608 _dtext_opt + .text 0x00000000003016f0 0xc8 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dsubimage.c.o) + 0x00000000003016f0 _dsubimage + .text 0x00000000003017b8 0x240 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(t6k11.c.o) + 0x0000000000301830 _t6k11_display_v1 + 0x00000000003018d4 _t6k11_display_v2 + 0x000000000030196c _t6k11_display + 0x0000000000301990 _t6k11_contrast + 0x00000000003019b8 _t6k11_backlight + .text 0x00000000003019f8 0x444 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(keysc.c.o) + 0x0000000000301bf0 _pollevent + 0x0000000000301d2c _waitevent + 0x0000000000301d78 _clearevents + 0x0000000000301d98 _keydown + 0x0000000000301dc4 _keydown_all + 0x0000000000301e00 _keydown_any + .text 0x0000000000301e3c 0x29c /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(getkey.c.o) + 0x0000000000301e3c _getkey_opt + 0x0000000000302084 _getkey + 0x0000000000302090 _getkey_repeat + 0x00000000003020cc _getkey_repeat_filter + .text 0x00000000003020d8 0x124 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(iokbd.c.o) + 0x00000000003020e4 _iokbd_row + 0x00000000003021cc _iokbd_scan + .text 0x00000000003021fc 0xcec /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(stdio.c.o) + 0x0000000000302bf8 _kprint_opt + 0x0000000000302d40 _kprint + 0x0000000000302e20 _kvsprint + 0x0000000000302e68 _sprintf + 0x0000000000302e90 _vsprintf + 0x0000000000302eb0 _snprintf + 0x0000000000302ed0 _vsnprintf + .text 0x0000000000302ee8 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 0x0000000000302ee8 0x348 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(mmu.c.o) + 0x0000000000302f44 _tlb_addr + 0x0000000000302f58 _tlb_data + 0x0000000000302f6c _tlb_mapped_memory + 0x0000000000303038 _tlb_translate + 0x00000000003030b8 _utlb_addr + 0x00000000003030c8 _utlb_data + 0x00000000003030d8 _utlb_mapped_memory + 0x00000000003031a8 _utlb_translate + 0x00000000003031f4 _mmu_translate + 0x0000000000303210 _mmu_uram + .text 0x0000000000303230 0x7f4 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(tmu.c.o) + 0x0000000000303584 _timer_delay + 0x0000000000303630 _timer_setup + 0x0000000000303840 _timer_start + 0x0000000000303878 _timer_reload + 0x00000000003038b0 _timer_pause + 0x00000000003038ec _timer_stop + 0x0000000000303968 _timer_wait + 0x00000000003039d0 _timer_spinwait + 0x0000000000303a14 _timer_timeout + .text 0x0000000000303a24 0x20 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dtext.c.o) + 0x0000000000303a24 _dtext + .text 0x0000000000303a44 0x208 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(topti.c.o) + 0x0000000000303a44 _dfont + 0x0000000000303a5c _topti_glyph_index + 0x0000000000303aa4 _topti_offset + 0x0000000000303b00 _topti_utf8_next + 0x0000000000303bae _dsize + .text 0x0000000000303c4c 0xbc /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(osmenu.c.o) + 0x0000000000303cf8 _gint_osmenu + *fill* 0x0000000000303d08 0x8 + .text 0x0000000000303d10 0x170 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(syscalls.S.o) + 0x0000000000303d10 _malloc + 0x0000000000303d24 _free + 0x0000000000303d34 _calloc + 0x0000000000303d44 _realloc + 0x0000000000303d54 _BFile_Remove + 0x0000000000303d64 _BFile_Create + 0x0000000000303d74 _BFile_Open + 0x0000000000303d84 _BFile_Close + 0x0000000000303d94 _BFile_Size + 0x0000000000303da4 _BFile_Write + 0x0000000000303db4 _BFile_Read + 0x0000000000303dc4 _BFile_FindFirst + 0x0000000000303dd4 _BFile_FindNext + 0x0000000000303de4 _BFile_FindClose + 0x0000000000303df4 ___Timer_Install + 0x0000000000303e04 ___Timer_Start + 0x0000000000303e14 ___Timer_Stop + 0x0000000000303e24 ___Timer_Deinstall + 0x0000000000303e34 ___PutKeyCode + 0x0000000000303e44 ___GetKeyWait + 0x0000000000303e54 ___ClearKeyBuffer + 0x0000000000303e64 ___GetVRAMAddress + .text 0x0000000000303e80 0xec /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(hardware.c.o) + 0x0000000000303e80 _hw_detect + .text 0x0000000000303f6c 0x39c /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(kernel.c.o) + 0x0000000000304188 _kinit + 0x0000000000304230 _gint_inthandler + 0x0000000000304290 _gint_switch + 0x00000000003042e0 _kquit + .text 0x0000000000304308 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* 0x0000000000304308 0x8 + .text 0x0000000000304310 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) + 0x0000000000304420 _topti_asm_text + .text 0x0000000000304440 0x52c /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(bopti.c.o) + 0x0000000000304440 _bopti_grid + 0x0000000000304678 _bopti_render + 0x00000000003047c8 _bopti_render_scsp + 0x00000000003048c8 _bopti_clip + .text 0x000000000030496c 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) + 0x000000000030496c _bopti_gasm_mono_scsp + 0x0000000000304988 _bopti_gasm_mono_alpha_scsp + 0x00000000003049aa _bopti_gasm_gray_scsp + 0x00000000003049cc _bopti_gasm_gray_alpha_scsp + .text 0x00000000003049f4 0x178 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(cpg.c.o) + 0x0000000000304b60 _clock_freq + *fill* 0x0000000000304b6c 0x4 + .text 0x0000000000304b70 0xc0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(memcpy.s.o) + 0x0000000000304b70 _memcpy + .text 0x0000000000304c30 0x56 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(memset.s.o) + 0x0000000000304c30 _memset + *fill* 0x0000000000304c86 0x2 + .text 0x0000000000304c88 0x1a0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(intc.c.o) + 0x0000000000304d74 _intc_priority + .text 0x0000000000304e28 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 0x0000000000304e28 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 0x0000000000304e28 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 0x0000000000304e28 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 0x0000000000304e28 0x1ec /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(exch.c.o) + 0x0000000000304fd8 _gint_panic + 0x0000000000304fe8 _gint_panic_set + 0x0000000000304ffc _gint_exc_catch + 0x0000000000305008 _gint_exc_skip + *fill* 0x0000000000305014 0xc + .text 0x0000000000305020 0x30 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(cpu.s.o) + 0x0000000000305020 _cpu_setCPUOPM + 0x0000000000305032 _cpu_getCPUOPM + 0x0000000000305044 _cpu_getSR + 0x000000000030504a _cpu_setSR + .text 0x0000000000305050 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) + 0x0000000000305050 _bopti_gasm_mono + 0x000000000030508c _bopti_gasm_mono_alpha + 0x00000000003050dc _bopti_gasm_gray + 0x0000000000305130 _bopti_gasm_gray_alpha + .text 0x00000000003051a0 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) + 0x00000000003051a0 _bopti_asm_mono_scsp + 0x00000000003051b2 _bopti_asm_mono_alpha_scsp + .text 0x00000000003051ca 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) + 0x00000000003051ca _bopti_asm_mono + 0x00000000003051f0 _bopti_asm_mono_alpha + *fill* 0x0000000000305222 0x2 + .text 0x0000000000305224 0x1f0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_udivdi3.o) + 0x0000000000305224 ___udivdi3 + .text 0x0000000000305414 0x234 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_umoddi3.o) + 0x0000000000305414 ___umoddi3 + .text 0x0000000000305648 0x6c /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_udivsi3.o) + 0x000000000030566a ___udivsi3 + *fill* 0x00000000003056b4 0x4 + .text 0x00000000003056b8 0x60 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_udiv_qrnnd_16.o) + 0x00000000003056b8 ___udiv_qrnnd_16 + .text 0x0000000000305718 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 0x00000000003056b0 0x180 +.gint.blocks 0x0000000000305720 0x180 *(.gint.blocks) - .gint.blocks 0x00000000003056b0 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) - 0x00000000003056b0 _inth_tmu - .gint.blocks 0x0000000000305730 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) - 0x0000000000305730 _inth_etmu4 - 0x0000000000305790 _inth_etmux - .gint.blocks 0x00000000003057b0 0x80 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(inth.S.o) - 0x00000000003057b0 _gint_inth_7305 - 0x00000000003057f0 _gint_inth_7705 + .gint.blocks 0x0000000000305720 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) + 0x0000000000305720 _inth_tmu + .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-etmu.s.o) + 0x00000000003057a0 _inth_etmu4 + 0x0000000000305800 _inth_etmux + .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.S.o) + 0x0000000000305820 _gint_inth_7305 + 0x0000000000305860 _gint_inth_7705 -.gint.drivers 0x0000000000305830 0xc0 - 0x0000000000305830 _bdrv = . +.gint.drivers 0x00000000003058a0 0xc0 + 0x00000000003058a0 _bdrv = . *(.gint.drivers.0) .gint.drivers.0 - 0x0000000000305830 0x20 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(intc.c.o) - 0x0000000000305830 _drv_intc + 0x00000000003058a0 0x20 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(intc.c.o) + 0x00000000003058a0 _drv_intc *(.gint.drivers.1) .gint.drivers.1 - 0x0000000000305850 0x20 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(mmu.c.o) - 0x0000000000305850 _drv_mmu + 0x00000000003058c0 0x20 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(mmu.c.o) + 0x00000000003058c0 _drv_mmu .gint.drivers.1 - 0x0000000000305870 0x20 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(cpg.c.o) - 0x0000000000305870 _drv_cpg + 0x00000000003058e0 0x20 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(cpg.c.o) + 0x00000000003058e0 _drv_cpg *(.gint.drivers.2) .gint.drivers.2 - 0x0000000000305890 0x20 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(tmu.c.o) - 0x0000000000305890 _drv_tmu + 0x0000000000305900 0x20 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(tmu.c.o) + 0x0000000000305900 _drv_tmu *(.gint.drivers.3) *(.gint.drivers.4) .gint.drivers.4 - 0x00000000003058b0 0x20 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(keysc.c.o) - 0x00000000003058b0 _drv_keysc + 0x0000000000305920 0x20 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(keysc.c.o) + 0x0000000000305920 _drv_keysc *(.gint.drivers.5) .gint.drivers.5 - 0x00000000003058d0 0x20 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(t6k11.c.o) - 0x00000000003058d0 _drv_t6k11 + 0x0000000000305940 0x20 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(t6k11.c.o) + 0x0000000000305940 _drv_t6k11 *(.gint.drivers.6) - 0x00000000003058f0 _edrv = . + 0x0000000000305960 _edrv = . -.rodata 0x00000000003058f0 0xb90 +.rodata 0x0000000000305960 0xb90 *(.rodata.4) *(.rodata .rodata.*) .rodata.str1.4 - 0x00000000003058f0 0x3 build-fx/src/main.c.o - *fill* 0x00000000003058f3 0x1 - .rodata 0x00000000003058f4 0x3c build-fx/assets/img/numbers.png.o - 0x00000000003058f4 _img_numbers - 0x0000000000305930 _img_numbers_end - .rodata 0x0000000000305930 0x34c build-fx/assets/img/tilemap.png.o - 0x0000000000305930 _img_tilemap - 0x0000000000305c7c _img_tilemap_end + 0x0000000000305960 0x3 build-fx/src/main.c.o + *fill* 0x0000000000305963 0x1 + .rodata 0x0000000000305964 0x3c build-fx/assets/img/numbers.png.o + 0x0000000000305964 _img_numbers + 0x00000000003059a0 _img_numbers_end + .rodata 0x00000000003059a0 0x34c build-fx/assets/img/tilemap.png.o + 0x00000000003059a0 _img_tilemap + 0x0000000000305cec _img_tilemap_end .rodata.str1.4 - 0x0000000000305c7c 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* 0x0000000000305c82 0x2 + 0x0000000000305cec 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* 0x0000000000305cf2 0x2 .rodata.str1.4 - 0x0000000000305c84 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* 0x0000000000305c8a 0x2 + 0x0000000000305cf4 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* 0x0000000000305cfa 0x2 .rodata.str1.4 - 0x0000000000305c8c 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* 0x0000000000305cbd 0x3 - .rodata 0x0000000000305cc0 0x424 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(font5x7.png.o) - 0x0000000000305cc0 _gint_font5x7_data - 0x00000000003060c5 _gint_font5x7_data_end - 0x00000000003060c8 _gint_font5x7 + 0x0000000000305cfc 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* 0x0000000000305d2d 0x3 + .rodata 0x0000000000305d30 0x424 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(font5x7.png.o) + 0x0000000000305d30 _gint_font5x7_data + 0x0000000000306135 _gint_font5x7_data_end + 0x0000000000306138 _gint_font5x7 .rodata.str1.4 - 0x00000000003060e4 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 0x00000000003060e8 0xc /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(tmu.c.o) + 0x0000000000306154 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 0x0000000000306158 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 - 0x00000000003060f4 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 0x00000000003060f8 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 0x0000000000306110 0x40 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(bopti.c.o) + 0x0000000000306164 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 0x0000000000306168 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 0x0000000000306180 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 - 0x0000000000306150 0x4 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(cpg.c.o) + 0x00000000003061c0 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 - 0x0000000000306154 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* 0x0000000000306159 0x3 - .rodata 0x000000000030615c 0xfc /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(intc.c.o) + 0x00000000003061c4 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* 0x00000000003061c9 0x3 + .rodata 0x00000000003061cc 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 - 0x0000000000306258 0x128 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(exch.c.o) + 0x00000000003062c8 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 0x0000000000306380 0x100 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_clz.o) - 0x0000000000306380 ___clz_tab + .rodata 0x00000000003063f0 0x100 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_clz.o) + 0x00000000003063f0 ___clz_tab 0x0000000008100200 . = ORIGIN (ram) -.bss 0x0000000008100200 0x1060 +.bss 0x0000000008100200 0x13a0 0x0000000008100200 _rbss = . *(.bss COMMON) - .bss 0x0000000008100200 0xb6c build-fx/src/main.c.o + .bss 0x0000000008100200 0xeb4 build-fx/src/main.c.o 0x0000000008100200 _btmp 0x0000000008100204 _inv 0x000000000810024c _vas @@ -481,186 +481,185 @@ LOAD /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a 0x0000000008100254 _rwalk 0x0000000008100258 _key 0x000000000810025c _game_map - 0x0000000008100d68 _sx - .bss 0x0000000008100d6c 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 0x0000000008100d6c 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 0x0000000008100d6c 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 0x0000000008100d6c 0x4 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(start.c.o) - 0x0000000008100d6c _gint_restart - .bss 0x0000000008100d70 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 0x0000000008100d70 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 0x0000000008100d70 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 0x0000000008100d70 0x404 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dupdate.c.o) - 0x0000000008100d70 _dmode - .bss 0x0000000008101174 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 0x0000000008101174 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 0x0000000008101174 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 0x0000000008101174 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 0x0000000008101174 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 0x00000000081011bc 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 0x00000000081011d0 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 0x00000000081011d0 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 0x0000000008101224 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 0x0000000008101224 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 0x0000000008101224 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 0x0000000008101248 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 0x0000000008101248 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 0x0000000008101248 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 0x000000000810124c 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 0x000000000810124c 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 0x000000000810124c 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 0x000000000810124c 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 0x000000000810124c 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 0x000000000810124c 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 0x000000000810124c 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 0x000000000810124c 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 0x0000000008101254 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 0x0000000008101254 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 0x0000000008101254 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 0x0000000008101254 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 0x0000000008101254 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 0x0000000008101254 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 0x0000000008101254 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 0x0000000008101254 0x4 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(exch.c.o) - 0x0000000008101254 _gint_exc_catcher - .bss 0x0000000008101258 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 0x0000000008101258 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 0x0000000008101258 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 0x0000000008101258 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 0x0000000008101258 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_udivdi3.o) - .bss 0x0000000008101258 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_umoddi3.o) - .bss 0x0000000008101258 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_udivsi3.o) - .bss 0x0000000008101258 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 0x0000000008101258 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_clz.o) + 0x00000000081010b0 _sx + .bss 0x00000000081010b4 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 0x00000000081010b4 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 0x00000000081010b4 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 0x00000000081010b4 0x4 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(start.c.o) + 0x00000000081010b4 _gint_restart + .bss 0x00000000081010b8 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 0x00000000081010b8 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 0x00000000081010b8 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 0x00000000081010b8 0x404 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dupdate.c.o) + 0x00000000081010b8 _dmode + .bss 0x00000000081014bc 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 0x00000000081014bc 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 0x00000000081014bc 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 0x00000000081014bc 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 0x00000000081014bc 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 0x0000000008101504 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 0x0000000008101518 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 0x0000000008101518 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 0x000000000810156c 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 0x000000000810156c 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 0x000000000810156c 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 0x0000000008101590 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 0x0000000008101590 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 0x0000000008101590 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 0x0000000008101594 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 0x0000000008101594 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 0x0000000008101594 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 0x0000000008101594 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 0x0000000008101594 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 0x0000000008101594 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 0x0000000008101594 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 0x0000000008101594 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 0x000000000810159c 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 0x000000000810159c 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 0x000000000810159c 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 0x000000000810159c 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 0x000000000810159c 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 0x000000000810159c 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 0x000000000810159c 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 0x000000000810159c 0x4 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(exch.c.o) + 0x000000000810159c _gint_exc_catcher + .bss 0x00000000081015a0 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 0x00000000081015a0 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 0x00000000081015a0 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 0x00000000081015a0 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 0x00000000081015a0 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_udivdi3.o) + .bss 0x00000000081015a0 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_umoddi3.o) + .bss 0x00000000081015a0 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_udivsi3.o) + .bss 0x00000000081015a0 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 0x00000000081015a0 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_clz.o) *(B R) - 0x0000000008101260 . = ALIGN (0x10) - *fill* 0x0000000008101258 0x8 - 0x0000000000001060 _sbss = SIZEOF (.bss) + 0x00000000081015a0 . = ALIGN (0x10) + 0x00000000000013a0 _sbss = SIZEOF (.bss) -.data 0x0000000008101260 0x160 load address 0x0000000000306480 - 0x0000000000306480 _ldata = LOADADDR (.data) - 0x0000000008101260 _rdata = . - 0x0000000008101260 _lreloc = . +.data 0x00000000081015a0 0x160 load address 0x00000000003064f0 + 0x00000000003064f0 _ldata = LOADADDR (.data) + 0x00000000081015a0 _rdata = . + 0x00000000081015a0 _lreloc = . *(.gint.mappedrel) .gint.mappedrel - 0x0000000008101260 0x4 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(inth.S.o) - 0x0000000008101260 _gint_inth_callback + 0x00000000081015a0 0x4 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(inth.S.o) + 0x00000000081015a0 _gint_inth_callback .gint.mappedrel - 0x0000000008101264 0x4 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(cpu.s.o) - 0x0000000008101264 _cpu_setVBR + 0x00000000081015a4 0x4 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(cpu.s.o) + 0x00000000081015a4 _cpu_setVBR 0x0000000000000008 _sreloc = ABSOLUTE ((. - _lreloc)) *(.data .data.*) - .data 0x0000000008101268 0x24 build-fx/src/main.c.o - 0x0000000008101268 _sinv - 0x000000000810126c _sele - 0x0000000008101270 _dir - 0x0000000008101274 _can_move - 0x0000000008101278 _timeout - 0x000000000810127c _optd - 0x0000000008101280 _opt - 0x0000000008101284 _y - 0x0000000008101288 _x - .data 0x000000000810128c 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 0x000000000810128c 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 0x000000000810128c 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 0x000000000810128c 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 0x000000000810128c 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 0x000000000810128c 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 0x000000000810128c 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 0x000000000810128c 0x4 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dupdate.c.o) - 0x000000000810128c _gint_vram - .data 0x0000000008101290 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 0x0000000008101290 0x8 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(topti.c.o) - 0x0000000008101290 _topti_font - 0x0000000008101294 _gint_default_font - .data 0x0000000008101298 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 0x0000000008101298 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 0x000000000810129c 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 0x000000000810129c 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 0x00000000081012a4 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 0x00000000081012a4 0x68 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(stdio.c.o) - 0x00000000081012a4 _kprint_formatters - .data 0x000000000810130c 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 0x000000000810130c 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 0x000000000810130c 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 0x0000000008101318 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 0x0000000008101318 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 0x0000000008101318 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 0x0000000008101318 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 0x0000000008101318 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 0x0000000008101318 0x4 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(kernel.c.o) - 0x0000000008101318 _gint_required_intc - .data 0x000000000810131c 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 0x000000000810131c 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 0x000000000810131c 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 0x000000000810131c 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 0x000000000810131c 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 0x000000000810131c 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 0x000000000810131c 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 0x000000000810131c 0x10 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(intc.c.o) - 0x000000000810131c _SH7305_INTC - .data 0x000000000810132c 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 0x000000000810132c 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 0x000000000810132c 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* 0x000000000810132c 0x4 - .data 0x0000000008101330 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 0x0000000008101390 0x4 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(exch.c.o) - 0x0000000008101390 _gint_exc_panic - .data 0x0000000008101394 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 0x0000000008101394 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 0x0000000008101394 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 0x0000000008101394 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 0x0000000008101394 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_udivdi3.o) - .data 0x0000000008101394 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_umoddi3.o) - .data 0x0000000008101394 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_udivsi3.o) - .data 0x0000000008101394 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 0x0000000008101394 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_clz.o) + .data 0x00000000081015a8 0x24 build-fx/src/main.c.o + 0x00000000081015a8 _sinv + 0x00000000081015ac _sele + 0x00000000081015b0 _dir + 0x00000000081015b4 _can_move + 0x00000000081015b8 _timeout + 0x00000000081015bc _optd + 0x00000000081015c0 _opt + 0x00000000081015c4 _y + 0x00000000081015c8 _x + .data 0x00000000081015cc 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 0x00000000081015cc 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 0x00000000081015cc 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 0x00000000081015cc 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 0x00000000081015cc 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 0x00000000081015cc 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 0x00000000081015cc 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 0x00000000081015cc 0x4 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dupdate.c.o) + 0x00000000081015cc _gint_vram + .data 0x00000000081015d0 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 0x00000000081015d0 0x8 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(topti.c.o) + 0x00000000081015d0 _topti_font + 0x00000000081015d4 _gint_default_font + .data 0x00000000081015d8 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 0x00000000081015d8 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 0x00000000081015dc 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 0x00000000081015dc 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 0x00000000081015e4 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 0x00000000081015e4 0x68 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(stdio.c.o) + 0x00000000081015e4 _kprint_formatters + .data 0x000000000810164c 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 0x000000000810164c 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 0x000000000810164c 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 0x0000000008101658 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 0x0000000008101658 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 0x0000000008101658 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 0x0000000008101658 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 0x0000000008101658 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 0x0000000008101658 0x4 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(kernel.c.o) + 0x0000000008101658 _gint_required_intc + .data 0x000000000810165c 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 0x000000000810165c 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 0x000000000810165c 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 0x000000000810165c 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 0x000000000810165c 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 0x000000000810165c 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 0x000000000810165c 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 0x000000000810165c 0x10 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(intc.c.o) + 0x000000000810165c _SH7305_INTC + .data 0x000000000810166c 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 0x000000000810166c 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 0x000000000810166c 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* 0x000000000810166c 0x4 + .data 0x0000000008101670 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 0x00000000081016d0 0x4 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(exch.c.o) + 0x00000000081016d0 _gint_exc_panic + .data 0x00000000081016d4 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 0x00000000081016d4 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 0x00000000081016d4 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 0x00000000081016d4 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 0x00000000081016d4 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_udivdi3.o) + .data 0x00000000081016d4 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_umoddi3.o) + .data 0x00000000081016d4 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_udivsi3.o) + .data 0x00000000081016d4 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 0x00000000081016d4 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 - 0x0000000008101394 0x24 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(intc.c.o) - 0x0000000008101394 _SH7705_INTC - 0x00000000081013c0 . = ALIGN (0x10) - *fill* 0x00000000081013b8 0x8 + 0x00000000081016d4 0x24 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(intc.c.o) + 0x00000000081016d4 _SH7705_INTC + 0x0000000008101700 . = ALIGN (0x10) + *fill* 0x00000000081016f8 0x8 -.data.4 0x00000000081013c0 0x0 load address 0x00000000003065e0 +.data.4 0x0000000008101700 0x0 load address 0x0000000000306650 *(.data.4) - 0x00000000081013c0 . = ALIGN (0x10) + 0x0000000008101700 . = ALIGN (0x10) 0x0000000000000160 _sdata = (SIZEOF (.data) + SIZEOF (.data.4)) -.gint.bss 0x00000000081013c0 0x240 load address 0x00000000003065e0 +.gint.bss 0x0000000008101700 0x240 load address 0x0000000000306650 *(.gint.bss .gint.bss.sh3) - .gint.bss 0x00000000081013c0 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 0x00000000081013c2 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* 0x0000000008101442 0x2 - .gint.bss 0x0000000008101444 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 0x0000000008101454 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 0x0000000008101534 0x40 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(hardware.c.o) - 0x0000000008101534 _gint - .gint.bss 0x0000000008101574 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 0x000000000810158c 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 0x00000000081015b0 0x4c /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(intc.c.o) - 0x0000000008101600 . = ALIGN (0x10) - *fill* 0x00000000081015fc 0x4 + .gint.bss 0x0000000008101700 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 0x0000000008101702 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* 0x0000000008101782 0x2 + .gint.bss 0x0000000008101784 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 0x0000000008101794 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 0x0000000008101874 0x40 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(hardware.c.o) + 0x0000000008101874 _gint + .gint.bss 0x00000000081018b4 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 0x00000000081018cc 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 0x00000000081018f0 0x4c /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(intc.c.o) + 0x0000000008101940 . = ALIGN (0x10) + *fill* 0x000000000810193c 0x4 0x0000000000000240 _sgbss = SIZEOF (.gint.bss) 0x00000000e5200000 . = ORIGIN (ilram) -.ilram 0x00000000e5200000 0x0 load address 0x00000000003065e0 - 0x00000000003065e0 _lilram = LOADADDR (.ilram) +.ilram 0x00000000e5200000 0x0 load address 0x0000000000306650 + 0x0000000000306650 _lilram = LOADADDR (.ilram) 0x00000000e5200000 _rilram = . *(.ilram) 0x00000000e5200000 . = ALIGN (0x10) 0x00000000e5007000 . = ORIGIN (xram) -.xram 0x00000000e5007000 0x0 load address 0x00000000003065e0 - 0x00000000003065e0 _lxram = LOADADDR (.xram) +.xram 0x00000000e5007000 0x0 load address 0x0000000000306650 + 0x0000000000306650 _lxram = LOADADDR (.xram) 0x00000000e5007000 _rxram = . *(.xram) 0x00000000e5007000 . = ALIGN (0x10) 0x00000000e5017000 . = ORIGIN (yram) -.yram 0x00000000e5017000 0x0 load address 0x00000000003065e0 - 0x00000000003065e0 _lyram = LOADADDR (.yram) +.yram 0x00000000e5017000 0x0 load address 0x0000000000306650 + 0x0000000000306650 _lyram = LOADADDR (.yram) 0x00000000e5017000 _ryram = . *(.yram) 0x00000000e5017000 . = ALIGN (0x10) @@ -669,8 +668,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 0x00000000003065e0 - 0x00000000003065e0 _lgmapped = LOADADDR (.gint.mapped) +.gint.mapped 0x0000000000000000 0xa0 load address 0x0000000000306650 + 0x0000000000306650 _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 +677,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 0x0000000000306680 +.rela.dyn 0x00000000000000a0 0x0 load address 0x00000000003066f0 .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 8b4f09d..3977fda 100644 Binary files a/build-fx/src/main.c.o and b/build-fx/src/main.c.o differ diff --git a/project.cfg b/project.cfg index a8cac72..651ebb7 100644 --- a/project.cfg +++ b/project.cfg @@ -87,4 +87,3 @@ LDFLAGS_CG += -Wl,-Map=build-cg/map # # FONT.hexa.png = charset:print grid.size:3x5 grid.padding:1 IMG.tilemap.png := -IMG.numbers.png := diff --git a/src/main.c b/src/main.c index 4eb8258..584655c 100644 --- a/src/main.c +++ b/src/main.c @@ -3,7 +3,7 @@ extern "C"{ #include //#include } -#define MAP_X 200 +#define MAP_X 130 #define BLOCKS_LEN 17 using namespace std; @@ -26,6 +26,7 @@ int vas = 0; int sinv = 3; int inv[BLOCKS_LEN+1] = {0}; int btmp = sinv; +int selecoll = 0; int isCollide(int num){ if(num==0){return 1;} @@ -120,9 +121,11 @@ int main(void) PrintMap(); dupdate(); key = getkey_opt(opt, &timeout).key; - if(keydown(KEY_VARS)==0&&can_move == 1 && isCollide(game_map[x/10][y/10+1]) == 0){ + if(keydown(KEY_VARS)==0&&can_move == 1 &&( isCollide(game_map[x/10][y/10+1]) == 0 || game_map[x/10][y/10+1]==3)){ if(keydown(KEY_RIGHT)&&isCollide(game_map[x/10+1][y/10])){rwalk = 10;can_move=0;dir=1;vdir=1;} + if(keydown(KEY_UP)&&game_map[x/10][y/10]==3){rwalk = 10;can_move=0;vdir=0;} if(keydown(KEY_LEFT)&&isCollide(game_map[x/10-1][y/10])){rwalk = 10;can_move=0;dir=0;vdir=3;} + if(keydown(KEY_DOWN)&&game_map[x/10][y/10+1]==3){rwalk = 10;can_move=0;vdir=2;} } if(keydown(KEY_VARS)){ if(keydown(KEY_RIGHT)){sele=1;} @@ -142,7 +145,8 @@ int main(void) if(sele==3){game_map[x/10-1][y/10]=0;} if(sele==0){game_map[x/10][y/10-1]=0;} } - if(keydown(KEY_F6)){ + if(selecoll>0){selecoll--;} + if(keydown(KEY_F6)&&selecoll==0){ if(sinv==BLOCKS_LEN+1){sinv=0;} sinv++; } @@ -156,6 +160,7 @@ int main(void) if(vdir==1){x++;} if(vdir==2){y++;} if(vdir==3){x--;} + if(vdir==0){y--;} if(rwalk==0){can_move = 1;} } }