diff --git a/ELPHO.g1a b/ELPHO.g1a index 8898257..571b32a 100644 Binary files a/ELPHO.g1a and b/ELPHO.g1a differ diff --git a/build-fx/ELPHO.bin b/build-fx/ELPHO.bin index a1fd5ff..20de80b 100755 Binary files a/build-fx/ELPHO.bin and b/build-fx/ELPHO.bin differ diff --git a/build-fx/ELPHO.elf b/build-fx/ELPHO.elf index 8dbc88e..8c466aa 100755 Binary files a/build-fx/ELPHO.elf and b/build-fx/ELPHO.elf differ diff --git a/build-fx/map b/build-fx/map index 27d4a9c..6d7f432 100644 --- a/build-fx/map +++ b/build-fx/map @@ -172,9 +172,9 @@ LOAD /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgint-fx.a LOAD /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgint-fx.a LOAD /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgcc.a 0x0000000000300000 _brom = 0x300000 - 0x000000000000595c _srom = ((((0x200 + SIZEOF (.text)) + SIZEOF (.rodata)) + SIZEOF (.gint.drivers)) + SIZEOF (.gint.blocks)) + 0x000000000000596c _srom = ((((0x200 + SIZEOF (.text)) + SIZEOF (.rodata)) + SIZEOF (.gint.drivers)) + SIZEOF (.gint.blocks)) -.text 0x0000000000300200 0x49f8 +.text 0x0000000000300200 0x4a08 *(.text.entry) .text.entry 0x0000000000300200 0x1ac /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgint-fx.a(start.c.o) 0x0000000000300200 _start @@ -197,272 +197,272 @@ LOAD /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgcc.a 0x0000000000000070 _gint_tlbh_size = ABSOLUTE ((. - _gint_tlbh_start)) *(.text .text.*) .text 0x00000000003004b0 0x0 build-fx/src/main.c.o - .text.startup 0x00000000003004b0 0x184 build-fx/src/main.c.o + .text.startup 0x00000000003004b0 0x194 build-fx/src/main.c.o 0x00000000003004b0 _main - .text 0x0000000000300634 0x3c /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgint-fx.a(start.c.o) - 0x0000000000300664 _gint_setrestart - .text 0x0000000000300670 0x29c /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgint-fx.a(getkey.c.o) - 0x0000000000300670 _getkey_opt - 0x00000000003008b8 _getkey - 0x00000000003008c4 _getkey_repeat - 0x0000000000300900 _getkey_repeat_filter - .text 0x000000000030090c 0x444 /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgint-fx.a(keysc.c.o) - 0x0000000000300b04 _pollevent - 0x0000000000300c40 _waitevent - 0x0000000000300c8c _clearevents - 0x0000000000300cac _keydown - 0x0000000000300cd8 _keydown_all - 0x0000000000300d14 _keydown_any - .text 0x0000000000300d50 0x30 /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgint-fx.a(dimage.c.o) - 0x0000000000300d50 _dimage - .text 0x0000000000300d80 0x64 /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgint-fx.a(dclear.c.o) - 0x0000000000300d80 _dclear - .text 0x0000000000300de4 0xc8 /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgint-fx.a(dsubimage.c.o) - 0x0000000000300de4 _dsubimage - .text 0x0000000000300eac 0x3c /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgint-fx.a(dupdate.c.o) - 0x0000000000300eac _dupdate - .text 0x0000000000300ee8 0x240 /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgint-fx.a(t6k11.c.o) - 0x0000000000300f60 _t6k11_display_v1 - 0x0000000000301004 _t6k11_display_v2 - 0x000000000030109c _t6k11_display - 0x00000000003010c0 _t6k11_contrast - 0x00000000003010e8 _t6k11_backlight - .text 0x0000000000301128 0x48 /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgint-fx.a(sleep.c.o) - 0x0000000000301128 _sleep_us - .text 0x0000000000301170 0x7b0 /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgint-fx.a(tmu.c.o) - 0x00000000003014c4 _timer_delay - 0x0000000000301570 _timer_setup - 0x0000000000301780 _timer_start - 0x00000000003017b8 _timer_reload - 0x00000000003017f0 _timer_pause - 0x000000000030182c _timer_stop - 0x00000000003018a8 _timer_wait - 0x0000000000301910 _timer_timeout - .text 0x0000000000301920 0x178 /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgint-fx.a(cpg.c.o) - 0x0000000000301a8c _clock_freq - .text 0x0000000000301a98 0x1a0 /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgint-fx.a(intc.c.o) - 0x0000000000301b84 _intc_priority - .text 0x0000000000301c38 0xec /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgint-fx.a(hardware.c.o) - 0x0000000000301c38 _hw_detect - .text 0x0000000000301d24 0x39c /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgint-fx.a(kernel.c.o) - 0x0000000000301f40 _kinit - 0x0000000000301fe8 _gint_inthandler - 0x0000000000302048 _gint_switch - 0x0000000000302098 _kquit - .text 0x00000000003020c0 0x2ec /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgint-fx.a(mmu.c.o) - 0x00000000003020c0 _tlb_addr - 0x00000000003020d4 _tlb_data - 0x00000000003020e8 _tlb_mapped_memory - 0x00000000003021b4 _tlb_translate - 0x0000000000302234 _utlb_addr - 0x0000000000302244 _utlb_data - 0x0000000000302254 _utlb_mapped_memory - 0x0000000000302324 _utlb_translate - 0x0000000000302370 _mmu_translate - 0x000000000030238c _mmu_uram - .text 0x00000000003023ac 0xbc /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgint-fx.a(osmenu.c.o) - 0x0000000000302458 _gint_osmenu - *fill* 0x0000000000302468 0x8 - .text 0x0000000000302470 0x170 /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgint-fx.a(syscalls.S.o) - 0x0000000000302470 _malloc - 0x0000000000302484 _free - 0x0000000000302494 _calloc - 0x00000000003024a4 _realloc - 0x00000000003024b4 _BFile_Remove - 0x00000000003024c4 _BFile_Create - 0x00000000003024d4 _BFile_Open - 0x00000000003024e4 _BFile_Close - 0x00000000003024f4 _BFile_Size - 0x0000000000302504 _BFile_Write - 0x0000000000302514 _BFile_Read - 0x0000000000302524 _BFile_FindFirst - 0x0000000000302534 _BFile_FindNext - 0x0000000000302544 _BFile_FindClose - 0x0000000000302554 ___Timer_Install - 0x0000000000302564 ___Timer_Start - 0x0000000000302574 ___Timer_Stop - 0x0000000000302584 ___Timer_Deinstall - 0x0000000000302594 ___PutKeyCode - 0x00000000003025a4 ___GetKeyWait - 0x00000000003025b4 ___ClearKeyBuffer - 0x00000000003025c4 ___GetVRAMAddress - .text 0x00000000003025e0 0x0 /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgint-fx.a(tlbh.S.o) - .text 0x00000000003025e0 0x124 /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgint-fx.a(iokbd.c.o) - 0x00000000003025ec _iokbd_row - 0x00000000003026d4 _iokbd_scan - .text 0x0000000000302704 0x52c /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgint-fx.a(bopti.c.o) - 0x0000000000302704 _bopti_grid - 0x000000000030293c _bopti_render - 0x0000000000302a8c _bopti_render_scsp - 0x0000000000302b8c _bopti_clip - .text 0x0000000000302c30 0x8c /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgint-fx.a(masks.c.o) - 0x0000000000302c30 _masks - *fill* 0x0000000000302cbc 0x4 - .text 0x0000000000302cc0 0xc0 /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgint-fx.a(memcpy.s.o) - 0x0000000000302cc0 _memcpy - .text 0x0000000000302d80 0x0 /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgint-fx.a(inth-etmu.s.o) - .text 0x0000000000302d80 0x0 /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgint-fx.a(inth-tmu.s.o) - .text 0x0000000000302d80 0x30 /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgint-fx.a(cpu.s.o) - 0x0000000000302d80 _cpu_setCPUOPM - 0x0000000000302d92 _cpu_getCPUOPM - 0x0000000000302da4 _cpu_getSR - 0x0000000000302daa _cpu_setSR - .text 0x0000000000302db0 0x0 /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgint-fx.a(exch.s.o) - .text 0x0000000000302db0 0x0 /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgint-fx.a(inth.S.o) - .text 0x0000000000302db0 0x88 /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgint-fx.a(bopti-asm-gray-scsp.s.o) - 0x0000000000302db0 _bopti_gasm_mono_scsp - 0x0000000000302dcc _bopti_gasm_mono_alpha_scsp - 0x0000000000302dee _bopti_gasm_gray_scsp - 0x0000000000302e10 _bopti_gasm_gray_alpha_scsp - *fill* 0x0000000000302e38 0x8 - .text 0x0000000000302e40 0x150 /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgint-fx.a(bopti-asm-gray.s.o) - 0x0000000000302e40 _bopti_gasm_mono - 0x0000000000302e7c _bopti_gasm_mono_alpha - 0x0000000000302ecc _bopti_gasm_gray - 0x0000000000302f20 _bopti_gasm_gray_alpha - .text 0x0000000000302f90 0x2a /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgint-fx.a(bopti-asm-mono-scsp.s.o) - 0x0000000000302f90 _bopti_asm_mono_scsp - 0x0000000000302fa2 _bopti_asm_mono_alpha_scsp - .text 0x0000000000302fba 0x58 /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgint-fx.a(bopti-asm.s.o) - 0x0000000000302fba _bopti_asm_mono - 0x0000000000302fe0 _bopti_asm_mono_alpha - *fill* 0x0000000000303012 0x2 - .text 0x0000000000303014 0x1ec /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgint-fx.a(exch.c.o) - 0x00000000003031c4 _gint_panic - 0x00000000003031d4 _gint_panic_set - 0x00000000003031e8 _gint_exc_catch - 0x00000000003031f4 _gint_exc_skip - .text 0x0000000000303200 0xbc /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgint-fx.a(dprint.c.o) - 0x0000000000303200 _dprint_opt - 0x000000000030326c _dprint - .text 0x00000000003032bc 0x20 /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgint-fx.a(dtext.c.o) - 0x00000000003032bc _dtext - .text 0x00000000003032dc 0x208 /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgint-fx.a(topti.c.o) - 0x00000000003032dc _dfont - 0x00000000003032f4 _topti_glyph_index - 0x000000000030333c _topti_offset - 0x0000000000303398 _topti_utf8_next - 0x0000000000303446 _dsize - .text 0x00000000003034e4 0x3a4 /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgint-fx.a(topti.c.o) - 0x0000000000303586 _topti_render - 0x00000000003037ac _dtext_opt - .text 0x0000000000303888 0xcec /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgint-fx.a(stdio.c.o) - 0x0000000000304284 _kprint_opt - 0x00000000003043cc _kprint - 0x00000000003044ac _kvsprint - 0x00000000003044f4 _sprintf - 0x000000000030451c _vsprintf - 0x000000000030453c _snprintf - 0x000000000030455c _vsnprintf - .text 0x0000000000304574 0x0 /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgint-fx.a(font5x7.png.o) - *fill* 0x0000000000304574 0xc - .text 0x0000000000304580 0x130 /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgint-fx.a(topti-asm.s.o) - 0x0000000000304690 _topti_asm_text - .text 0x00000000003046b0 0x56 /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgint-fx.a(memset.s.o) - 0x00000000003046b0 _memset - *fill* 0x0000000000304706 0x2 - .text 0x0000000000304708 0x1f0 /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgcc.a(_udivdi3.o) - 0x0000000000304708 ___udivdi3 - .text 0x00000000003048f8 0x234 /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgcc.a(_umoddi3.o) - 0x00000000003048f8 ___umoddi3 - .text 0x0000000000304b2c 0x6c /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgcc.a(_udivsi3.o) - 0x0000000000304b4e ___udivsi3 - .text 0x0000000000304b98 0x60 /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgcc.a(_udiv_qrnnd_16.o) - 0x0000000000304b98 ___udiv_qrnnd_16 - .text 0x0000000000304bf8 0x0 /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgcc.a(_clz.o) + .text 0x0000000000300644 0x3c /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgint-fx.a(start.c.o) + 0x0000000000300674 _gint_setrestart + .text 0x0000000000300680 0x29c /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgint-fx.a(getkey.c.o) + 0x0000000000300680 _getkey_opt + 0x00000000003008c8 _getkey + 0x00000000003008d4 _getkey_repeat + 0x0000000000300910 _getkey_repeat_filter + .text 0x000000000030091c 0x444 /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgint-fx.a(keysc.c.o) + 0x0000000000300b14 _pollevent + 0x0000000000300c50 _waitevent + 0x0000000000300c9c _clearevents + 0x0000000000300cbc _keydown + 0x0000000000300ce8 _keydown_all + 0x0000000000300d24 _keydown_any + .text 0x0000000000300d60 0x30 /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgint-fx.a(dimage.c.o) + 0x0000000000300d60 _dimage + .text 0x0000000000300d90 0x64 /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgint-fx.a(dclear.c.o) + 0x0000000000300d90 _dclear + .text 0x0000000000300df4 0xc8 /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgint-fx.a(dsubimage.c.o) + 0x0000000000300df4 _dsubimage + .text 0x0000000000300ebc 0x3c /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgint-fx.a(dupdate.c.o) + 0x0000000000300ebc _dupdate + .text 0x0000000000300ef8 0x240 /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgint-fx.a(t6k11.c.o) + 0x0000000000300f70 _t6k11_display_v1 + 0x0000000000301014 _t6k11_display_v2 + 0x00000000003010ac _t6k11_display + 0x00000000003010d0 _t6k11_contrast + 0x00000000003010f8 _t6k11_backlight + .text 0x0000000000301138 0x48 /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgint-fx.a(sleep.c.o) + 0x0000000000301138 _sleep_us + .text 0x0000000000301180 0x7b0 /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgint-fx.a(tmu.c.o) + 0x00000000003014d4 _timer_delay + 0x0000000000301580 _timer_setup + 0x0000000000301790 _timer_start + 0x00000000003017c8 _timer_reload + 0x0000000000301800 _timer_pause + 0x000000000030183c _timer_stop + 0x00000000003018b8 _timer_wait + 0x0000000000301920 _timer_timeout + .text 0x0000000000301930 0x178 /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgint-fx.a(cpg.c.o) + 0x0000000000301a9c _clock_freq + .text 0x0000000000301aa8 0x1a0 /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgint-fx.a(intc.c.o) + 0x0000000000301b94 _intc_priority + .text 0x0000000000301c48 0xec /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgint-fx.a(hardware.c.o) + 0x0000000000301c48 _hw_detect + .text 0x0000000000301d34 0x39c /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgint-fx.a(kernel.c.o) + 0x0000000000301f50 _kinit + 0x0000000000301ff8 _gint_inthandler + 0x0000000000302058 _gint_switch + 0x00000000003020a8 _kquit + .text 0x00000000003020d0 0x2ec /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgint-fx.a(mmu.c.o) + 0x00000000003020d0 _tlb_addr + 0x00000000003020e4 _tlb_data + 0x00000000003020f8 _tlb_mapped_memory + 0x00000000003021c4 _tlb_translate + 0x0000000000302244 _utlb_addr + 0x0000000000302254 _utlb_data + 0x0000000000302264 _utlb_mapped_memory + 0x0000000000302334 _utlb_translate + 0x0000000000302380 _mmu_translate + 0x000000000030239c _mmu_uram + .text 0x00000000003023bc 0xbc /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgint-fx.a(osmenu.c.o) + 0x0000000000302468 _gint_osmenu + *fill* 0x0000000000302478 0x8 + .text 0x0000000000302480 0x170 /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgint-fx.a(syscalls.S.o) + 0x0000000000302480 _malloc + 0x0000000000302494 _free + 0x00000000003024a4 _calloc + 0x00000000003024b4 _realloc + 0x00000000003024c4 _BFile_Remove + 0x00000000003024d4 _BFile_Create + 0x00000000003024e4 _BFile_Open + 0x00000000003024f4 _BFile_Close + 0x0000000000302504 _BFile_Size + 0x0000000000302514 _BFile_Write + 0x0000000000302524 _BFile_Read + 0x0000000000302534 _BFile_FindFirst + 0x0000000000302544 _BFile_FindNext + 0x0000000000302554 _BFile_FindClose + 0x0000000000302564 ___Timer_Install + 0x0000000000302574 ___Timer_Start + 0x0000000000302584 ___Timer_Stop + 0x0000000000302594 ___Timer_Deinstall + 0x00000000003025a4 ___PutKeyCode + 0x00000000003025b4 ___GetKeyWait + 0x00000000003025c4 ___ClearKeyBuffer + 0x00000000003025d4 ___GetVRAMAddress + .text 0x00000000003025f0 0x0 /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgint-fx.a(tlbh.S.o) + .text 0x00000000003025f0 0x124 /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgint-fx.a(iokbd.c.o) + 0x00000000003025fc _iokbd_row + 0x00000000003026e4 _iokbd_scan + .text 0x0000000000302714 0x52c /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgint-fx.a(bopti.c.o) + 0x0000000000302714 _bopti_grid + 0x000000000030294c _bopti_render + 0x0000000000302a9c _bopti_render_scsp + 0x0000000000302b9c _bopti_clip + .text 0x0000000000302c40 0x8c /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgint-fx.a(masks.c.o) + 0x0000000000302c40 _masks + *fill* 0x0000000000302ccc 0x4 + .text 0x0000000000302cd0 0xc0 /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgint-fx.a(memcpy.s.o) + 0x0000000000302cd0 _memcpy + .text 0x0000000000302d90 0x0 /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgint-fx.a(inth-etmu.s.o) + .text 0x0000000000302d90 0x0 /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgint-fx.a(inth-tmu.s.o) + .text 0x0000000000302d90 0x30 /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgint-fx.a(cpu.s.o) + 0x0000000000302d90 _cpu_setCPUOPM + 0x0000000000302da2 _cpu_getCPUOPM + 0x0000000000302db4 _cpu_getSR + 0x0000000000302dba _cpu_setSR + .text 0x0000000000302dc0 0x0 /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgint-fx.a(exch.s.o) + .text 0x0000000000302dc0 0x0 /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgint-fx.a(inth.S.o) + .text 0x0000000000302dc0 0x88 /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgint-fx.a(bopti-asm-gray-scsp.s.o) + 0x0000000000302dc0 _bopti_gasm_mono_scsp + 0x0000000000302ddc _bopti_gasm_mono_alpha_scsp + 0x0000000000302dfe _bopti_gasm_gray_scsp + 0x0000000000302e20 _bopti_gasm_gray_alpha_scsp + *fill* 0x0000000000302e48 0x8 + .text 0x0000000000302e50 0x150 /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgint-fx.a(bopti-asm-gray.s.o) + 0x0000000000302e50 _bopti_gasm_mono + 0x0000000000302e8c _bopti_gasm_mono_alpha + 0x0000000000302edc _bopti_gasm_gray + 0x0000000000302f30 _bopti_gasm_gray_alpha + .text 0x0000000000302fa0 0x2a /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgint-fx.a(bopti-asm-mono-scsp.s.o) + 0x0000000000302fa0 _bopti_asm_mono_scsp + 0x0000000000302fb2 _bopti_asm_mono_alpha_scsp + .text 0x0000000000302fca 0x58 /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgint-fx.a(bopti-asm.s.o) + 0x0000000000302fca _bopti_asm_mono + 0x0000000000302ff0 _bopti_asm_mono_alpha + *fill* 0x0000000000303022 0x2 + .text 0x0000000000303024 0x1ec /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgint-fx.a(exch.c.o) + 0x00000000003031d4 _gint_panic + 0x00000000003031e4 _gint_panic_set + 0x00000000003031f8 _gint_exc_catch + 0x0000000000303204 _gint_exc_skip + .text 0x0000000000303210 0xbc /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgint-fx.a(dprint.c.o) + 0x0000000000303210 _dprint_opt + 0x000000000030327c _dprint + .text 0x00000000003032cc 0x20 /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgint-fx.a(dtext.c.o) + 0x00000000003032cc _dtext + .text 0x00000000003032ec 0x208 /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgint-fx.a(topti.c.o) + 0x00000000003032ec _dfont + 0x0000000000303304 _topti_glyph_index + 0x000000000030334c _topti_offset + 0x00000000003033a8 _topti_utf8_next + 0x0000000000303456 _dsize + .text 0x00000000003034f4 0x3a4 /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgint-fx.a(topti.c.o) + 0x0000000000303596 _topti_render + 0x00000000003037bc _dtext_opt + .text 0x0000000000303898 0xcec /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgint-fx.a(stdio.c.o) + 0x0000000000304294 _kprint_opt + 0x00000000003043dc _kprint + 0x00000000003044bc _kvsprint + 0x0000000000304504 _sprintf + 0x000000000030452c _vsprintf + 0x000000000030454c _snprintf + 0x000000000030456c _vsnprintf + .text 0x0000000000304584 0x0 /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgint-fx.a(font5x7.png.o) + *fill* 0x0000000000304584 0xc + .text 0x0000000000304590 0x130 /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgint-fx.a(topti-asm.s.o) + 0x00000000003046a0 _topti_asm_text + .text 0x00000000003046c0 0x56 /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgint-fx.a(memset.s.o) + 0x00000000003046c0 _memset + *fill* 0x0000000000304716 0x2 + .text 0x0000000000304718 0x1f0 /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgcc.a(_udivdi3.o) + 0x0000000000304718 ___udivdi3 + .text 0x0000000000304908 0x234 /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgcc.a(_umoddi3.o) + 0x0000000000304908 ___umoddi3 + .text 0x0000000000304b3c 0x6c /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgcc.a(_udivsi3.o) + 0x0000000000304b5e ___udivsi3 + .text 0x0000000000304ba8 0x60 /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgcc.a(_udiv_qrnnd_16.o) + 0x0000000000304ba8 ___udiv_qrnnd_16 + .text 0x0000000000304c08 0x0 /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgcc.a(_clz.o) *(C P) -.gint.blocks 0x0000000000304c00 0x180 +.gint.blocks 0x0000000000304c10 0x180 *(.gint.blocks) - .gint.blocks 0x0000000000304c00 0x80 /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgint-fx.a(inth-etmu.s.o) - 0x0000000000304c00 _inth_etmu4 - 0x0000000000304c60 _inth_etmux - .gint.blocks 0x0000000000304c80 0x80 /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgint-fx.a(inth-tmu.s.o) - 0x0000000000304c80 _inth_tmu - .gint.blocks 0x0000000000304d00 0x80 /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgint-fx.a(inth.S.o) - 0x0000000000304d00 _gint_inth_7305 - 0x0000000000304d40 _gint_inth_7705 + .gint.blocks 0x0000000000304c10 0x80 /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgint-fx.a(inth-etmu.s.o) + 0x0000000000304c10 _inth_etmu4 + 0x0000000000304c70 _inth_etmux + .gint.blocks 0x0000000000304c90 0x80 /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgint-fx.a(inth-tmu.s.o) + 0x0000000000304c90 _inth_tmu + .gint.blocks 0x0000000000304d10 0x80 /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgint-fx.a(inth.S.o) + 0x0000000000304d10 _gint_inth_7305 + 0x0000000000304d50 _gint_inth_7705 -.gint.drivers 0x0000000000304d80 0xa0 - 0x0000000000304d80 _bdrv = . +.gint.drivers 0x0000000000304d90 0xa0 + 0x0000000000304d90 _bdrv = . *(.gint.drivers.0) .gint.drivers.0 - 0x0000000000304d80 0x20 /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgint-fx.a(intc.c.o) - 0x0000000000304d80 _drv_intc + 0x0000000000304d90 0x20 /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgint-fx.a(intc.c.o) + 0x0000000000304d90 _drv_intc *(.gint.drivers.1) .gint.drivers.1 - 0x0000000000304da0 0x20 /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgint-fx.a(cpg.c.o) - 0x0000000000304da0 _drv_cpg + 0x0000000000304db0 0x20 /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgint-fx.a(cpg.c.o) + 0x0000000000304db0 _drv_cpg *(.gint.drivers.2) .gint.drivers.2 - 0x0000000000304dc0 0x20 /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgint-fx.a(tmu.c.o) - 0x0000000000304dc0 _drv_tmu + 0x0000000000304dd0 0x20 /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgint-fx.a(tmu.c.o) + 0x0000000000304dd0 _drv_tmu *(.gint.drivers.3) *(.gint.drivers.4) .gint.drivers.4 - 0x0000000000304de0 0x20 /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgint-fx.a(keysc.c.o) - 0x0000000000304de0 _drv_keysc + 0x0000000000304df0 0x20 /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgint-fx.a(keysc.c.o) + 0x0000000000304df0 _drv_keysc *(.gint.drivers.5) .gint.drivers.5 - 0x0000000000304e00 0x20 /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgint-fx.a(t6k11.c.o) - 0x0000000000304e00 _drv_t6k11 + 0x0000000000304e10 0x20 /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgint-fx.a(t6k11.c.o) + 0x0000000000304e10 _drv_t6k11 *(.gint.drivers.6) - 0x0000000000304e20 _edrv = . + 0x0000000000304e30 _edrv = . -.rodata 0x0000000000304e20 0xb44 +.rodata 0x0000000000304e30 0xb44 *(.rodata.4) *(.rodata .rodata.*) - .rodata 0x0000000000304e20 0xc4 build-fx/assets/img/personnage.png.o - 0x0000000000304e20 _img_personnage - 0x0000000000304ee4 _img_personnage_end - .rodata 0x0000000000304ee4 0x64 build-fx/assets/img/personnagemarche.png.o - 0x0000000000304ee4 _img_personnagemarche - 0x0000000000304f48 _img_personnagemarche_end - .rodata 0x0000000000304f48 0x64 build-fx/assets/img/personnage2left.png.o - 0x0000000000304f48 _img_personnage2left - 0x0000000000304fac _img_personnage2left_end - .rodata 0x0000000000304fac 0xc4 build-fx/assets/img/personnageleft.png.o - 0x0000000000304fac _img_personnageleft - 0x0000000000305070 _img_personnageleft_end - .rodata 0x0000000000305070 0x44 build-fx/assets/img/bloc.png.o - 0x0000000000305070 _img_bloc - 0x00000000003050b4 _img_bloc_end - .rodata 0x00000000003050b4 0x64 build-fx/assets/img/personnage2.png.o - 0x00000000003050b4 _img_personnage2 - 0x0000000000305118 _img_personnage2_end - .rodata 0x0000000000305118 0x64 build-fx/assets/img/personnagemarcheleft.png.o - 0x0000000000305118 _img_personnagemarcheleft - 0x000000000030517c _img_personnagemarcheleft_end + .rodata 0x0000000000304e30 0xc4 build-fx/assets/img/personnage.png.o + 0x0000000000304e30 _img_personnage + 0x0000000000304ef4 _img_personnage_end + .rodata 0x0000000000304ef4 0x64 build-fx/assets/img/personnagemarche.png.o + 0x0000000000304ef4 _img_personnagemarche + 0x0000000000304f58 _img_personnagemarche_end + .rodata 0x0000000000304f58 0x64 build-fx/assets/img/personnage2left.png.o + 0x0000000000304f58 _img_personnage2left + 0x0000000000304fbc _img_personnage2left_end + .rodata 0x0000000000304fbc 0xc4 build-fx/assets/img/personnageleft.png.o + 0x0000000000304fbc _img_personnageleft + 0x0000000000305080 _img_personnageleft_end + .rodata 0x0000000000305080 0x44 build-fx/assets/img/bloc.png.o + 0x0000000000305080 _img_bloc + 0x00000000003050c4 _img_bloc_end + .rodata 0x00000000003050c4 0x64 build-fx/assets/img/personnage2.png.o + 0x00000000003050c4 _img_personnage2 + 0x0000000000305128 _img_personnage2_end + .rodata 0x0000000000305128 0x64 build-fx/assets/img/personnagemarcheleft.png.o + 0x0000000000305128 _img_personnagemarcheleft + 0x000000000030518c _img_personnagemarcheleft_end .rodata.str1.4 - 0x000000000030517c 0x6 /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgint-fx.a(keysc.c.o) - *fill* 0x0000000000305182 0x2 + 0x000000000030518c 0x6 /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgint-fx.a(keysc.c.o) + *fill* 0x0000000000305192 0x2 .rodata.str1.4 - 0x0000000000305184 0x6 /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgint-fx.a(t6k11.c.o) - *fill* 0x000000000030518a 0x2 - .rodata 0x000000000030518c 0xc /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgint-fx.a(tmu.c.o) + 0x0000000000305194 0x6 /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgint-fx.a(t6k11.c.o) + *fill* 0x000000000030519a 0x2 + .rodata 0x000000000030519c 0xc /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgint-fx.a(tmu.c.o) .rodata.str1.4 - 0x0000000000305198 0x4 /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgint-fx.a(tmu.c.o) + 0x00000000003051a8 0x4 /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgint-fx.a(tmu.c.o) .rodata.str1.4 - 0x000000000030519c 0x4 /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgint-fx.a(cpg.c.o) + 0x00000000003051ac 0x4 /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgint-fx.a(cpg.c.o) .rodata.str1.4 - 0x00000000003051a0 0x5 /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgint-fx.a(intc.c.o) - *fill* 0x00000000003051a5 0x3 - .rodata 0x00000000003051a8 0xe4 /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgint-fx.a(intc.c.o) - .rodata 0x000000000030528c 0x18 /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgint-fx.a(kernel.c.o) - .rodata 0x00000000003052a4 0x40 /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgint-fx.a(bopti.c.o) + 0x00000000003051b0 0x5 /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgint-fx.a(intc.c.o) + *fill* 0x00000000003051b5 0x3 + .rodata 0x00000000003051b8 0xe4 /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgint-fx.a(intc.c.o) + .rodata 0x000000000030529c 0x18 /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgint-fx.a(kernel.c.o) + .rodata 0x00000000003052b4 0x40 /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgint-fx.a(bopti.c.o) .rodata.str1.4 - 0x00000000003052e4 0x126 /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgint-fx.a(exch.c.o) + 0x00000000003052f4 0x126 /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgint-fx.a(exch.c.o) 0x12a (size before relaxing) - *fill* 0x000000000030540a 0x2 + *fill* 0x000000000030541a 0x2 .rodata.str1.4 - 0x000000000030540c 0x34 /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgint-fx.a(stdio.c.o) + 0x000000000030541c 0x34 /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgint-fx.a(stdio.c.o) 0x31 (size before relaxing) - .rodata 0x0000000000305440 0x424 /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgint-fx.a(font5x7.png.o) - 0x0000000000305440 _gint_font5x7_data - 0x0000000000305845 _gint_font5x7_data_end - 0x0000000000305848 _gint_font5x7 - .rodata 0x0000000000305864 0x100 /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgcc.a(_clz.o) - 0x0000000000305864 ___clz_tab + .rodata 0x0000000000305450 0x424 /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgint-fx.a(font5x7.png.o) + 0x0000000000305450 _gint_font5x7_data + 0x0000000000305855 _gint_font5x7_data_end + 0x0000000000305858 _gint_font5x7 + .rodata 0x0000000000305874 0x100 /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgcc.a(_clz.o) + 0x0000000000305874 ___clz_tab 0x0000000008100200 . = ORIGIN (ram) .bss 0x0000000008100200 0x4f0 @@ -522,8 +522,8 @@ LOAD /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgcc.a *fill* 0x00000000081006ec 0x4 0x00000000000004f0 _sbss = SIZEOF (.bss) -.data 0x00000000081006f0 0x2c0 load address 0x0000000000305964 - 0x0000000000305964 _ldata = LOADADDR (.data) +.data 0x00000000081006f0 0x2c0 load address 0x0000000000305974 + 0x0000000000305974 _ldata = LOADADDR (.data) 0x00000000081006f0 _rdata = . 0x00000000081006f0 _lreloc = . *(.gint.mappedrel) @@ -601,16 +601,16 @@ LOAD /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgcc.a 0x00000000081009b0 . = ALIGN (0x10) *fill* 0x00000000081009a8 0x8 -.stack 0x00000000081009b0 0x4 load address 0x0000000000305c24 +.stack 0x00000000081009b0 0x4 load address 0x0000000000305c34 .stack 0x00000000081009b0 0x4 /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgint-fx.a(font5x7.png.o) -.data.4 0x00000000081009b4 0xc load address 0x0000000000305c28 +.data.4 0x00000000081009b4 0xc load address 0x0000000000305c38 *(.data.4) 0x00000000081009c0 . = ALIGN (0x10) *fill* 0x00000000081009b4 0xc 0x00000000000002cc _sdata = (SIZEOF (.data) + SIZEOF (.data.4)) -.gint.bss 0x00000000081009c0 0x230 load address 0x0000000000305c28 +.gint.bss 0x00000000081009c0 0x230 load address 0x0000000000305c38 *(.gint.bss .gint.bss.sh3) .gint.bss 0x00000000081009c0 0x80 /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgint-fx.a(keysc.c.o) .gint.bss 0x0000000008100a40 0x2 /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgint-fx.a(t6k11.c.o) @@ -626,22 +626,22 @@ LOAD /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgcc.a 0x0000000000000230 _sgbss = SIZEOF (.gint.bss) 0x00000000e5200000 . = ORIGIN (ilram) -.ilram 0x00000000e5200000 0x0 load address 0x0000000000305c28 - 0x0000000000305c28 _lilram = LOADADDR (.ilram) +.ilram 0x00000000e5200000 0x0 load address 0x0000000000305c38 + 0x0000000000305c38 _lilram = LOADADDR (.ilram) 0x00000000e5200000 _rilram = . *(.ilram) 0x00000000e5200000 . = ALIGN (0x10) 0x00000000e5007000 . = ORIGIN (xram) -.xram 0x00000000e5007000 0x0 load address 0x0000000000305c28 - 0x0000000000305c28 _lxram = LOADADDR (.xram) +.xram 0x00000000e5007000 0x0 load address 0x0000000000305c38 + 0x0000000000305c38 _lxram = LOADADDR (.xram) 0x00000000e5007000 _rxram = . *(.xram) 0x00000000e5007000 . = ALIGN (0x10) 0x00000000e5017000 . = ORIGIN (yram) -.yram 0x00000000e5017000 0x0 load address 0x0000000000305c28 - 0x0000000000305c28 _lyram = LOADADDR (.yram) +.yram 0x00000000e5017000 0x0 load address 0x0000000000305c38 + 0x0000000000305c38 _lyram = LOADADDR (.yram) 0x00000000e5017000 _ryram = . *(.yram) 0x00000000e5017000 . = ALIGN (0x10) @@ -650,8 +650,8 @@ LOAD /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgcc.a 0x0000000000000000 _syram = SIZEOF (.yram) 0x0000000000000000 . = ORIGIN (rram) -.gint.mapped 0x0000000000000000 0xa0 load address 0x0000000000305c28 - 0x0000000000305c28 _lgmapped = LOADADDR (.gint.mapped) +.gint.mapped 0x0000000000000000 0xa0 load address 0x0000000000305c38 + 0x0000000000305c38 _lgmapped = LOADADDR (.gint.mapped) *(.gint.mapped) .gint.mapped 0x0000000000000000 0x2c /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgint-fx.a(cpu.s.o) *fill* 0x000000000000002c 0x4 @@ -659,7 +659,7 @@ LOAD /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgcc.a 0x00000000000000a0 . = ALIGN (0x10) 0x00000000000000a0 _sgmapped = SIZEOF (.gint.mapped) -.rela.dyn 0x00000000000000a0 0x0 load address 0x0000000000305cc8 +.rela.dyn 0x00000000000000a0 0x0 load address 0x0000000000305cd8 .rela.text.entry 0x00000000000000a0 0x0 /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgint-fx.a(start.c.o) .rela.text 0x00000000000000a0 0x0 /root/opt/casio/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.3.0/libgint-fx.a(start.c.o) diff --git a/build-fx/src/main.c.o b/build-fx/src/main.c.o index 2e036b6..0b7197e 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.swp b/src/.main.c.swp new file mode 100644 index 0000000..7c1b9a3 Binary files /dev/null and b/src/.main.c.swp differ diff --git a/src/main.c b/src/main.c index ebe6157..205da61 100755 --- a/src/main.c +++ b/src/main.c @@ -17,11 +17,11 @@ typedef int bool; struct object { bopti_image_t *img; int y; - type typeObj; - bool isStart; + type typeObj; + bool isStart; bool isFinish; int XrefAdd; - struct object *next; + struct object *next; }; struct object ListOfObjects[10] = { { &img_bloc, 55 , bloc , true, false, 16, &ListOfObjects[1] }, @@ -38,9 +38,9 @@ struct object ListOfObjects[10] = { struct player { int x; int y; - bool isWalkableTop; + bool isWalkableTop; bool isWalkableBack; - struct player *next; + struct player *next; }; struct player Player1[1] = { { 64,31,true, true, &Player1[0] }, @@ -78,30 +78,32 @@ int main(void) extern bopti_image_t img_personnagemarche; extern bopti_image_t img_personnage2; extern bopti_image_t img_bloc; + int a = 0; int xref = 0; unsigned int i = 0; struct object *current_object = &ListOfObjects[0]; - /* État du personnage : 0=arrêté, 1=marche */ + /* État du personnage : 0=arrêté, 1=marche */ int state = 0; - /* État du personnage au frame précédent */ + /* État du personnage au frame précédent */ int previous_state = 0; struct player *current_player = &Player1[0]; while(a != 1) { /* Affichage */ - dclear(C_WHITE); - dimage(current_player->x,current_player->y, current_anim->img); - for(i=0;i<=(sizeof(ListOfObjects) / sizeof(struct object));i++) - { - dimage(xref+current_object->XrefAdd, current_object->y, current_object->img); - current_object = current_object->next; - - } - dupdate(); current_object = &ListOfObjects[0]; - /* Lecture des entrées ; si on n'appuie sur rien, state=0 */ + dclear(C_WHITE); + dimage(current_player->x,current_player->y, current_anim->img); + for(i=0;i<10;i++) + { + + dimage(xref+current_object->XrefAdd, current_object->y, current_object->img); + current_object = current_object->next; + } + dupdate(); + current_object = &ListOfObjects[0]; + /* Lecture des entrées ; si on n'appuie sur rien, state=0 */ clearevents(); state = 0; @@ -111,37 +113,37 @@ int main(void) if(keydown(KEY_RIGHT)) state = 1; if(keydown(KEY_LEFT)) - state = -1; + state = -1; - /* Exécution des animations */ + /* Exécution des animations */ if((previous_state == 0 && state == 1) || (previous_state == -1 && state == 1)) { - /* On vient de commencer à marcher */ + /* On vient de commencer à marcher */ current_anim = &anim_walk[0]; current_anim_time_left = current_anim->duration; } else if((previous_state == 1 && state == 0) || (previous_state == 1 && state == -1)) { - /* On vient de s'arrêter */ + /* On vient de s'arrêter */ current_anim = &anim_idle[0]; current_anim_time_left = current_anim->duration; } - else if((previous_state == 0 && state == -1) || (previous_state == 1 && state == -1)) - { + else if((previous_state == 0 && state == -1) || (previous_state == 1 && state == -1)) + { current_anim = &anim_walk_left[0]; current_anim_time_left = current_anim->duration; - } + } else if((previous_state == -1 && state == 0) || (previous_state == -1 && state == 1)) - { + { current_anim = &anim_idle_left[0]; current_anim_time_left = current_anim->duration; - } + } else { - /* On continue l'anim précédente */ + /* On continue l'anim précédente */ current_anim_time_left--; if(current_anim_time_left <= 0) { @@ -151,33 +153,45 @@ int main(void) } /* Simulation du monde */ - current_player->isWalkableTop = true; - for(i=0;i<=(sizeof(ListOfObjects) / sizeof(struct object));i++) + current_player->isWalkableTop = true; + current_player->isWalkableBack = true; + for(i=0;i<10;i++) { - if(current_player->x == xref+current_object->XrefAdd && current_object->isFinish == true) - { - current_player->isWalkableTop = false; + if(current_player->x == xref+current_object->XrefAdd && current_object->isFinish == true) + { + current_player->isWalkableTop = false; - } - } + } + if(current_player->x == xref+current_object->XrefAdd && current_object->isStart == true) + { + current_player->isWalkableBack = false; + + } + current_object = current_object->next; + + } if(state == 1) { - if(current_player->isWalkableTop == true) + if(current_player->isWalkableTop == true) { xref = xref-1; - } + } } - else if(state == -1) + else if(state == -1) { - xref = xref+1; + if(current_player->isWalkableBack == true) + { + xref = xref+1; + } + } - /* Délai */ + /* Délai */ sleep_us(25000); - /* Préparation des invariants du frame suivant */ + /* Préparation des invariants du frame suivant */ previous_state = state; }