diff --git a/binnword.g1a b/binnword.g1a new file mode 100644 index 0000000..6b2bccc Binary files /dev/null and b/binnword.g1a differ diff --git a/build-fx/assets/img/tilemap.png.o b/build-fx/assets/img/tilemap.png.o new file mode 100644 index 0000000..b7a8a93 Binary files /dev/null and b/build-fx/assets/img/tilemap.png.o differ diff --git a/build-fx/binnword.bin b/build-fx/binnword.bin new file mode 100755 index 0000000..89e3721 Binary files /dev/null and b/build-fx/binnword.bin differ diff --git a/build-fx/binnword.elf b/build-fx/binnword.elf new file mode 100755 index 0000000..58bb383 Binary files /dev/null and b/build-fx/binnword.elf differ diff --git a/build-fx/map b/build-fx/map new file mode 100644 index 0000000..4d23184 --- /dev/null +++ b/build-fx/map @@ -0,0 +1,551 @@ +Archive member included to satisfy reference by file (symbol) + +/home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(start.c.o) + (_start) +/home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dsubimage.c.o) + build-fx/src/main.c.o (_dsubimage) +/home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(mmu.c.o) + /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(start.c.o) (_mmu_uram) +/home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(osmenu.c.o) + /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(start.c.o) (_gint_osmenu) +/home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(syscalls.S.o) + /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(osmenu.c.o) (___Timer_Install) +/home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(hardware.c.o) + /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(start.c.o) (_hw_detect) +/home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(kernel.c.o) + /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(start.c.o) (_kinit) +/home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(tlbh.S.o) + /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(kernel.c.o) (_gint_tlbh) +/home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(bopti.c.o) + /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dsubimage.c.o) (_bopti_render) +/home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dupdate.c.o) + /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dsubimage.c.o) (_dmode) +/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) + /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(bopti.c.o) (_bopti_gasm_mono_scsp) +/home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(t6k11.c.o) + /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dupdate.c.o) (_t6k11_display) +/home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(memcpy.s.o) + /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(osmenu.c.o) (_memcpy) +/home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(intc.c.o) + /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(kernel.c.o) (_drv_intc) +/home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(exch.s.o) + /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(kernel.c.o) (_gint_exch) +/home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(inth.S.o) + /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(kernel.c.o) (_gint_inth_7305) +/home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(exch.c.o) + /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(exch.s.o) (_gint_exc_panic) +/home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(cpu.s.o) + /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(kernel.c.o) (_cpu_setVBR) +/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) + /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(bopti.c.o) (_bopti_gasm_mono) +/home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(masks.c.o) + /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(bopti.c.o) (_masks) +/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) + /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(bopti.c.o) (_bopti_asm_mono_scsp) +/home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(bopti-asm.s.o) + /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(bopti.c.o) (_bopti_asm_mono) +/home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dclear.c.o) + /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(exch.c.o) (_dclear) +/home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dtext.c.o) + /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(exch.c.o) (_dtext) +/home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dprint.c.o) + /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(exch.c.o) (_dprint) +/home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(topti.c.o) + /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(exch.c.o) (_dfont) +/home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(topti.c.o) + /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dtext.c.o) (_dtext_opt) +/home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(stdio.c.o) + /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dprint.c.o) (_vsnprintf) +/home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(font5x7.png.o) + /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(topti.c.o) (_gint_font5x7) +/home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(topti-asm.s.o) + /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(topti.c.o) (_topti_asm_text) +/home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(memset.s.o) + /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(stdio.c.o) (_memset) +/home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_udivdi3.o) + /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(stdio.c.o) (___udivdi3) +/home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_umoddi3.o) + /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(stdio.c.o) (___umoddi3) +/home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_udivsi3.o) + /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_udivdi3.o) (___udivsi3) +/home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_udiv_qrnnd_16.o) + /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_udivdi3.o) (___udiv_qrnnd_16) +/home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_clz.o) + /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_udivdi3.o) (___clz_tab) + +Discarded input sections + + .comment 0x0000000000000000 0x12 build-fx/src/main.c.o + .eh_frame 0x0000000000000000 0x80 build-fx/src/main.c.o + .comment 0x0000000000000000 0x12 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(start.c.o) + .comment 0x0000000000000000 0x12 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dsubimage.c.o) + .comment 0x0000000000000000 0x12 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(mmu.c.o) + .comment 0x0000000000000000 0x12 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(osmenu.c.o) + .comment 0x0000000000000000 0x12 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(hardware.c.o) + .comment 0x0000000000000000 0x12 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(kernel.c.o) + .comment 0x0000000000000000 0x12 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(bopti.c.o) + .comment 0x0000000000000000 0x12 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dupdate.c.o) + .comment 0x0000000000000000 0x12 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(t6k11.c.o) + .comment 0x0000000000000000 0x12 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(intc.c.o) + .comment 0x0000000000000000 0x12 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(exch.c.o) + .comment 0x0000000000000000 0x12 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(masks.c.o) + .comment 0x0000000000000000 0x12 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dclear.c.o) + .comment 0x0000000000000000 0x12 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dtext.c.o) + .comment 0x0000000000000000 0x12 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dprint.c.o) + .comment 0x0000000000000000 0x12 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(topti.c.o) + .comment 0x0000000000000000 0x12 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(topti.c.o) + .comment 0x0000000000000000 0x12 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(stdio.c.o) + .debug_info 0x0000000000000000 0x737 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_udivdi3.o) + .debug_abbrev 0x0000000000000000 0x218 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_udivdi3.o) + .debug_loc 0x0000000000000000 0x6eb /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_udivdi3.o) + .debug_aranges + 0x0000000000000000 0x20 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_udivdi3.o) + .debug_ranges 0x0000000000000000 0xe0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_udivdi3.o) + .debug_line 0x0000000000000000 0x293 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_udivdi3.o) + .debug_str 0x0000000000000000 0x592 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_udivdi3.o) + .comment 0x0000000000000000 0x12 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_udivdi3.o) + .eh_frame 0x0000000000000000 0x84 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_udivdi3.o) + .debug_info 0x0000000000000000 0x746 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_umoddi3.o) + .debug_abbrev 0x0000000000000000 0x229 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_umoddi3.o) + .debug_loc 0x0000000000000000 0x679 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_umoddi3.o) + .debug_aranges + 0x0000000000000000 0x20 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_umoddi3.o) + .debug_ranges 0x0000000000000000 0xf0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_umoddi3.o) + .debug_line 0x0000000000000000 0x2fe /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_umoddi3.o) + .debug_str 0x0000000000000000 0x592 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_umoddi3.o) + .comment 0x0000000000000000 0x12 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_umoddi3.o) + .eh_frame 0x0000000000000000 0xb0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_umoddi3.o) + .debug_info 0x0000000000000000 0x371 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_clz.o) + .debug_abbrev 0x0000000000000000 0xcf /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_clz.o) + .debug_aranges + 0x0000000000000000 0x18 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_clz.o) + .debug_line 0x0000000000000000 0xd6 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_clz.o) + .debug_str 0x0000000000000000 0x50f /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_clz.o) + .comment 0x0000000000000000 0x12 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_clz.o) + +Memory Configuration + +Name Origin Length Attributes +rom 0x0000000000300200 0x000000000007d000 xr +ram 0x0000000008100200 0x0000000000001800 rw +rram 0x0000000000000000 0x0000000000000200 xrw +ilram 0x00000000e5200000 0x0000000000001000 xrw +xram 0x00000000e5007000 0x0000000000002000 xrw +yram 0x00000000e5017000 0x0000000000002000 xrw +*default* 0x0000000000000000 0xffffffffffffffff + +Linker script and memory map + +LOAD build-fx/src/main.c.o +LOAD build-fx/assets/img/tilemap.png.o +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 + 0x000000000000429c _srom = ((((0x200 + SIZEOF (.text)) + SIZEOF (.rodata)) + SIZEOF (.gint.drivers)) + SIZEOF (.gint.blocks)) + +.text 0x0000000000300200 0x37a8 + *(.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 + 0x00000000003003ac _bctors = . + *(.ctors .ctors.*) + 0x00000000003003ac _ectors = . + 0x00000000003003ac _bdtors = . + *(.dtors .dtors.*) + 0x00000000003003ac _edtors = . + 0x00000000003003ac _gint_exch_start = . + *(.gint.exch) + *fill* 0x00000000003003ac 0x4 + .gint.exch 0x00000000003003b0 0x90 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(exch.s.o) + 0x00000000003003b0 _gint_exch + 0x0000000000000094 _gint_exch_size = ABSOLUTE ((. - _gint_exch_start)) + 0x0000000000300440 _gint_tlbh_start = . + *(.gint.tlbh) + .gint.tlbh 0x0000000000300440 0x70 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(tlbh.S.o) + 0x0000000000300440 _gint_tlbh + 0x0000000000000070 _gint_tlbh_size = ABSOLUTE ((. - _gint_tlbh_start)) + *(.text .text.*) + .text 0x00000000003004b0 0x6c build-fx/src/main.c.o + 0x00000000003004b0 __Z8PrintMapv + .text.startup 0x000000000030051c 0x4 build-fx/src/main.c.o + 0x000000000030051c _main + .text 0x0000000000300520 0x3c /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(start.c.o) + 0x0000000000300550 _gint_setrestart + .text 0x000000000030055c 0xc8 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dsubimage.c.o) + 0x000000000030055c _dsubimage + .text 0x0000000000300624 0x348 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(mmu.c.o) + 0x0000000000300680 _tlb_addr + 0x0000000000300694 _tlb_data + 0x00000000003006a8 _tlb_mapped_memory + 0x0000000000300774 _tlb_translate + 0x00000000003007f4 _utlb_addr + 0x0000000000300804 _utlb_data + 0x0000000000300814 _utlb_mapped_memory + 0x00000000003008e4 _utlb_translate + 0x0000000000300930 _mmu_translate + 0x000000000030094c _mmu_uram + .text 0x000000000030096c 0xbc /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(osmenu.c.o) + 0x0000000000300a18 _gint_osmenu + *fill* 0x0000000000300a28 0x8 + .text 0x0000000000300a30 0x170 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(syscalls.S.o) + 0x0000000000300a30 _malloc + 0x0000000000300a44 _free + 0x0000000000300a54 _calloc + 0x0000000000300a64 _realloc + 0x0000000000300a74 _BFile_Remove + 0x0000000000300a84 _BFile_Create + 0x0000000000300a94 _BFile_Open + 0x0000000000300aa4 _BFile_Close + 0x0000000000300ab4 _BFile_Size + 0x0000000000300ac4 _BFile_Write + 0x0000000000300ad4 _BFile_Read + 0x0000000000300ae4 _BFile_FindFirst + 0x0000000000300af4 _BFile_FindNext + 0x0000000000300b04 _BFile_FindClose + 0x0000000000300b14 ___Timer_Install + 0x0000000000300b24 ___Timer_Start + 0x0000000000300b34 ___Timer_Stop + 0x0000000000300b44 ___Timer_Deinstall + 0x0000000000300b54 ___PutKeyCode + 0x0000000000300b64 ___GetKeyWait + 0x0000000000300b74 ___ClearKeyBuffer + 0x0000000000300b84 ___GetVRAMAddress + .text 0x0000000000300ba0 0xec /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(hardware.c.o) + 0x0000000000300ba0 _hw_detect + .text 0x0000000000300c8c 0x39c /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(kernel.c.o) + 0x0000000000300ea8 _kinit + 0x0000000000300f50 _gint_inthandler + 0x0000000000300fb0 _gint_switch + 0x0000000000301000 _kquit + .text 0x0000000000301028 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(tlbh.S.o) + .text 0x0000000000301028 0x52c /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(bopti.c.o) + 0x0000000000301028 _bopti_grid + 0x0000000000301260 _bopti_render + 0x00000000003013b0 _bopti_render_scsp + 0x00000000003014b0 _bopti_clip + .text 0x0000000000301554 0x3c /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dupdate.c.o) + 0x0000000000301554 _dupdate + .text 0x0000000000301590 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) + 0x0000000000301590 _bopti_gasm_mono_scsp + 0x00000000003015ac _bopti_gasm_mono_alpha_scsp + 0x00000000003015ce _bopti_gasm_gray_scsp + 0x00000000003015f0 _bopti_gasm_gray_alpha_scsp + .text 0x0000000000301618 0x240 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(t6k11.c.o) + 0x0000000000301690 _t6k11_display_v1 + 0x0000000000301734 _t6k11_display_v2 + 0x00000000003017cc _t6k11_display + 0x00000000003017f0 _t6k11_contrast + 0x0000000000301818 _t6k11_backlight + *fill* 0x0000000000301858 0x8 + .text 0x0000000000301860 0xc0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(memcpy.s.o) + 0x0000000000301860 _memcpy + .text 0x0000000000301920 0x1a0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(intc.c.o) + 0x0000000000301a0c _intc_priority + .text 0x0000000000301ac0 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 0x0000000000301ac0 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 0x0000000000301ac0 0x1ec /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(exch.c.o) + 0x0000000000301c70 _gint_panic + 0x0000000000301c80 _gint_panic_set + 0x0000000000301c94 _gint_exc_catch + 0x0000000000301ca0 _gint_exc_skip + *fill* 0x0000000000301cac 0x4 + .text 0x0000000000301cb0 0x30 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(cpu.s.o) + 0x0000000000301cb0 _cpu_setCPUOPM + 0x0000000000301cc2 _cpu_getCPUOPM + 0x0000000000301cd4 _cpu_getSR + 0x0000000000301cda _cpu_setSR + .text 0x0000000000301ce0 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) + 0x0000000000301ce0 _bopti_gasm_mono + 0x0000000000301d1c _bopti_gasm_mono_alpha + 0x0000000000301d6c _bopti_gasm_gray + 0x0000000000301dc0 _bopti_gasm_gray_alpha + .text 0x0000000000301e30 0x8c /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(masks.c.o) + 0x0000000000301e30 _masks + .text 0x0000000000301ebc 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) + 0x0000000000301ebc _bopti_asm_mono_scsp + 0x0000000000301ece _bopti_asm_mono_alpha_scsp + .text 0x0000000000301ee6 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) + 0x0000000000301ee6 _bopti_asm_mono + 0x0000000000301f0c _bopti_asm_mono_alpha + *fill* 0x0000000000301f3e 0x2 + .text 0x0000000000301f40 0x64 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dclear.c.o) + 0x0000000000301f40 _dclear + .text 0x0000000000301fa4 0x20 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dtext.c.o) + 0x0000000000301fa4 _dtext + .text 0x0000000000301fc4 0xbc /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dprint.c.o) + 0x0000000000301fc4 _dprint_opt + 0x0000000000302030 _dprint + .text 0x0000000000302080 0x208 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(topti.c.o) + 0x0000000000302080 _dfont + 0x0000000000302098 _topti_glyph_index + 0x00000000003020e0 _topti_offset + 0x000000000030213c _topti_utf8_next + 0x00000000003021ea _dsize + .text 0x0000000000302288 0x3b0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(topti.c.o) + 0x000000000030232a _topti_render + 0x0000000000302550 _dtext_opt + .text 0x0000000000302638 0xcec /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(stdio.c.o) + 0x0000000000303034 _kprint_opt + 0x000000000030317c _kprint + 0x000000000030325c _kvsprint + 0x00000000003032a4 _sprintf + 0x00000000003032cc _vsprintf + 0x00000000003032ec _snprintf + 0x000000000030330c _vsnprintf + .text 0x0000000000303324 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(font5x7.png.o) + *fill* 0x0000000000303324 0xc + .text 0x0000000000303330 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) + 0x0000000000303440 _topti_asm_text + .text 0x0000000000303460 0x56 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(memset.s.o) + 0x0000000000303460 _memset + *fill* 0x00000000003034b6 0x2 + .text 0x00000000003034b8 0x1f0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_udivdi3.o) + 0x00000000003034b8 ___udivdi3 + .text 0x00000000003036a8 0x234 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_umoddi3.o) + 0x00000000003036a8 ___umoddi3 + .text 0x00000000003038dc 0x6c /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_udivsi3.o) + 0x00000000003038fe ___udivsi3 + .text 0x0000000000303948 0x60 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_udiv_qrnnd_16.o) + 0x0000000000303948 ___udiv_qrnnd_16 + .text 0x00000000003039a8 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 0x00000000003039b0 0x80 + *(.gint.blocks) + .gint.blocks 0x00000000003039b0 0x80 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(inth.S.o) + 0x00000000003039b0 _gint_inth_7305 + 0x00000000003039f0 _gint_inth_7705 + +.gint.drivers 0x0000000000303a30 0x60 + 0x0000000000303a30 _bdrv = . + *(.gint.drivers.0) + .gint.drivers.0 + 0x0000000000303a30 0x20 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(intc.c.o) + 0x0000000000303a30 _drv_intc + *(.gint.drivers.1) + .gint.drivers.1 + 0x0000000000303a50 0x20 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(mmu.c.o) + 0x0000000000303a50 _drv_mmu + *(.gint.drivers.2) + *(.gint.drivers.3) + *(.gint.drivers.4) + *(.gint.drivers.5) + .gint.drivers.5 + 0x0000000000303a70 0x20 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(t6k11.c.o) + 0x0000000000303a70 _drv_t6k11 + *(.gint.drivers.6) + 0x0000000000303a90 _edrv = . + +.rodata 0x0000000000303a90 0x814 + *(.rodata.4) + *(.rodata .rodata.*) + .rodata 0x0000000000303a90 0x2c build-fx/assets/img/tilemap.png.o + 0x0000000000303a90 _img_tilemap + 0x0000000000303abc _img_tilemap_end + .rodata.str1.4 + 0x0000000000303abc 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 0x0000000000303ac0 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 0x0000000000303ad8 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 + 0x0000000000303b18 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* 0x0000000000303b1e 0x2 + .rodata.str1.4 + 0x0000000000303b20 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* 0x0000000000303b25 0x3 + .rodata 0x0000000000303b28 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 + 0x0000000000303c24 0x126 /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) + *fill* 0x0000000000303d4a 0x2 + .rodata.str1.4 + 0x0000000000303d4c 0x34 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(stdio.c.o) + 0x31 (size before relaxing) + .rodata 0x0000000000303d80 0x424 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(font5x7.png.o) + 0x0000000000303d80 _gint_font5x7_data + 0x0000000000304185 _gint_font5x7_data_end + 0x0000000000304188 _gint_font5x7 + .rodata 0x00000000003041a4 0x100 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_clz.o) + 0x00000000003041a4 ___clz_tab + 0x0000000008100200 . = ORIGIN (ram) + +.bss 0x0000000008100200 0x920 + 0x0000000008100200 _rbss = . + *(.bss COMMON) + .bss 0x0000000008100200 0x4b0 build-fx/src/main.c.o + 0x0000000008100200 _game_map + .bss 0x00000000081006b0 0x4 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(start.c.o) + 0x00000000081006b0 _gint_restart + .bss 0x00000000081006b4 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 0x00000000081006b4 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 0x00000000081006b4 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 0x00000000081006b8 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 0x00000000081006b8 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 0x00000000081006b8 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 0x00000000081006b8 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 0x00000000081006b8 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 0x00000000081006b8 0x404 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dupdate.c.o) + 0x00000000081006b8 _dmode + .bss 0x0000000008100abc 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 0x0000000008100abc 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 0x0000000008100abc 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 0x0000000008100abc 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 0x0000000008100abc 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 0x0000000008100abc 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 0x0000000008100abc 0x4 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(exch.c.o) + 0x0000000008100abc _gint_exc_catcher + .bss 0x0000000008100ac0 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 0x0000000008100ac0 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 0x0000000008100ac0 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 0x0000000008100ac0 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 0x0000000008100ac0 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 0x0000000008100ac0 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 0x0000000008100ac0 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 0x0000000008100ac0 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 0x0000000008100ac0 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 0x0000000008100ac0 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 0x0000000008100ac0 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 0x0000000008100b14 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 0x0000000008100b14 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 0x0000000008100b14 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 0x0000000008100b14 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_udivdi3.o) + .bss 0x0000000008100b14 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_umoddi3.o) + .bss 0x0000000008100b14 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_udivsi3.o) + .bss 0x0000000008100b14 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 0x0000000008100b14 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_clz.o) + *(B R) + 0x0000000008100b20 . = ALIGN (0x10) + *fill* 0x0000000008100b14 0xc + 0x0000000000000920 _sbss = SIZEOF (.bss) + +.data 0x0000000008100b20 0x130 load address 0x00000000003042a4 + 0x00000000003042a4 _ldata = LOADADDR (.data) + 0x0000000008100b20 _rdata = . + 0x0000000008100b20 _lreloc = . + *(.gint.mappedrel) + .gint.mappedrel + 0x0000000008100b20 0x4 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(inth.S.o) + 0x0000000008100b20 _gint_inth_callback + .gint.mappedrel + 0x0000000008100b24 0x4 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(cpu.s.o) + 0x0000000008100b24 _cpu_setVBR + 0x0000000000000008 _sreloc = ABSOLUTE ((. - _lreloc)) + *(.data .data.*) + .data 0x0000000008100b28 0x0 build-fx/src/main.c.o + .data 0x0000000008100b28 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 0x0000000008100b28 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dsubimage.c.o) + .data 0x0000000008100b28 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 0x0000000008100b28 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 0x0000000008100b28 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 0x0000000008100b28 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 0x0000000008100b28 0x4 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(kernel.c.o) + 0x0000000008100b28 _gint_required_intc + .data 0x0000000008100b2c 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 0x0000000008100b2c 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 0x0000000008100b2c 0x4 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dupdate.c.o) + 0x0000000008100b2c _gint_vram + .data 0x0000000008100b30 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 0x0000000008100b30 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 0x0000000008100b34 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 0x0000000008100b34 0x10 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(intc.c.o) + 0x0000000008100b34 _SH7305_INTC + .data 0x0000000008100b44 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* 0x0000000008100b44 0xc + .data 0x0000000008100b50 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 0x0000000008100bb0 0x4 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(exch.c.o) + 0x0000000008100bb0 _gint_exc_panic + .data 0x0000000008100bb4 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 0x0000000008100bb4 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 0x0000000008100bb4 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 0x0000000008100bb4 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 0x0000000008100bb4 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 0x0000000008100bb4 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 0x0000000008100bb4 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 0x0000000008100bb4 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 0x0000000008100bb4 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 0x0000000008100bb4 0x8 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(topti.c.o) + 0x0000000008100bb4 _topti_font + 0x0000000008100bb8 _gint_default_font + .data 0x0000000008100bbc 0x68 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(stdio.c.o) + 0x0000000008100bbc _kprint_formatters + .data 0x0000000008100c24 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 0x0000000008100c24 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 0x0000000008100c24 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 0x0000000008100c24 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_udivdi3.o) + .data 0x0000000008100c24 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_umoddi3.o) + .data 0x0000000008100c24 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_udivsi3.o) + .data 0x0000000008100c24 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_udiv_qrnnd_16.o) + .data 0x0000000008100c24 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_clz.o) + *(D) + *(.gint.data.sh3) + .gint.data.sh3 + 0x0000000008100c24 0x24 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(intc.c.o) + 0x0000000008100c24 _SH7705_INTC + 0x0000000008100c50 . = ALIGN (0x10) + *fill* 0x0000000008100c48 0x8 + +.data.4 0x0000000008100c50 0x0 load address 0x00000000003043d4 + *(.data.4) + 0x0000000008100c50 . = ALIGN (0x10) + 0x0000000000000130 _sdata = (SIZEOF (.data) + SIZEOF (.data.4)) + +.gint.bss 0x0000000008100c50 0xc0 load address 0x00000000003043d4 + *(.gint.bss .gint.bss.sh3) + .gint.bss 0x0000000008100c50 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 0x0000000008100c60 0x40 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(hardware.c.o) + 0x0000000008100c60 _gint + .gint.bss 0x0000000008100ca0 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 0x0000000008100cb8 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 0x0000000008100cba 0x4c /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(intc.c.o) + 0x0000000008100d10 . = ALIGN (0x10) + *fill* 0x0000000008100d06 0xa + 0x00000000000000c0 _sgbss = SIZEOF (.gint.bss) + 0x00000000e5200000 . = ORIGIN (ilram) + +.ilram 0x00000000e5200000 0x0 load address 0x00000000003043d4 + 0x00000000003043d4 _lilram = LOADADDR (.ilram) + 0x00000000e5200000 _rilram = . + *(.ilram) + 0x00000000e5200000 . = ALIGN (0x10) + 0x00000000e5007000 . = ORIGIN (xram) + +.xram 0x00000000e5007000 0x0 load address 0x00000000003043d4 + 0x00000000003043d4 _lxram = LOADADDR (.xram) + 0x00000000e5007000 _rxram = . + *(.xram) + 0x00000000e5007000 . = ALIGN (0x10) + 0x00000000e5017000 . = ORIGIN (yram) + +.yram 0x00000000e5017000 0x0 load address 0x00000000003043d4 + 0x00000000003043d4 _lyram = LOADADDR (.yram) + 0x00000000e5017000 _ryram = . + *(.yram) + 0x00000000e5017000 . = ALIGN (0x10) + 0x0000000000000000 _silram = SIZEOF (.ilram) + 0x0000000000000000 _sxram = SIZEOF (.xram) + 0x0000000000000000 _syram = SIZEOF (.yram) + 0x0000000000000000 . = ORIGIN (rram) + +.gint.mapped 0x0000000000000000 0xa0 load address 0x00000000003043d4 + 0x00000000003043d4 _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) + 0x00000000000000a0 . = ALIGN (0x10) + *fill* 0x000000000000009c 0x4 + 0x00000000000000a0 _sgmapped = SIZEOF (.gint.mapped) + +.rela.dyn 0x00000000000000a0 0x0 load address 0x0000000000304474 + .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(start.c.o) + .rela.text 0x00000000000000a0 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(start.c.o) + .rela.gint.tlbh + 0x00000000000000a0 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(start.c.o) + +/DISCARD/ + *(.debug_info .debug_abbrev .debug_loc .debug_aranges .debug_ranges .debug_line .debug_str) + *(.jcr) + *(.eh_frame_hdr) + *(.eh_frame) + *(.comment) +OUTPUT(build-fx/binnword.elf elf32-sh) diff --git a/build-fx/src/main.c.d b/build-fx/src/main.c.d new file mode 100644 index 0000000..e765314 --- /dev/null +++ b/build-fx/src/main.c.d @@ -0,0 +1 @@ +build-fx/src/main.c.o: src/main.c diff --git a/build-fx/src/main.c.o b/build-fx/src/main.c.o new file mode 100644 index 0000000..1fec6f9 Binary files /dev/null and b/build-fx/src/main.c.o differ diff --git a/src/main.c b/src/main.c index d628897..a0ae29b 100644 --- a/src/main.c +++ b/src/main.c @@ -2,19 +2,36 @@ extern "C"{ #include #include } +#define MAP_X 50 + +extern bopti_image_t img_tilemap; +int game_map[MAP_X][6]; + +void PrintMap(){ + int cx = MAP_X; + int cy = 6; + while(cx>0){ + cy = 6; + while(cy>0){ + dsubimage(cx*10, cy*10 ,&img_tilemap,game_map[cx][cy]*10,0,10, 10, DIMAGE_NONE); + cy--; + } + cx--; + } +} int main(void) { - int game_map[50][6]; int i = 0; int sx = 0; - int x; + int x,y; while(i<50){ game_map[i][6] = 0; game_map[i][6] = 1; } dclear(C_WHITE); dtext(1, 1, C_BLACK, "Sample fxSDK add-in."); + PrintMap(); dupdate(); getkey();