diff --git a/Makefile b/Makefile index 83f0c30..94fd233 100755 --- a/Makefile +++ b/Makefile @@ -29,7 +29,7 @@ G1AF := -i "$(ICON_FX)" -n "$(NAME_G1A)" --internal="$(INTERNAL)" G3AF := -n basic:"$(NAME_G3A)" -i uns:"$(ICON_CG_UNS)" -i sel:"$(ICON_CG_SEL)" ifeq "$(TOOLCHAIN_FX)" "" -TOOLCHAIN_FX := sh-elf +TOOLCHAIN_FX := sh3eb-elf endif ifeq "$(TOOLCHAIN_CG)" "" diff --git a/SuperCbr.g1a b/SuperCbr.g1a index 9203c0c..124794d 100644 Binary files a/SuperCbr.g1a and b/SuperCbr.g1a differ diff --git a/assets-fx/Sans titre.png b/assets-fx/Sans titre.png deleted file mode 100644 index 9dd5b85..0000000 Binary files a/assets-fx/Sans titre.png and /dev/null differ diff --git a/assets-fx/fonts/mario.png b/assets-fx/fonts/mario.png new file mode 100644 index 0000000..1e11b2b Binary files /dev/null and b/assets-fx/fonts/mario.png differ diff --git a/assets-fx/img/bonus.png b/assets-fx/img/bonus.png new file mode 100644 index 0000000..4df5feb Binary files /dev/null and b/assets-fx/img/bonus.png differ diff --git a/assets-fx/img/coin.png b/assets-fx/img/coin.png index 3249ee3..6f5b756 100755 Binary files a/assets-fx/img/coin.png and b/assets-fx/img/coin.png differ diff --git a/assets-fx/img/mariosmall.png b/assets-fx/img/mariosmall.png index 09ff407..80fd7cb 100755 Binary files a/assets-fx/img/mariosmall.png and b/assets-fx/img/mariosmall.png differ diff --git a/assets-fx/img/new_level.png b/assets-fx/img/new_level.png new file mode 100644 index 0000000..2d12bcd Binary files /dev/null and b/assets-fx/img/new_level.png differ diff --git a/assets-fx/img/ram.png b/assets-fx/img/ram.png new file mode 100644 index 0000000..1bdb1a6 Binary files /dev/null and b/assets-fx/img/ram.png differ diff --git a/assets-fx/img/time_over.png b/assets-fx/img/time_over.png new file mode 100644 index 0000000..0abf51a Binary files /dev/null and b/assets-fx/img/time_over.png differ diff --git a/build-fx/SuperCbr.bin b/build-fx/SuperCbr.bin index d10fbe5..1fa84f2 100755 Binary files a/build-fx/SuperCbr.bin and b/build-fx/SuperCbr.bin differ diff --git a/build-fx/SuperCbr.elf b/build-fx/SuperCbr.elf index 86e9a6e..cc86cfa 100755 Binary files a/build-fx/SuperCbr.elf and b/build-fx/SuperCbr.elf differ diff --git a/build-fx/assets/fonts/mario.png.o b/build-fx/assets/fonts/mario.png.o new file mode 100644 index 0000000..23182df Binary files /dev/null and b/build-fx/assets/fonts/mario.png.o differ diff --git a/build-fx/assets/img/bonus.png.o b/build-fx/assets/img/bonus.png.o new file mode 100644 index 0000000..bdc18d3 Binary files /dev/null and b/build-fx/assets/img/bonus.png.o differ diff --git a/build-fx/assets/img/coin.png.o b/build-fx/assets/img/coin.png.o index 54907da..6b44788 100644 Binary files a/build-fx/assets/img/coin.png.o and b/build-fx/assets/img/coin.png.o differ diff --git a/build-fx/assets/img/mariosmall.png.o b/build-fx/assets/img/mariosmall.png.o index a1c2e83..515c4ae 100644 Binary files a/build-fx/assets/img/mariosmall.png.o and b/build-fx/assets/img/mariosmall.png.o differ diff --git a/build-fx/assets/img/new_level.png.o b/build-fx/assets/img/new_level.png.o new file mode 100644 index 0000000..250fd26 Binary files /dev/null and b/build-fx/assets/img/new_level.png.o differ diff --git a/build-fx/assets/img/ram.png.o b/build-fx/assets/img/ram.png.o new file mode 100644 index 0000000..339d4f1 Binary files /dev/null and b/build-fx/assets/img/ram.png.o differ diff --git a/build-fx/assets/img/time_over.png.o b/build-fx/assets/img/time_over.png.o new file mode 100644 index 0000000..de8bda7 Binary files /dev/null and b/build-fx/assets/img/time_over.png.o differ diff --git a/build-fx/map b/build-fx/map index 767c6d7..6b1bde2 100644 --- a/build-fx/map +++ b/build-fx/map @@ -1,9 +1,17 @@ Archive member included to satisfy reference by file (symbol) +/home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(stdio.c.o) + build-fx/src/score.c.o (_sprintf) +/home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(memory.c.o) + build-fx/src/level.c.o (_memcpy) +/home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dtext.c.o) + build-fx/src/score.c.o (_dtext) +/home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(topti.c.o) + /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dtext.c.o) (_topti_render) /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dupdate.c.o) - build-fx/src/main.c.o (_dupdate) + build-fx/src/level.c.o (_dupdate) /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dimage.c.o) - build-fx/src/world.c.o (_dimage) + build-fx/src/level.c.o (_dimage) /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dclear.c.o) build-fx/src/main.c.o (_dclear) /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(keysc.c.o) @@ -11,11 +19,13 @@ Archive member included to satisfy reference by file (symbol) /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(iokbd.c.o) /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(keysc.c.o) (_iokbd_scan) /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(getkey.c.o) - build-fx/src/main.c.o (_getkey) + build-fx/src/level.c.o (_getkey) /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(start.c.o) (_start) /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(exch.c.o) /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(start.c.o) (_gint_panic) +/home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(syscalls.S.o) + build-fx/src/level.c.o (_malloc) /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(setup.c.o) /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(start.c.o) (_gint_install) /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(hardware.c.o) @@ -25,49 +35,39 @@ Archive member included to satisfy reference by file (symbol) /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(mmu.c.o) /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(start.c.o) (_tlb_mapped_memory) /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(topti.c.o) - /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(exch.c.o) (_dfont) + build-fx/src/main.c.o (_dfont) /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dprint.c.o) /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(exch.c.o) (_dprint) /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(tmu.c.o) build-fx/src/main.c.o (_timer_setup) /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(sleep.c.o) - build-fx/src/main.c.o (_sleep_us) -/home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(stdio.c.o) - /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dprint.c.o) (_vsnprintf) -/home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(memory.c.o) - /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(setup.c.o) (_memcpy) + build-fx/src/score.c.o (_sleep_us) +/home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(font5x7.png.o) + /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(topti.c.o) (_gint_font5x7) /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(t6k11.c.o) /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dupdate.c.o) (_t6k11_display) /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(cpg.c.o) /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(tmu.c.o) (_clock_freq) -/home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dtext.c.o) - /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(exch.c.o) (_dtext) +/home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(topti-asm.s.o) + /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dtext.c.o) (_topti_asm_text) /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(bopti-asm.s.o) /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dimage.c.o) (_bopti_asm_mono) -/home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(topti.c.o) - /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dtext.c.o) (_topti_render) /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(bopti.c.o) /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dimage.c.o) (_bopti_render_clip) /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(masks.c.o) /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(bopti.c.o) (_masks) /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(vbr.s.o) /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(setup.c.o) (_gint_setvbr) -/home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(syscalls.S.o) - /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(t6k11.c.o) (___os_version) /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(gint.c.o) /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(tmu.c.o) (_gint_intlevel) /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(inth.S.o) /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(setup.c.o) (_gint_inth_7305) /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(inth.s.o) /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(tmu.c.o) (_inth_tmu) -/home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(font5x7.png.o) - /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(topti.c.o) (_gint_font5x7) -/home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(topti-asm.s.o) - /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dtext.c.o) (_topti_asm_text) /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_movmem.o) /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(topti.c.o) (___movmemSI24) /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_udivdi3.o) - /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(tmu.c.o) (___udivdi3) + /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(stdio.c.o) (___udivdi3) /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_umoddi3.o) /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(stdio.c.o) (___umoddi3) /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_udivsi3.o) @@ -80,12 +80,17 @@ Archive member included to satisfy reference by file (symbol) Discarded input sections .comment 0x0000000000000000 0x12 build-fx/src/level.c.o + .comment 0x0000000000000000 0x12 build-fx/src/score.c.o .comment 0x0000000000000000 0x12 build-fx/src/tile.c.o .comment 0x0000000000000000 0x12 build-fx/src/box.c.o .comment 0x0000000000000000 0x12 build-fx/src/world.c.o .comment 0x0000000000000000 0x12 build-fx/src/mario.c.o .comment 0x0000000000000000 0x12 build-fx/src/main.c.o .comment 0x0000000000000000 0x12 build-fx/src/keyboard.c.o + .comment 0x0000000000000000 0x12 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(stdio.c.o) + .comment 0x0000000000000000 0x12 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(memory.c.o) + .comment 0x0000000000000000 0x12 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dtext.c.o) + .comment 0x0000000000000000 0x12 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(topti.c.o) .comment 0x0000000000000000 0x12 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dupdate.c.o) .comment 0x0000000000000000 0x12 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dimage.c.o) .comment 0x0000000000000000 0x12 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dclear.c.o) @@ -101,12 +106,8 @@ Discarded input sections .comment 0x0000000000000000 0x12 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dprint.c.o) .comment 0x0000000000000000 0x12 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(tmu.c.o) .comment 0x0000000000000000 0x12 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(sleep.c.o) - .comment 0x0000000000000000 0x12 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(stdio.c.o) - .comment 0x0000000000000000 0x12 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(memory.c.o) .comment 0x0000000000000000 0x12 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(t6k11.c.o) .comment 0x0000000000000000 0x12 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(cpg.c.o) - .comment 0x0000000000000000 0x12 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dtext.c.o) - .comment 0x0000000000000000 0x12 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(topti.c.o) .comment 0x0000000000000000 0x12 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(bopti.c.o) .comment 0x0000000000000000 0x12 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(masks.c.o) .comment 0x0000000000000000 0x12 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(gint.c.o) @@ -153,18 +154,24 @@ yram 0x00000000e5017000 0x0000000000002000 xrw Linker script and memory map LOAD build-fx/src/level.c.o +LOAD build-fx/src/score.c.o LOAD build-fx/src/tile.c.o LOAD build-fx/src/box.c.o LOAD build-fx/src/world.c.o LOAD build-fx/src/mario.c.o LOAD build-fx/src/main.c.o LOAD build-fx/src/keyboard.c.o +LOAD build-fx/assets/fonts/mario.png.o +LOAD build-fx/assets/img/bonus.png.o +LOAD build-fx/assets/img/ram.png.o LOAD build-fx/assets/img/mario.png.o LOAD build-fx/assets/img/main.png.o LOAD build-fx/assets/img/brick.png.o LOAD build-fx/assets/img/menu_pause.png.o LOAD build-fx/assets/img/select_arrow.png.o +LOAD build-fx/assets/img/new_level.png.o LOAD build-fx/assets/img/death.png.o +LOAD build-fx/assets/img/time_over.png.o LOAD build-fx/assets/img/coin.png.o LOAD build-fx/assets/img/mariosmall.png.o LOAD build-fx/assets/img/gift.png.o @@ -177,7 +184,7 @@ LOAD /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a LOAD /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a LOAD /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a 0x0000000000300000 _brom = 0x300000 - 0x00000000000057ac _srom = ((((0x200 + SIZEOF (.text)) + SIZEOF (.rodata)) + SIZEOF (.gint.drivers)) + SIZEOF (.gint.blocks)) + 0x0000000000006e4c _srom = ((((0x200 + SIZEOF (.text)) + SIZEOF (.rodata)) + SIZEOF (.gint.drivers)) + SIZEOF (.gint.blocks)) .pretext 0x0000000000300200 0x8d0 *(.pretext.entry) @@ -185,30 +192,30 @@ LOAD /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a 0x0000000000300200 0x1cc /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(start.c.o) 0x0000000000300200 _start *(.pretext) - .pretext 0x00000000003003cc 0x30 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(start.c.o) - .pretext 0x00000000003003fc 0xd0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(hardware.c.o) - 0x00000000003003fc _hw_detect - .pretext 0x00000000003004cc 0x110 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(topti.c.o) - 0x00000000003004cc _dfont - 0x00000000003004e4 _charset_size - 0x0000000000300510 _charset_decode - 0x000000000030057e _topti_offset - .pretext 0x00000000003005dc 0x4c /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dtext.c.o) - 0x00000000003005dc _dtext - .pretext 0x0000000000300628 0x2f0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(topti.c.o) - 0x00000000003006ca _topti_render - .pretext 0x0000000000300918 0x88 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(syscalls.S.o) - 0x0000000000300918 ___os_version - 0x0000000000300924 _malloc - 0x0000000000300930 _free - 0x000000000030093c _calloc - 0x0000000000300948 _realloc - 0x0000000000300954 _BFile_Remove - 0x0000000000300960 _BFile_Create - 0x000000000030096c _BFile_Open - 0x0000000000300978 _BFile_Close - 0x0000000000300984 _BFile_Write - 0x0000000000300990 _BFile_Read + .pretext 0x00000000003003cc 0x4c /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dtext.c.o) + 0x00000000003003cc _dtext + .pretext 0x0000000000300418 0x2f0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(topti.c.o) + 0x00000000003004ba _topti_render + .pretext 0x0000000000300708 0x30 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(start.c.o) + .pretext 0x0000000000300738 0x88 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(syscalls.S.o) + 0x0000000000300738 ___os_version + 0x0000000000300744 _malloc + 0x0000000000300750 _free + 0x000000000030075c _calloc + 0x0000000000300768 _realloc + 0x0000000000300774 _BFile_Remove + 0x0000000000300780 _BFile_Create + 0x000000000030078c _BFile_Open + 0x0000000000300798 _BFile_Close + 0x00000000003007a4 _BFile_Write + 0x00000000003007b0 _BFile_Read + .pretext 0x00000000003007c0 0xd0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(hardware.c.o) + 0x00000000003007c0 _hw_detect + .pretext 0x0000000000300890 0x110 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(topti.c.o) + 0x0000000000300890 _dfont + 0x00000000003008a8 _charset_size + 0x00000000003008d4 _charset_decode + 0x0000000000300942 _topti_offset .pretext 0x00000000003009a0 0x130 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(topti-asm.s.o) 0x0000000000300ab0 _topti_asm_text 0x0000000000300ad0 _btors = . @@ -217,7 +224,7 @@ LOAD /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a *(.dtors .dtors.*) 0x0000000000300ad0 _etors = . -.text 0x0000000000300ad0 0x3988 +.text 0x0000000000300ad0 0x41d8 0x0000000000300ad0 _gint_exch_tlbh_start = . *(.gint.exch_tlbh) .gint.exch_tlbh @@ -225,437 +232,480 @@ LOAD /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a 0x0000000000300ad0 _gint_exch_tlbh 0x000000000000004c _gint_exch_tlbh_size = ABSOLUTE ((. - _gint_exch_tlbh_start)) *(.text .text.*) - .text 0x0000000000300b1c 0x54 build-fx/src/level.c.o - 0x0000000000300b1c _set_level - .text 0x0000000000300b70 0x40 build-fx/src/tile.c.o - 0x0000000000300b70 _draw_tile - .text 0x0000000000300bb0 0x198 build-fx/src/box.c.o - 0x0000000000300bb0 _sgn - 0x0000000000300bc2 _box_move - 0x0000000000300ce8 _box_jump - .text 0x0000000000300d48 0x230 build-fx/src/world.c.o - 0x0000000000300d48 _world_get_width - 0x0000000000300d58 _world_get - 0x0000000000300db4 _display_cell - 0x0000000000300e70 _world_get_ctg - 0x0000000000300eb0 _world_get_real_x0 - 0x0000000000300ec4 _world_get_real_y0 - 0x0000000000300ed2 _world_draw - .text 0x0000000000300f78 0x1c0 build-fx/src/mario.c.o - 0x0000000000300f78 _mario_draw - 0x0000000000300fd0 _test_sol_le_plus_proche - 0x000000000030103c _mario_move - .text 0x0000000000301138 0x40 build-fx/src/main.c.o - 0x0000000000301138 _callback - 0x0000000000301140 _system_error - .text.startup 0x0000000000301178 0xe8 build-fx/src/main.c.o - 0x0000000000301178 _main - .text 0x0000000000301260 0x1c4 build-fx/src/keyboard.c.o - 0x0000000000301260 _menu_pause - 0x0000000000301354 _update_keyboard - .text 0x0000000000301424 0x24 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dupdate.c.o) - 0x0000000000301424 _dupdate - 0x000000000030143c _dupdate_noint - .text 0x0000000000301448 0xc8 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dimage.c.o) - 0x0000000000301448 _dimage - 0x000000000030149c _dsubimage - .text 0x0000000000301510 0x4c /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dclear.c.o) - 0x0000000000301510 _dclear - .text 0x000000000030155c 0x3fc /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(keysc.c.o) - 0x0000000000301704 _pollevent - 0x0000000000301848 _waitevent - 0x0000000000301894 _clearevents - 0x00000000003018b4 _keydown - 0x00000000003018e0 _keydown_all - 0x000000000030191c _keydown_any - .text 0x0000000000301958 0x124 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(iokbd.c.o) - 0x0000000000301964 _iokbd_row - 0x0000000000301a4c _iokbd_scan - .text 0x0000000000301a7c 0x1f4 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(getkey.c.o) - 0x0000000000301a7c _getkey_opt - 0x0000000000301c28 _getkey - 0x0000000000301c34 _getkey_repeat - .text 0x0000000000301c70 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(start.c.o) - .text 0x0000000000301c70 0x1c4 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(exch.c.o) - 0x0000000000301e00 _gint_panic - 0x0000000000301e10 _gint_panic_set - 0x0000000000301e1c _gint_exc_catch - 0x0000000000301e28 _gint_exc_skip - .text 0x0000000000301e34 0x17c /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(setup.c.o) - 0x0000000000301ee8 _gint_install - 0x0000000000301f98 _gint_unload - .text 0x0000000000301fb0 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(hardware.c.o) - .text 0x0000000000301fb0 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(exch.s.o) - .text 0x0000000000301fb0 0x1f4 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(mmu.c.o) - 0x0000000000301fb0 _tlb_addr - 0x0000000000301fc4 _tlb_data - 0x0000000000301fd8 _tlb_mapped_memory - 0x00000000003020ac _utlb_addr - 0x00000000003020bc _utlb_data - 0x00000000003020cc _utlb_mapped_memory - .text 0x00000000003021a4 0x9c /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(topti.c.o) - 0x00000000003021a4 _dsize - .text 0x0000000000302240 0x58 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dprint.c.o) - 0x0000000000302240 _dprint - .text 0x0000000000302298 0x56c /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(tmu.c.o) - 0x00000000003025b8 _timer_setup - 0x0000000000302648 _timer_delay - 0x00000000003026a8 _timer_start - 0x00000000003026dc _timer_reload - 0x00000000003026fc _timer_pause - 0x0000000000302730 _timer_stop - 0x000000000030278c _timer_timeout - 0x0000000000302798 _timer_address - 0x00000000003027d4 _timer_clear - .text 0x0000000000302804 0x58 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(sleep.c.o) - 0x0000000000302804 _sleep_us - .text 0x000000000030285c 0xce4 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(stdio.c.o) - 0x0000000000303258 _kprint_opt - 0x00000000003033a0 _kprint - 0x0000000000303478 _kvsprint - 0x00000000003034c0 _sprintf - 0x00000000003034e8 _vsprintf - 0x0000000000303508 _snprintf - 0x0000000000303528 _vsnprintf - .text 0x0000000000303540 0xdc /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(memory.c.o) - 0x0000000000303540 _memcpy - 0x00000000003035fa __memmove - 0x00000000003035fe __memcmp - 0x0000000000303602 _memset - .text 0x000000000030361c 0x1d8 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(t6k11.c.o) - 0x00000000003036b4 _t6k11_display - 0x0000000000303788 _t6k11_contrast - 0x00000000003037b4 _t6k11_backlight - .text 0x00000000003037f4 0x150 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(cpg.c.o) - 0x0000000000303938 _clock_freq - .text 0x0000000000303944 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dtext.c.o) - .text 0x0000000000303944 0x58 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(bopti-asm.s.o) - 0x0000000000303944 _bopti_asm_mono - 0x000000000030396a _bopti_asm_mono_alpha - .text 0x000000000030399c 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(topti.c.o) - .text 0x000000000030399c 0x410 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(bopti.c.o) - 0x000000000030399c _bopti_grid - 0x0000000000303b10 _bopti_render - 0x0000000000303c40 _bopti_render_clip - 0x0000000000303d54 _bopti_render_noclip - .text 0x0000000000303dac 0x9c /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(masks.c.o) - 0x0000000000303dac _masks - .text 0x0000000000303e48 0x2c /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(vbr.s.o) - 0x0000000000303e48 _gint_setvbr - .text 0x0000000000303e74 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(syscalls.S.o) - .text 0x0000000000303e74 0x78 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(gint.c.o) - 0x0000000000303e74 _gint_intlevel - 0x0000000000303ec8 _gint_inthandler - .text 0x0000000000303eec 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(inth.S.o) - .text 0x0000000000303eec 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(inth.s.o) - .text 0x0000000000303eec 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(topti-asm.s.o) - .text 0x0000000000303eec 0x78 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_movmem.o) - 0x0000000000303eec ___movstr - 0x0000000000303eec ___movmem - 0x0000000000303f20 ___movmemSI64 - 0x0000000000303f20 ___movstrSI64 - 0x0000000000303f24 ___movstrSI60 - 0x0000000000303f24 ___movmemSI60 - 0x0000000000303f28 ___movmemSI56 - 0x0000000000303f28 ___movstrSI56 - 0x0000000000303f2c ___movstrSI52 - 0x0000000000303f2c ___movmemSI52 - 0x0000000000303f30 ___movstrSI48 - 0x0000000000303f30 ___movmemSI48 - 0x0000000000303f34 ___movstrSI44 - 0x0000000000303f34 ___movmemSI44 - 0x0000000000303f38 ___movstrSI40 - 0x0000000000303f38 ___movmemSI40 - 0x0000000000303f3c ___movstrSI36 - 0x0000000000303f3c ___movmemSI36 - 0x0000000000303f40 ___movmemSI32 - 0x0000000000303f40 ___movstrSI32 - 0x0000000000303f44 ___movmemSI28 - 0x0000000000303f44 ___movstrSI28 - 0x0000000000303f48 ___movstrSI24 - 0x0000000000303f48 ___movmemSI24 - 0x0000000000303f4c ___movmemSI20 - 0x0000000000303f4c ___movstrSI20 - 0x0000000000303f50 ___movstrSI16 - 0x0000000000303f50 ___movmemSI16 - 0x0000000000303f54 ___movmemSI12 - 0x0000000000303f54 ___movstrSI12 - 0x0000000000303f58 ___movmemSI8 - 0x0000000000303f58 ___movstrSI8 - 0x0000000000303f5c ___movmemSI4 - 0x0000000000303f5c ___movstrSI4 - .text 0x0000000000303f64 0x1f0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_udivdi3.o) - 0x0000000000303f64 ___udivdi3 - .text 0x0000000000304154 0x234 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_umoddi3.o) - 0x0000000000304154 ___umoddi3 - .text 0x0000000000304388 0x6c /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_udivsi3.o) - 0x00000000003043aa ___udivsi3 - *fill* 0x00000000003043f4 0x4 - .text 0x00000000003043f8 0x60 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_udiv_qrnnd_16.o) - 0x00000000003043f8 ___udiv_qrnnd_16 - .text 0x0000000000304458 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_clz.o) + .text 0x0000000000300b1c 0x354 build-fx/src/level.c.o + 0x0000000000300b1c _malloc_error + 0x0000000000300b54 _init_level + 0x0000000000300bc8 _set_level + 0x0000000000300e40 _get_lvl_id + .text 0x0000000000300e70 0x214 build-fx/src/score.c.o + 0x0000000000300ec0 _new_level + 0x0000000000300ee4 _new_game + 0x0000000000300f1c _score_add_coin + 0x0000000000300f34 _score_add + 0x0000000000300f48 _score_display + .text 0x0000000000301084 0x40 build-fx/src/tile.c.o + 0x0000000000301084 _draw_tile + .text 0x00000000003010c4 0x198 build-fx/src/box.c.o + 0x00000000003010c4 _sgn + 0x00000000003010d6 _box_move + 0x00000000003011fc _box_jump + .text 0x000000000030125c 0x230 build-fx/src/world.c.o + 0x000000000030125c _world_get_width + 0x000000000030126c _world_get + 0x00000000003012c8 _display_cell + 0x0000000000301384 _world_get_ctg + 0x00000000003013c4 _world_get_real_x0 + 0x00000000003013d8 _world_get_real_y0 + 0x00000000003013e6 _world_draw + .text 0x000000000030148c 0x3fc build-fx/src/mario.c.o + 0x000000000030148c _mario_draw + 0x000000000030157c _test_sol_le_plus_proche + 0x00000000003015e8 _mario_move + .text 0x0000000000301888 0x40 build-fx/src/main.c.o + 0x0000000000301888 _callback + 0x0000000000301890 _system_error + .text.startup 0x00000000003018c8 0x1b8 build-fx/src/main.c.o + 0x00000000003018c8 _main + .text 0x0000000000301a80 0x1f4 build-fx/src/keyboard.c.o + 0x0000000000301a80 _menu_pause + 0x0000000000301b84 _update_keyboard + .text 0x0000000000301c74 0xce4 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(stdio.c.o) + 0x0000000000302670 _kprint_opt + 0x00000000003027b8 _kprint + 0x0000000000302890 _kvsprint + 0x00000000003028d8 _sprintf + 0x0000000000302900 _vsprintf + 0x0000000000302920 _snprintf + 0x0000000000302940 _vsnprintf + .text 0x0000000000302958 0xdc /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(memory.c.o) + 0x0000000000302958 _memcpy + 0x0000000000302a12 __memmove + 0x0000000000302a16 __memcmp + 0x0000000000302a1a _memset + .text 0x0000000000302a34 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dtext.c.o) + .text 0x0000000000302a34 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(topti.c.o) + .text 0x0000000000302a34 0x24 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dupdate.c.o) + 0x0000000000302a34 _dupdate + 0x0000000000302a4c _dupdate_noint + .text 0x0000000000302a58 0xc8 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dimage.c.o) + 0x0000000000302a58 _dimage + 0x0000000000302aac _dsubimage + .text 0x0000000000302b20 0x4c /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dclear.c.o) + 0x0000000000302b20 _dclear + .text 0x0000000000302b6c 0x3fc /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(keysc.c.o) + 0x0000000000302d14 _pollevent + 0x0000000000302e58 _waitevent + 0x0000000000302ea4 _clearevents + 0x0000000000302ec4 _keydown + 0x0000000000302ef0 _keydown_all + 0x0000000000302f2c _keydown_any + .text 0x0000000000302f68 0x124 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(iokbd.c.o) + 0x0000000000302f74 _iokbd_row + 0x000000000030305c _iokbd_scan + .text 0x000000000030308c 0x1f4 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(getkey.c.o) + 0x000000000030308c _getkey_opt + 0x0000000000303238 _getkey + 0x0000000000303244 _getkey_repeat + .text 0x0000000000303280 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(start.c.o) + .text 0x0000000000303280 0x1c4 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(exch.c.o) + 0x0000000000303410 _gint_panic + 0x0000000000303420 _gint_panic_set + 0x000000000030342c _gint_exc_catch + 0x0000000000303438 _gint_exc_skip + .text 0x0000000000303444 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(syscalls.S.o) + .text 0x0000000000303444 0x17c /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(setup.c.o) + 0x00000000003034f8 _gint_install + 0x00000000003035a8 _gint_unload + .text 0x00000000003035c0 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(hardware.c.o) + .text 0x00000000003035c0 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(exch.s.o) + .text 0x00000000003035c0 0x1f4 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(mmu.c.o) + 0x00000000003035c0 _tlb_addr + 0x00000000003035d4 _tlb_data + 0x00000000003035e8 _tlb_mapped_memory + 0x00000000003036bc _utlb_addr + 0x00000000003036cc _utlb_data + 0x00000000003036dc _utlb_mapped_memory + .text 0x00000000003037b4 0x9c /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(topti.c.o) + 0x00000000003037b4 _dsize + .text 0x0000000000303850 0x58 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dprint.c.o) + 0x0000000000303850 _dprint + .text 0x00000000003038a8 0x56c /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(tmu.c.o) + 0x0000000000303bc8 _timer_setup + 0x0000000000303c58 _timer_delay + 0x0000000000303cb8 _timer_start + 0x0000000000303cec _timer_reload + 0x0000000000303d0c _timer_pause + 0x0000000000303d40 _timer_stop + 0x0000000000303d9c _timer_timeout + 0x0000000000303da8 _timer_address + 0x0000000000303de4 _timer_clear + .text 0x0000000000303e14 0x58 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(sleep.c.o) + 0x0000000000303e14 _sleep_us + .text 0x0000000000303e6c 0x1d8 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(t6k11.c.o) + 0x0000000000303f04 _t6k11_display + 0x0000000000303fd8 _t6k11_contrast + 0x0000000000304004 _t6k11_backlight + .text 0x0000000000304044 0x150 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(cpg.c.o) + 0x0000000000304188 _clock_freq + .text 0x0000000000304194 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(topti-asm.s.o) + .text 0x0000000000304194 0x58 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(bopti-asm.s.o) + 0x0000000000304194 _bopti_asm_mono + 0x00000000003041ba _bopti_asm_mono_alpha + .text 0x00000000003041ec 0x410 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(bopti.c.o) + 0x00000000003041ec _bopti_grid + 0x0000000000304360 _bopti_render + 0x0000000000304490 _bopti_render_clip + 0x00000000003045a4 _bopti_render_noclip + .text 0x00000000003045fc 0x9c /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(masks.c.o) + 0x00000000003045fc _masks + .text 0x0000000000304698 0x2c /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(vbr.s.o) + 0x0000000000304698 _gint_setvbr + .text 0x00000000003046c4 0x78 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(gint.c.o) + 0x00000000003046c4 _gint_intlevel + 0x0000000000304718 _gint_inthandler + .text 0x000000000030473c 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(inth.S.o) + .text 0x000000000030473c 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(inth.s.o) + .text 0x000000000030473c 0x78 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_movmem.o) + 0x000000000030473c ___movstr + 0x000000000030473c ___movmem + 0x0000000000304770 ___movmemSI64 + 0x0000000000304770 ___movstrSI64 + 0x0000000000304774 ___movstrSI60 + 0x0000000000304774 ___movmemSI60 + 0x0000000000304778 ___movmemSI56 + 0x0000000000304778 ___movstrSI56 + 0x000000000030477c ___movstrSI52 + 0x000000000030477c ___movmemSI52 + 0x0000000000304780 ___movstrSI48 + 0x0000000000304780 ___movmemSI48 + 0x0000000000304784 ___movstrSI44 + 0x0000000000304784 ___movmemSI44 + 0x0000000000304788 ___movstrSI40 + 0x0000000000304788 ___movmemSI40 + 0x000000000030478c ___movstrSI36 + 0x000000000030478c ___movmemSI36 + 0x0000000000304790 ___movmemSI32 + 0x0000000000304790 ___movstrSI32 + 0x0000000000304794 ___movmemSI28 + 0x0000000000304794 ___movstrSI28 + 0x0000000000304798 ___movstrSI24 + 0x0000000000304798 ___movmemSI24 + 0x000000000030479c ___movmemSI20 + 0x000000000030479c ___movstrSI20 + 0x00000000003047a0 ___movstrSI16 + 0x00000000003047a0 ___movmemSI16 + 0x00000000003047a4 ___movmemSI12 + 0x00000000003047a4 ___movstrSI12 + 0x00000000003047a8 ___movmemSI8 + 0x00000000003047a8 ___movstrSI8 + 0x00000000003047ac ___movmemSI4 + 0x00000000003047ac ___movstrSI4 + .text 0x00000000003047b4 0x1f0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_udivdi3.o) + 0x00000000003047b4 ___udivdi3 + .text 0x00000000003049a4 0x234 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_umoddi3.o) + 0x00000000003049a4 ___umoddi3 + .text 0x0000000000304bd8 0x6c /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_udivsi3.o) + 0x0000000000304bfa ___udivsi3 + *fill* 0x0000000000304c44 0x4 + .text 0x0000000000304c48 0x60 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_udiv_qrnnd_16.o) + 0x0000000000304c48 ___udiv_qrnnd_16 + .text 0x0000000000304ca8 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_clz.o) *(C P) -.gint.blocks 0x0000000000304460 0x120 +.gint.blocks 0x0000000000304cb0 0x120 *(.gint.blocks) - .gint.blocks 0x0000000000304460 0x40 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(inth.S.o) - 0x0000000000304460 _gint_inth_7305 - 0x0000000000304480 _gint_inth_7705 - .gint.blocks 0x00000000003044a0 0xe0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(inth.s.o) - 0x00000000003044a0 _inth_tmu - 0x0000000000304520 _inth_etmu2 - 0x0000000000304540 _inth_etmu_help - 0x0000000000304560 _inth_etmux + .gint.blocks 0x0000000000304cb0 0x40 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(inth.S.o) + 0x0000000000304cb0 _gint_inth_7305 + 0x0000000000304cd0 _gint_inth_7705 + .gint.blocks 0x0000000000304cf0 0xe0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(inth.s.o) + 0x0000000000304cf0 _inth_tmu + 0x0000000000304d70 _inth_etmu2 + 0x0000000000304d90 _inth_etmu_help + 0x0000000000304db0 _inth_etmux -.gint.drivers 0x0000000000304580 0x90 - 0x0000000000304580 _bdrv = . +.gint.drivers 0x0000000000304dd0 0x90 + 0x0000000000304dd0 _bdrv = . *(.gint.drivers.0) *(.gint.drivers.1) .gint.drivers.1 - 0x0000000000304580 0x24 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(cpg.c.o) - 0x0000000000304580 _drv_cpg + 0x0000000000304dd0 0x24 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(cpg.c.o) + 0x0000000000304dd0 _drv_cpg *(.gint.drivers.2) .gint.drivers.2 - 0x00000000003045a4 0x24 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(tmu.c.o) - 0x00000000003045a4 _drv_tmu + 0x0000000000304df4 0x24 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(tmu.c.o) + 0x0000000000304df4 _drv_tmu *(.gint.drivers.3) *(.gint.drivers.4) .gint.drivers.4 - 0x00000000003045c8 0x24 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(keysc.c.o) - 0x00000000003045c8 _drv_keysc + 0x0000000000304e18 0x24 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(keysc.c.o) + 0x0000000000304e18 _drv_keysc *(.gint.drivers.5) .gint.drivers.5 - 0x00000000003045ec 0x24 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(t6k11.c.o) - 0x00000000003045ec _drv_t6k11 + 0x0000000000304e3c 0x24 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(t6k11.c.o) + 0x0000000000304e3c _drv_t6k11 *(.gint.drivers.6) - 0x0000000000304610 _edrv = . + 0x0000000000304e60 _edrv = . -.rodata 0x0000000000304610 0x1a74 +.rodata 0x0000000000304e60 0x28c4 *(.rodata.4) *(.rodata .rodata.*) - .rodata 0x0000000000304610 0x64 build-fx/assets/img/mario.png.o - 0x0000000000304610 _img_mario - 0x0000000000304674 _img_mario_end - .rodata 0x0000000000304674 0x404 build-fx/assets/img/main.png.o - 0x0000000000304674 _img_main - 0x0000000000304a78 _img_main_end - .rodata 0x0000000000304a78 0x4c build-fx/assets/img/brick.png.o - 0x0000000000304a78 _img_brick - 0x0000000000304ac4 _img_brick_end - .rodata 0x0000000000304ac4 0x84 build-fx/assets/img/menu_pause.png.o - 0x0000000000304ac4 _img_menu_pause - 0x0000000000304b48 _img_menu_pause_end - .rodata 0x0000000000304b48 0x18 build-fx/assets/img/select_arrow.png.o - 0x0000000000304b48 _img_select_arrow - 0x0000000000304b60 _img_select_arrow_end - .rodata 0x0000000000304b60 0x24 build-fx/assets/img/death.png.o - 0x0000000000304b60 _img_death - 0x0000000000304b84 _img_death_end - .rodata 0x0000000000304b84 0x4c build-fx/assets/img/coin.png.o - 0x0000000000304b84 _img_coin - 0x0000000000304bd0 _img_coin_end - .rodata 0x0000000000304bd0 0xdc build-fx/assets/img/mariosmall.png.o - 0x0000000000304bd0 _img_mariosmall - 0x0000000000304cac _img_mariosmall_end - .rodata 0x0000000000304cac 0x28 build-fx/assets/img/gift.png.o - 0x0000000000304cac _img_gift - 0x0000000000304cd4 _img_gift_end - .rodata 0x0000000000304cd4 0x404 build-fx/assets/img/error.png.o - 0x0000000000304cd4 _img_error - 0x00000000003050d8 _img_error_end - .rodata 0x00000000003050d8 0xb8 build-fx/assets/img/tuyau.png.o - 0x00000000003050d8 _img_tuyau - 0x0000000000305190 _img_tuyau_end - .rodata 0x0000000000305190 0x404 build-fx/assets/img/level.png.o - 0x0000000000305190 _img_level - 0x0000000000305594 _img_level_end - .rodata 0x0000000000305594 0x4c build-fx/assets/img/stone.png.o - 0x0000000000305594 _img_stone - 0x00000000003055e0 _img_stone_end - .rodata 0x00000000003055e0 0x404 build-fx/assets/img/lvl0.png.o - 0x00000000003055e0 _img_lvl0 - 0x00000000003059e4 _img_lvl0_end - .rodata 0x00000000003059e4 0x8 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dimage.c.o) .rodata.str1.4 - 0x00000000003059ec 0x6 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(keysc.c.o) - *fill* 0x00000000003059f2 0x2 + 0x0000000000304e60 0x1e build-fx/src/score.c.o .rodata.str1.4 - 0x00000000003059f4 0x11a /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(exch.c.o) + 0x0000000000304e7e 0x3 build-fx/src/main.c.o + *fill* 0x0000000000304e7e 0x2 + .rodata 0x0000000000304e80 0x204 build-fx/assets/fonts/mario.png.o + 0x0000000000304e80 _font_mario + 0x0000000000305084 _font_mario_end + .rodata 0x0000000000305084 0x20 build-fx/assets/img/bonus.png.o + 0x0000000000305084 _img_bonus + 0x00000000003050a4 _img_bonus_end + .rodata 0x00000000003050a4 0x404 build-fx/assets/img/ram.png.o + 0x00000000003050a4 _img_ram + 0x00000000003054a8 _img_ram_end + .rodata 0x00000000003054a8 0x64 build-fx/assets/img/mario.png.o + 0x00000000003054a8 _img_mario + 0x000000000030550c _img_mario_end + .rodata 0x000000000030550c 0x404 build-fx/assets/img/main.png.o + 0x000000000030550c _img_main + 0x0000000000305910 _img_main_end + .rodata 0x0000000000305910 0x4c build-fx/assets/img/brick.png.o + 0x0000000000305910 _img_brick + 0x000000000030595c _img_brick_end + .rodata 0x000000000030595c 0x84 build-fx/assets/img/menu_pause.png.o + 0x000000000030595c _img_menu_pause + 0x00000000003059e0 _img_menu_pause_end + .rodata 0x00000000003059e0 0x18 build-fx/assets/img/select_arrow.png.o + 0x00000000003059e0 _img_select_arrow + 0x00000000003059f8 _img_select_arrow_end + .rodata 0x00000000003059f8 0x404 build-fx/assets/img/new_level.png.o + 0x00000000003059f8 _img_new_level + 0x0000000000305dfc _img_new_level_end + .rodata 0x0000000000305dfc 0x24 build-fx/assets/img/death.png.o + 0x0000000000305dfc _img_death + 0x0000000000305e20 _img_death_end + .rodata 0x0000000000305e20 0x404 build-fx/assets/img/time_over.png.o + 0x0000000000305e20 _img_time_over + 0x0000000000306224 _img_time_over_end + .rodata 0x0000000000306224 0x4c build-fx/assets/img/coin.png.o + 0x0000000000306224 _img_coin + 0x0000000000306270 _img_coin_end + .rodata 0x0000000000306270 0xdc build-fx/assets/img/mariosmall.png.o + 0x0000000000306270 _img_mariosmall + 0x000000000030634c _img_mariosmall_end + .rodata 0x000000000030634c 0x28 build-fx/assets/img/gift.png.o + 0x000000000030634c _img_gift + 0x0000000000306374 _img_gift_end + .rodata 0x0000000000306374 0x404 build-fx/assets/img/error.png.o + 0x0000000000306374 _img_error + 0x0000000000306778 _img_error_end + .rodata 0x0000000000306778 0xb8 build-fx/assets/img/tuyau.png.o + 0x0000000000306778 _img_tuyau + 0x0000000000306830 _img_tuyau_end + .rodata 0x0000000000306830 0x404 build-fx/assets/img/level.png.o + 0x0000000000306830 _img_level + 0x0000000000306c34 _img_level_end + .rodata 0x0000000000306c34 0x4c build-fx/assets/img/stone.png.o + 0x0000000000306c34 _img_stone + 0x0000000000306c80 _img_stone_end + .rodata 0x0000000000306c80 0x404 build-fx/assets/img/lvl0.png.o + 0x0000000000306c80 _img_lvl0 + 0x0000000000307084 _img_lvl0_end + .rodata.str1.4 + 0x0000000000307084 0x31 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(stdio.c.o) + *fill* 0x00000000003070b5 0x3 + .rodata 0x00000000003070b8 0x8 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dimage.c.o) + .rodata.str1.4 + 0x00000000003070c0 0x6 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(keysc.c.o) + *fill* 0x00000000003070c6 0x2 + .rodata.str1.4 + 0x00000000003070c8 0x11a /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(exch.c.o) 0x11e (size before relaxing) - *fill* 0x0000000000305b0e 0x2 - .rodata 0x0000000000305b10 0x18 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(topti.c.o) + *fill* 0x00000000003071e2 0x2 + .rodata 0x00000000003071e4 0x18 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(topti.c.o) .rodata.str1.4 - 0x0000000000305b28 0x4 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(tmu.c.o) + 0x00000000003071fc 0x4 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(tmu.c.o) + .rodata 0x0000000000307200 0x408 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(font5x7.png.o) + 0x0000000000307200 _gint_font5x7 + 0x0000000000307608 _gint_font5x7_end .rodata.str1.4 - 0x0000000000305b2c 0x31 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(stdio.c.o) - *fill* 0x0000000000305b5d 0x3 + 0x0000000000307608 0x6 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(t6k11.c.o) + *fill* 0x000000000030760e 0x2 .rodata.str1.4 - 0x0000000000305b60 0x6 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(t6k11.c.o) - *fill* 0x0000000000305b66 0x2 - .rodata.str1.4 - 0x0000000000305b68 0x4 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(cpg.c.o) - .rodata 0x0000000000305b6c 0x10 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(bopti.c.o) - .rodata 0x0000000000305b7c 0x408 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(font5x7.png.o) - 0x0000000000305b7c _gint_font5x7 - 0x0000000000305f84 _gint_font5x7_end - .rodata 0x0000000000305f84 0x100 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_clz.o) - 0x0000000000305f84 ___clz_tab + 0x0000000000307610 0x4 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(cpg.c.o) + .rodata 0x0000000000307614 0x10 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(bopti.c.o) + .rodata 0x0000000000307624 0x100 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_clz.o) + 0x0000000000307624 ___clz_tab -.rela.dyn 0x0000000000306084 0x0 +.rela.dyn 0x0000000000307724 0x0 + .rela.text 0x0000000000307724 0x0 build-fx/src/score.c.o + .rela.text.startup + 0x0000000000307724 0x0 build-fx/src/score.c.o .rela.pretext.entry - 0x0000000000306084 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(start.c.o) - .rela.text 0x0000000000306084 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(start.c.o) + 0x0000000000307724 0x0 build-fx/src/score.c.o 0x0000000008100000 . = ORIGIN (ram) -.bss 0x0000000008100000 0x590 +.bss 0x0000000008100000 0x5b0 0x0000000008100000 _rbss = . *(.bss COMMON) .bss 0x0000000008100000 0x0 build-fx/src/level.c.o - .bss 0x0000000008100000 0x0 build-fx/src/tile.c.o - .bss 0x0000000008100000 0x0 build-fx/src/box.c.o - .bss 0x0000000008100000 0x18 build-fx/src/world.c.o - 0x0000000008100000 _w_mario_starty - 0x0000000008100004 _w_mario_startx - 0x0000000008100008 _w_current_y - 0x000000000810000c _w_current_x - 0x0000000008100010 _w_fond - 0x0000000008100014 _w_current - .bss 0x0000000008100018 0x14 build-fx/src/mario.c.o - 0x0000000008100018 _global_quit - 0x000000000810001c _mario_dead - 0x0000000008100020 _mario_time_accel - 0x0000000008100024 _mario_x_max - 0x0000000008100028 _numero_frame - .bss 0x000000000810002c 0x0 build-fx/src/main.c.o - .bss 0x000000000810002c 0x18 build-fx/src/keyboard.c.o - 0x000000000810002c _keys - .bss 0x0000000008100044 0x400 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dupdate.c.o) - .bss 0x0000000008100444 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dimage.c.o) - .bss 0x0000000008100444 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dclear.c.o) - .bss 0x0000000008100444 0x24 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(keysc.c.o) - .bss 0x0000000008100468 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(iokbd.c.o) - .bss 0x0000000008100468 0xc /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(getkey.c.o) - .bss 0x0000000008100474 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(start.c.o) - .bss 0x0000000008100474 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(exch.c.o) - .bss 0x0000000008100474 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(setup.c.o) - .bss 0x0000000008100474 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(hardware.c.o) - .bss 0x0000000008100474 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(exch.s.o) - .bss 0x0000000008100474 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(mmu.c.o) - .bss 0x0000000008100474 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(topti.c.o) - .bss 0x0000000008100474 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dprint.c.o) - .bss 0x0000000008100474 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(tmu.c.o) - .bss 0x0000000008100474 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(sleep.c.o) - .bss 0x0000000008100474 0x114 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(stdio.c.o) - .bss 0x0000000008100588 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(memory.c.o) - .bss 0x0000000008100588 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(t6k11.c.o) - .bss 0x0000000008100588 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(cpg.c.o) - .bss 0x0000000008100588 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dtext.c.o) - .bss 0x0000000008100588 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(bopti-asm.s.o) - .bss 0x0000000008100588 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(topti.c.o) - .bss 0x0000000008100588 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(bopti.c.o) - .bss 0x0000000008100588 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(masks.c.o) - .bss 0x0000000008100588 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(vbr.s.o) - .bss 0x0000000008100588 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(syscalls.S.o) - .bss 0x0000000008100588 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(gint.c.o) - .bss 0x0000000008100588 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(inth.S.o) - .bss 0x0000000008100588 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(inth.s.o) - .bss 0x0000000008100588 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(topti-asm.s.o) - .bss 0x0000000008100588 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_movmem.o) - .bss 0x0000000008100588 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_udivdi3.o) - .bss 0x0000000008100588 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_umoddi3.o) - .bss 0x0000000008100588 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_udivsi3.o) - .bss 0x0000000008100588 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_udiv_qrnnd_16.o) - .bss 0x0000000008100588 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_clz.o) + .bss 0x0000000008100000 0x14 build-fx/src/score.c.o + 0x0000000008100000 _time_left + 0x0000000008100004 _time_id + 0x0000000008100008 _pieces + 0x000000000810000c _combo + 0x0000000008100010 _score + .bss 0x0000000008100014 0x0 build-fx/src/tile.c.o + .bss 0x0000000008100014 0x0 build-fx/src/box.c.o + .bss 0x0000000008100014 0x18 build-fx/src/world.c.o + 0x0000000008100014 _w_mario_starty + 0x0000000008100018 _w_mario_startx + 0x000000000810001c _w_current_y + 0x0000000008100020 _w_current_x + 0x0000000008100024 _w_fond + 0x0000000008100028 _w_current + .bss 0x000000000810002c 0x1c build-fx/src/mario.c.o + 0x000000000810002c _global_quit + 0x0000000008100030 _last_bonus + 0x0000000008100034 _mario_coins + 0x0000000008100038 _mario_dead + 0x000000000810003c _mario_time_accel + 0x0000000008100040 _mario_x_max + 0x0000000008100044 _id_frame + .bss 0x0000000008100048 0x0 build-fx/src/main.c.o + .bss 0x0000000008100048 0x18 build-fx/src/keyboard.c.o + 0x0000000008100048 _keys + .bss 0x0000000008100060 0x114 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(stdio.c.o) + .bss 0x0000000008100174 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(memory.c.o) + .bss 0x0000000008100174 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dtext.c.o) + .bss 0x0000000008100174 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(topti.c.o) + .bss 0x0000000008100174 0x400 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dupdate.c.o) + .bss 0x0000000008100574 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dimage.c.o) + .bss 0x0000000008100574 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dclear.c.o) + .bss 0x0000000008100574 0x24 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(keysc.c.o) + .bss 0x0000000008100598 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(iokbd.c.o) + .bss 0x0000000008100598 0xc /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(getkey.c.o) + .bss 0x00000000081005a4 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(start.c.o) + .bss 0x00000000081005a4 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(exch.c.o) + .bss 0x00000000081005a4 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(syscalls.S.o) + .bss 0x00000000081005a4 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(setup.c.o) + .bss 0x00000000081005a4 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(hardware.c.o) + .bss 0x00000000081005a4 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(exch.s.o) + .bss 0x00000000081005a4 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(mmu.c.o) + .bss 0x00000000081005a4 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(topti.c.o) + .bss 0x00000000081005a4 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dprint.c.o) + .bss 0x00000000081005a4 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(tmu.c.o) + .bss 0x00000000081005a4 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(sleep.c.o) + .bss 0x00000000081005a4 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(t6k11.c.o) + .bss 0x00000000081005a4 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(cpg.c.o) + .bss 0x00000000081005a4 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(topti-asm.s.o) + .bss 0x00000000081005a4 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(bopti-asm.s.o) + .bss 0x00000000081005a4 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(bopti.c.o) + .bss 0x00000000081005a4 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(masks.c.o) + .bss 0x00000000081005a4 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(vbr.s.o) + .bss 0x00000000081005a4 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(gint.c.o) + .bss 0x00000000081005a4 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(inth.S.o) + .bss 0x00000000081005a4 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(inth.s.o) + .bss 0x00000000081005a4 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_movmem.o) + .bss 0x00000000081005a4 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_udivdi3.o) + .bss 0x00000000081005a4 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_umoddi3.o) + .bss 0x00000000081005a4 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_udivsi3.o) + .bss 0x00000000081005a4 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_udiv_qrnnd_16.o) + .bss 0x00000000081005a4 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_clz.o) *(B R) - 0x0000000008100590 . = ALIGN (0x10) - *fill* 0x0000000008100588 0x8 - 0x0000000000000590 _sbss = SIZEOF (.bss) + 0x00000000081005b0 . = ALIGN (0x10) + *fill* 0x00000000081005a4 0xc + 0x00000000000005b0 _sbss = SIZEOF (.bss) -.data 0x0000000008100590 0x290 load address 0x0000000000306084 - 0x0000000000306084 _ldata = LOADADDR (.data) - 0x0000000008100590 _rdata = . +.data 0x00000000081005b0 0x120 load address 0x0000000000307724 + 0x0000000000307724 _ldata = LOADADDR (.data) + 0x00000000081005b0 _rdata = . *(.data .data.*) - .data 0x0000000008100590 0x180 build-fx/src/level.c.o - 0x0000000008100590 _level_0 - .data 0x0000000008100710 0x50 build-fx/src/tile.c.o - 0x0000000008100710 _coin - 0x0000000008100720 _gift - 0x0000000008100730 _earth - 0x0000000008100740 _brick - 0x0000000008100750 _tuyau - .data 0x0000000008100760 0x0 build-fx/src/box.c.o - .data 0x0000000008100760 0x0 build-fx/src/world.c.o - .data 0x0000000008100760 0x3c build-fx/src/mario.c.o - 0x0000000008100760 _mario - 0x000000000810078c _mario_small - .data 0x000000000810079c 0x0 build-fx/src/main.c.o - .data 0x000000000810079c 0x0 build-fx/src/keyboard.c.o - .data 0x000000000810079c 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dupdate.c.o) - .data 0x000000000810079c 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dimage.c.o) - .data 0x000000000810079c 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dclear.c.o) - .data 0x000000000810079c 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(keysc.c.o) - .data 0x000000000810079c 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(iokbd.c.o) - .data 0x000000000810079c 0x8 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(getkey.c.o) - .data 0x00000000081007a4 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(start.c.o) - .data 0x00000000081007a4 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(exch.c.o) - .data 0x00000000081007a4 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(setup.c.o) - .data 0x00000000081007a4 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(hardware.c.o) - .data 0x00000000081007a4 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(exch.s.o) - .data 0x00000000081007a4 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(mmu.c.o) - .data 0x00000000081007a4 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(topti.c.o) - .data 0x00000000081007a4 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dprint.c.o) - .data 0x00000000081007a4 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(tmu.c.o) - .data 0x00000000081007a4 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(sleep.c.o) - .data 0x00000000081007a4 0x68 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(stdio.c.o) - 0x00000000081007a4 _kprint_formatters - .data 0x000000000810080c 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(memory.c.o) - .data 0x000000000810080c 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(t6k11.c.o) - .data 0x000000000810080c 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(cpg.c.o) - .data 0x000000000810080c 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dtext.c.o) - .data 0x000000000810080c 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(bopti-asm.s.o) - .data 0x000000000810080c 0x8 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(topti.c.o) - 0x000000000810080c _topti_font - 0x0000000008100810 _gint_default_font - .data 0x0000000008100814 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(bopti.c.o) - .data 0x0000000008100814 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(masks.c.o) - .data 0x0000000008100814 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(vbr.s.o) - .data 0x0000000008100814 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(syscalls.S.o) - .data 0x0000000008100814 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(gint.c.o) - .data 0x0000000008100814 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(inth.S.o) - .data 0x0000000008100814 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(inth.s.o) - .data 0x0000000008100814 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(topti-asm.s.o) - .data 0x0000000008100814 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_movmem.o) - .data 0x0000000008100814 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_udivdi3.o) - .data 0x0000000008100814 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_umoddi3.o) - .data 0x0000000008100814 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_udivsi3.o) - .data 0x0000000008100814 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_udiv_qrnnd_16.o) - .data 0x0000000008100814 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_clz.o) + .data 0x00000000081005b0 0x0 build-fx/src/level.c.o + .data 0x00000000081005b0 0xc build-fx/src/score.c.o + 0x00000000081005b0 _end_level + 0x00000000081005b4 _combo_id + 0x00000000081005b8 _lifes + .data 0x00000000081005bc 0x50 build-fx/src/tile.c.o + 0x00000000081005bc _coin + 0x00000000081005cc _gift + 0x00000000081005dc _earth + 0x00000000081005ec _brick + 0x00000000081005fc _tuyau + .data 0x000000000810060c 0x0 build-fx/src/box.c.o + .data 0x000000000810060c 0x0 build-fx/src/world.c.o + .data 0x000000000810060c 0x40 build-fx/src/mario.c.o + 0x000000000810060c _last_vx_sign + 0x0000000008100610 _mario + 0x000000000810063c _mario_small + .data 0x000000000810064c 0x0 build-fx/src/main.c.o + .data 0x000000000810064c 0x0 build-fx/src/keyboard.c.o + .data 0x000000000810064c 0x68 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(stdio.c.o) + 0x000000000810064c _kprint_formatters + .data 0x00000000081006b4 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(memory.c.o) + .data 0x00000000081006b4 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dtext.c.o) + .data 0x00000000081006b4 0x8 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(topti.c.o) + 0x00000000081006b4 _topti_font + 0x00000000081006b8 _gint_default_font + .data 0x00000000081006bc 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dupdate.c.o) + .data 0x00000000081006bc 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dimage.c.o) + .data 0x00000000081006bc 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dclear.c.o) + .data 0x00000000081006bc 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(keysc.c.o) + .data 0x00000000081006bc 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(iokbd.c.o) + .data 0x00000000081006bc 0x8 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(getkey.c.o) + .data 0x00000000081006c4 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(start.c.o) + .data 0x00000000081006c4 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(exch.c.o) + .data 0x00000000081006c4 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(syscalls.S.o) + .data 0x00000000081006c4 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(setup.c.o) + .data 0x00000000081006c4 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(hardware.c.o) + .data 0x00000000081006c4 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(exch.s.o) + .data 0x00000000081006c4 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(mmu.c.o) + .data 0x00000000081006c4 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(topti.c.o) + .data 0x00000000081006c4 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dprint.c.o) + .data 0x00000000081006c4 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(tmu.c.o) + .data 0x00000000081006c4 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(sleep.c.o) + .data 0x00000000081006c4 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(t6k11.c.o) + .data 0x00000000081006c4 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(cpg.c.o) + .data 0x00000000081006c4 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(topti-asm.s.o) + .data 0x00000000081006c4 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(bopti-asm.s.o) + .data 0x00000000081006c4 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(bopti.c.o) + .data 0x00000000081006c4 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(masks.c.o) + .data 0x00000000081006c4 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(vbr.s.o) + .data 0x00000000081006c4 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(gint.c.o) + .data 0x00000000081006c4 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(inth.S.o) + .data 0x00000000081006c4 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(inth.s.o) + .data 0x00000000081006c4 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_movmem.o) + .data 0x00000000081006c4 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_udivdi3.o) + .data 0x00000000081006c4 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_umoddi3.o) + .data 0x00000000081006c4 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_udivsi3.o) + .data 0x00000000081006c4 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_udiv_qrnnd_16.o) + .data 0x00000000081006c4 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_clz.o) *(D) - 0x0000000008100820 . = ALIGN (0x10) - *fill* 0x0000000008100814 0xc + 0x00000000081006d0 . = ALIGN (0x10) + *fill* 0x00000000081006c4 0xc -.data.4 0x0000000008100820 0x0 load address 0x0000000000306314 +.data.4 0x00000000081006d0 0x0 load address 0x0000000000307844 *(.data.4) - 0x0000000008100820 . = ALIGN (0x10) - 0x0000000000000290 _sdata = (SIZEOF (.data) + SIZEOF (.data.4)) + 0x00000000081006d0 . = ALIGN (0x10) + 0x0000000000000120 _sdata = (SIZEOF (.data) + SIZEOF (.data.4)) 0x00000000e5200000 . = ORIGIN (ilram) -.ilram 0x00000000e5200000 0x0 load address 0x0000000000306314 - 0x0000000000306314 _lilram = LOADADDR (.ilram) +.ilram 0x00000000e5200000 0x0 load address 0x0000000000307844 + 0x0000000000307844 _lilram = LOADADDR (.ilram) 0x00000000e5200000 _rilram = . *(.ilram) 0x00000000e5200000 . = ALIGN (0x10) 0x00000000e5007000 . = ORIGIN (xram) -.xram 0x00000000e5007000 0x0 load address 0x0000000000306314 - 0x0000000000306314 _lxram = LOADADDR (.xram) +.xram 0x00000000e5007000 0x0 load address 0x0000000000307844 + 0x0000000000307844 _lxram = LOADADDR (.xram) 0x00000000e5007000 _rxram = . *(.xram) 0x00000000e5007000 . = ALIGN (0x10) 0x00000000e5017000 . = ORIGIN (yram) -.yram 0x00000000e5017000 0x0 load address 0x0000000000306314 - 0x0000000000306314 _lyram = LOADADDR (.yram) +.yram 0x00000000e5017000 0x0 load address 0x0000000000307844 + 0x0000000000307844 _lyram = LOADADDR (.yram) 0x00000000e5017000 _ryram = . *(.yram) 0x00000000e5017000 . = ALIGN (0x10) @@ -665,8 +715,8 @@ LOAD /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a 0x000000008800df00 _gint_vbr = 0x8800df00 0x000000008800f400 . = ORIGIN (rram) -.gint.data 0x000000008800f400 0x140 load address 0x0000000000306314 - 0x0000000000306314 _lgdata = LOADADDR (.gint.data) +.gint.data 0x000000008800f400 0x140 load address 0x0000000000307844 + 0x0000000000307844 _lgdata = LOADADDR (.gint.data) 0x000000008800f400 _rgdata = . *(.gint.data .gint.data.*) .gint.data 0x000000008800f400 0x4 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dupdate.c.o) @@ -687,7 +737,7 @@ LOAD /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a 0x000000008800f540 . = ALIGN (0x10) 0x0000000000000140 _sgdata = SIZEOF (.gint.data) -.gint.bss 0x000000008800f540 0x290 load address 0x0000000000306454 +.gint.bss 0x000000008800f540 0x290 load address 0x0000000000307984 *(.gint.bss .gint.bss.*) .gint.bss 0x000000008800f540 0x180 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(keysc.c.o) .gint.bss 0x000000008800f6c0 0x1c /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(setup.c.o) diff --git a/build-fx/src/keyboard.c.o b/build-fx/src/keyboard.c.o index 9404417..849e490 100644 Binary files a/build-fx/src/keyboard.c.o and b/build-fx/src/keyboard.c.o differ diff --git a/build-fx/src/level.c.d b/build-fx/src/level.c.d index 8aeff2d..743064d 100644 --- a/build-fx/src/level.c.d +++ b/build-fx/src/level.c.d @@ -1,5 +1,5 @@ build-fx/src/level.c.o: src/level.c src/level.h src/world.h src/mario.h \ - src/box.h + src/box.h src/score.h src/level.h: @@ -8,3 +8,5 @@ src/world.h: src/mario.h: src/box.h: + +src/score.h: diff --git a/build-fx/src/level.c.o b/build-fx/src/level.c.o index d869f01..b08b347 100644 Binary files a/build-fx/src/level.c.o and b/build-fx/src/level.c.o differ diff --git a/build-fx/src/main.c.d b/build-fx/src/main.c.d index afcdc5e..51c93d3 100644 --- a/build-fx/src/main.c.d +++ b/build-fx/src/main.c.d @@ -1,5 +1,5 @@ build-fx/src/main.c.o: src/main.c src/world.h src/mario.h src/box.h \ - src/level.h + src/level.h src/score.h src/world.h: @@ -8,3 +8,5 @@ src/mario.h: src/box.h: src/level.h: + +src/score.h: diff --git a/build-fx/src/main.c.o b/build-fx/src/main.c.o index bb4cef1..29be9f2 100644 Binary files a/build-fx/src/main.c.o and b/build-fx/src/main.c.o differ diff --git a/build-fx/src/mario.c.d b/build-fx/src/mario.c.d index 08f39d0..80da69a 100644 --- a/build-fx/src/mario.c.d +++ b/build-fx/src/mario.c.d @@ -1,5 +1,5 @@ build-fx/src/mario.c.o: src/mario.c src/mario.h src/box.h src/tile.h \ - src/world.h src/keyboard.h + src/world.h src/keyboard.h src/score.h src/mario.h: @@ -10,3 +10,5 @@ src/tile.h: src/world.h: src/keyboard.h: + +src/score.h: diff --git a/build-fx/src/mario.c.o b/build-fx/src/mario.c.o index fa9a88f..86ffd6c 100644 Binary files a/build-fx/src/mario.c.o and b/build-fx/src/mario.c.o differ diff --git a/build-fx/src/score.c.d b/build-fx/src/score.c.d new file mode 100644 index 0000000..1679e51 --- /dev/null +++ b/build-fx/src/score.c.d @@ -0,0 +1,7 @@ +build-fx/src/score.c.o: src/score.c src/score.h src/mario.h src/box.h + +src/score.h: + +src/mario.h: + +src/box.h: diff --git a/build-fx/src/score.c.o b/build-fx/src/score.c.o new file mode 100644 index 0000000..102d9c3 Binary files /dev/null and b/build-fx/src/score.c.o differ diff --git a/project.cfg b/project.cfg index 3a3d7bb..0c38e95 100644 --- a/project.cfg +++ b/project.cfg @@ -82,3 +82,4 @@ LDFLAGS_CG += -Wl,-Map=build-cg/map # font name "hexa.png", you might write: # # FONT.hexa.png = charset:print grid:size:3x5 grid.padding:1 +FONT.mario.png = charset:print grid.size:5x5 grid.padding:1 proportional:true \ No newline at end of file diff --git a/src/box.h b/src/box.h index abfa177..2f97fde 100755 --- a/src/box.h +++ b/src/box.h @@ -13,6 +13,7 @@ typedef struct int vy; int gravity; + //int is_mario; } box_t; int box_move(box_t * b); diff --git a/src/keyboard.c b/src/keyboard.c index 884ad67..905f5b6 100755 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -3,6 +3,7 @@ #include #include #include +#include mkey_t keys[6]={0}; @@ -41,6 +42,7 @@ int menu_pause() // 1 exit, 0 continue dimage(x,y,&img_menu_pause); dimage(x+2, y+2+7*choice, &img_select_arrow); dupdate(); + sleep_ms(3,1); } } @@ -49,6 +51,8 @@ void update_keyboard() key_event_t e; e=pollevent(); int menu=0; + for (int i=0; i<6; i++) + if (keys[i]==2) keys[i]=1; while(e.type!=KEYEV_NONE) { mkey_t k = MK_NONE; @@ -78,7 +82,7 @@ void update_keyboard() { if (e.type==KEYEV_DOWN) { - keys[k]=1; + keys[k]=2; } if (e.type==KEYEV_UP) { diff --git a/src/level.c b/src/level.c index 7f8d8be..4e6a4db 100644 --- a/src/level.c +++ b/src/level.c @@ -1,41 +1,100 @@ #include "level.h" #include "world.h" #include "mario.h" +#include "score.h" #include +#include +#include +#include +#include -world_t level_0[]= +void malloc_error() { - {EARTH,0,0,0}, {0,0,0,0}, {0,0,0,0}, {0,0,0,0}, {0,0,0,0}, {0,0,0,0}, {0,0,0,0}, {0,0,0,0}, - {EARTH,1,0,0}, {TUYAU, 0, 3, 0}, {TUYAU, 0, 2, 0}, {0,0,0,0}, {0,0,0,0}, {0,0,0,0}, {0,0,0,0}, {0,0,0,0}, - {EARTH,1,0,0}, {TUYAU, 1, 3, 0}, {TUYAU, 1, 2, 0}, {0,0,0,0}, {0,0,0,0}, {0,0,0,0}, {0,0,0,0}, {0,0,0,0}, - {EARTH,1,1,0}, {EARTH,0,0,0}, {0,0,0,0}, {0,0,0,0}, {0,0,0,0}, {BRICK,0,0,0}, {0,0,0,0}, {0,0,0,0}, - {EARTH,1,1,0}, {EARTH,1,0,0}, {0,0,0,0}, {0,0,0,0}, {0,0,0,0}, {GIFT,0,0,0}, {COIN,0,0,0}, {COIN,0,0,0}, - {EARTH,1,1,0}, {EARTH,2,0,0}, {0,0,0,0}, {0,0,0,0}, {0,0,0,0}, {BRICK,0,0,0}, {0,0,0,0}, {0,0,0,0}, - {EARTH,1,0,0}, {0,0,0,0}, {0,0,0,0}, {0,0,0,0}, {0,0,0,0}, {0,0,0,0}, {0,0,0,0}, {0,0,0,0}, - {EARTH,1,0,0}, {0,0,0,0}, {0,0,0,0}, {0,0,0,0}, {0,0,0,0}, {0,0,0,0}, {0,0,0,0}, {0,0,0,0}, - {EARTH,1,0,0}, {0,0,0,0}, {0,0,0,0}, {0,0,0,0}, {0,0,0,0}, {0,0,0,0}, {0,0,0,0}, {0,0,0,0}, - {EARTH,1,0,0}, {0,0,0,0}, {0,0,0,0}, {0,0,0,0}, {0,0,0,0}, {0,0,0,0}, {0,0,0,0}, {0,0,0,0}, - {EARTH,1,0,0}, {0,0,0,0}, {0,0,0,0}, {0,0,0,0}, {0,0,0,0}, {0,0,0,0}, {0,0,0,0}, {0,0,0,0}, - {EARTH,2,0,0}, {0,0,0,0}, {0,0,0,0}, {0,0,0,0}, {0,0,0,0}, {0,0,0,0}, {0,0,0,0}, {0,0,0,0} -}; -extern image_t img_lvl0; -#define LVL_0_X 12 -#define LVL_0_Y 8 -#define LVL_0_MARIOX 11 -#define LVL_0_MARIOY 16 + extern image_t img_ram; + timer_stop(0); + dimage(0,0,&img_ram); + dupdate(); + while (1) + getkey(); +} + + +void init_level(world_t * lvl) +{ + mario.p.vx=0; + mario.p.vy=0; + if (w_current) + { + free(w_current); + } + int size=sizeof(int)*w_current_y*w_current_x; + w_current=malloc(size); + if (w_current==0) + malloc_error(); + + memcpy(w_current, lvl, size); +} void set_level(int n) { + new_level(); + world_t * lvl=0; if (n==0) { - w_current=&level_0; + world_t level_0[]= + { + {EARTH,0,0,0}, {0,0,0,0}, {0,0,0,0}, {0,0,0,0}, {0,0,0,0}, {0,0,0,0}, {0,0,0,0}, {0,0,0,0}, + {EARTH,1,0,0}, {TUYAU, 0, 3, 0}, {TUYAU, 0, 2, 0}, {0,0,0,0}, {0,0,0,0}, {0,0,0,0}, {0,0,0,0}, {0,0,0,0}, + {EARTH,1,0,0}, {TUYAU, 1, 3, 0}, {TUYAU, 1, 2, 0}, {0,0,0,0}, {0,0,0,0}, {0,0,0,0}, {0,0,0,0}, {0,0,0,0}, + {EARTH,1,1,0}, {EARTH,0,0,0}, {0,0,0,0}, {0,0,0,0}, {0,0,0,0}, {BRICK,0,0,0}, {0,0,0,0}, {COIN,0,0,0}, + {EARTH,1,1,0}, {EARTH,1,0,0}, {0,0,0,0}, {0,0,0,0}, {0,0,0,0}, {GIFT,0,0,0}, {0,0,0,0}, {COIN,0,0,0}, + {EARTH,1,1,0}, {EARTH,1,0,0}, {0,0,0,0}, {0,0,0,0}, {0,0,0,0}, {BRICK,0,0,0}, {0,0,0,0}, {COIN,0,0,0}, + {EARTH,1,1,0}, {EARTH,2,0,0}, {0,0,0,0}, {0,0,0,0}, {0,0,0,0}, {0,0,0,0}, {0,0,0,0}, {0,0,0,0}, + {EARTH,2,0,0}, {0,0,0,0}, {0,0,0,0}, {0,0,0,0}, {0,0,0,0}, {0,0,0,0}, {0,0,0,0}, {0,0,0,0}, + {0,0,0,0}, {0,0,0,0}, {0,0,0,0}, {0,0,0,0}, {0,0,0,0}, {0,0,0,0}, {0,0,0,0}, {0,0,0,0}, + {0,0,0,0}, {0,0,0,0}, {0,0,0,0}, {0,0,0,0}, {0,0,0,0}, {0,0,0,0}, {0,0,0,0}, {0,0,0,0}, + {0,0,0,0}, {0,0,0,0}, {0,0,0,0}, {0,0,0,0}, {0,0,0,0}, {0,0,0,0}, {0,0,0,0}, {0,0,0,0}, + {EARTH,0,0,0}, {0,0,0,0}, {0,0,0,0}, {0,0,0,0}, {0,0,0,0}, {0,0,0,0}, {0,0,0,0}, {0,0,0,0}, + {EARTH,1,0,0}, {TUYAU, 0, 3, 0}, {TUYAU, 0, 2, 0}, {0,0,0,0}, {0,0,0,0}, {0,0,0,0}, {0,0,0,0}, {0,0,0,0}, + {EARTH,1,0,0}, {TUYAU, 1, 3, 0}, {TUYAU, 1, 2, 0}, {0,0,0,0}, {0,0,0,0}, {0,0,0,0}, {0,0,0,0}, {0,0,0,0}, + {EARTH,1,0,0}, {TUYAU, 0, 3, 0}, {TUYAU, 0, 2, 0}, {0,0,0,0}, {0,0,0,0}, {0,0,0,0}, {0,0,0,0}, {0,0,0,0}, + {EARTH,1,0,0}, {TUYAU, 1, 3, 0}, {TUYAU, 1, 2, 0}, {0,0,0,0}, {0,0,0,0}, {0,0,0,0}, {0,0,0,0}, {0,0,0,0}, + {EARTH,1,1,0}, {EARTH,1,0,0}, {0,0,0,0}, {0,0,0,0}, {0,0,0,0}, {BRICK,0,0,0}, {0,0,0,0}, {COIN,0,0,0}, + {EARTH,1,1,0}, {EARTH,1,0,0}, {0,0,0,0}, {0,0,0,0}, {0,0,0,0}, {BRICK,0,0,0}, {0,0,0,0}, {COIN,0,0,0}, + {EARTH,1,1,0}, {EARTH,1,0,0}, {0,0,0,0}, {0,0,0,0}, {0,0,0,0}, {BRICK,0,0,0}, {0,0,0,0}, {COIN,0,0,0}, + {EARTH,1,1,0}, {EARTH,2,0,0}, {0,0,0,0}, {0,0,0,0}, {0,0,0,0}, {0,0,0,0}, {0,0,0,0}, {0,0,0,0}, + {EARTH,2,0,0}, {0,0,0,0}, {0,0,0,0}, {0,0,0,0}, {0,0,0,0}, {0,0,0,0}, {0,0,0,0}, {0,0,0,0}, + {0,0,0,0}, {0,0,0,0}, {0,0,0,0}, {0,0,0,0}, {0,0,0,0}, {0,0,0,0}, {0,0,0,0}, {0,0,0,0}, + {0,0,0,0}, {0,0,0,0}, {0,0,0,0}, {0,0,0,0}, {0,0,0,0}, {0,0,0,0}, {0,0,0,0}, {0,0,0,0}, + {EARTH,0,0,0}, {0,0,0,0}, {0,0,0,0}, {0,0,0,0}, {0,0,0,0}, {0,0,0,0}, {0,0,0,0}, {0,0,0,0}, + {EARTH,0,1,0}, {EARTH,0,1,0}, {EARTH,0,1,0}, {EARTH,0,1,0}, {EARTH,0,1,0}, {EARTH,0,1,0}, {EARTH,0,1,0}, {EARTH,0,1,0}, + }; + lvl=&level_0; + extern image_t img_lvl0; w_fond=&img_lvl0; - w_current_x=LVL_0_X; - w_current_y=LVL_0_Y; + w_current_x=25; + w_current_y=8; mario_x_max=0; - mario.p.x=LVL_0_MARIOX; - mario.p.y=LVL_0_MARIOY; + mario.p.x=25; + mario.p.y=16; + init_level(lvl); + } +} + +void get_lvl_id(int n, char * str) +{ + str[3]='\0'; + switch (n) + { + case 0: + str[0]='1'; + str[1]='-'; + str[2]='1'; + return; + case 1: + str[0]='1'; + str[1]='-'; + str[2]='2'; + return; } - mario.p.vx=0; - mario.p.vy=0; } \ No newline at end of file diff --git a/src/level.h b/src/level.h index 509ba75..fa6473f 100644 --- a/src/level.h +++ b/src/level.h @@ -2,5 +2,6 @@ #define LEVEL_H void set_level(int n); +void get_lvl_id(int n, char * str); #endif \ No newline at end of file diff --git a/src/main.c b/src/main.c index e3af4e7..f0a1339 100755 --- a/src/main.c +++ b/src/main.c @@ -5,6 +5,7 @@ #include "world.h" #include "mario.h" #include "level.h" +#include "score.h" #include #include @@ -29,6 +30,8 @@ int callback(volatile void *arg) int main(void) { + extern font_t font_mario; + dfont(&font_mario); gint_panic_set(system_error); volatile int has_ticked = 1; @@ -45,15 +48,37 @@ int main(void) dclear(C_WHITE); world_draw(mario.p.x,mario.p.y); - + score_display(); //ennemies_draw(); //ingame_draw(); dupdate(); - if (mario_dead) + if (mario_dead==1) { - set_level(current_level); mario_dead=0; + end_level=0; + } + if (end_level==0) + { + lifes--; + set_level(current_level); + extern image_t img_new_level; + dimage(0,0,&img_new_level); + char lvl[4]; + get_lvl_id(current_level, lvl); + dtext(57,28, lvl, C_WHITE, C_BLACK); + sprintf(lvl, "%d", lifes); + dtext(65,54, lvl, C_WHITE, C_BLACK); + dupdate(); + sleep_ms(3,1000); + sleep_ms(3,1000); + sleep_ms(3,1000); + dclear(C_BLACK); + } + if (end_level>=1) + { + current_level+=end_level; + set_level(current_level); } } else diff --git a/src/mario.c b/src/mario.c index 0a04dc1..d746547 100755 --- a/src/mario.c +++ b/src/mario.c @@ -5,98 +5,162 @@ #include #include "keyboard.h" #include "box.h" +#include "score.h" + +static int sgn(int x) +{ + if (x>0) + return 1; + else if (x<0) + return -1; + else + return 0; +} extern image_t img_mariosmall; -int numero_frame=0; +int id_frame=0; tileset_t mario_small={&img_mariosmall, 8,8, 1}; pnj mario= { - {26,17,8,8,0,0,1}, - M_SMALL, - M_RIGHT1, M_WALK, - 0 + {26,17,8,8,0,0,1}, + M_SMALL, + M_RIGHT1, M_WALK, + 0 }; int mario_x_max=0; int mario_time_accel=0; int mario_dead=0; +int mario_coins=0; +int last_vx_sign=1; +int last_bonus=0; void mario_draw() { - if (mario.size==M_SMALL) - draw_tile(mario.p.x-world_get_real_x0(mario.p.x), mario.p.y-world_get_real_y0(mario.p.y), &mario_small, mario.type1, mario.type2); + if (mario.size==M_SMALL) + { + if (mario.p.vx*sgn(mario.p.vx)>=3) + draw_tile(mario.p.x-world_get_real_x0(mario.p.x), mario.p.y-world_get_real_y0(mario.p.y), &mario_small, 2*last_vx_sign+(id_frame/4)%2, 0); + else if (mario.p.vx*sgn(mario.p.vx)>=1) + draw_tile(mario.p.x-world_get_real_x0(mario.p.x), mario.p.y-world_get_real_y0(mario.p.y), &mario_small, 2*last_vx_sign+(id_frame/8)%2, 0); + else + draw_tile(mario.p.x-world_get_real_x0(mario.p.x), mario.p.y-world_get_real_y0(mario.p.y), &mario_small, 2*last_vx_sign, 0); + } } int test_sol_le_plus_proche(int x, int y) { - int distance=0; - int t=0; - while (t==0) - { - int type_sol = world_get_ctg(x, y-1); - if (type_sol==CTG_SOIL) - t=1; - if (type_sol==CTG_DEATH) - return distance+1; - type_sol = world_get_ctg(x+7, y-1); - if (type_sol==CTG_SOIL) - t=1; - if (type_sol==CTG_DEATH) - return distance+1; - y--; - distance++; - } - return distance; + int distance=0; + int t=0; + while (t==0) + { + int type_sol = world_get_ctg(x, y-1); + if (type_sol==CTG_SOIL) + t=1; + if (type_sol==CTG_DEATH) + return distance+1; + type_sol = world_get_ctg(x+7, y-1); + if (type_sol==CTG_SOIL) + t=1; + if (type_sol==CTG_DEATH) + return distance+1; + y--; + distance++; + } + return distance; } -static int sgn(int x) -{ - if (x>0) - return 1; - else if (x<0) - return -1; - else - return 0; -} + int global_quit=0; void mario_move() { - update_keyboard(); - int jump = keys[MK_JUMP1] || keys[MK_JUMP2]; - if (jump) - box_jump(&mario.p, 7); - int vx=keys[MK_RIGHT] - keys[MK_LEFT]; - if (vx) - { - if (sgn(vx)==sgn(mario.p.vx) || vx==0) - mario_time_accel++; - mario_time_accel%=4; - if (mario_time_accel==0) - { - if (keys[MK_RUN]) - { - if(mario.p.vx*sgn(mario.p.vx)<=4) - mario.p.vx+=vx; - } - else - { - if(mario.p.vx*sgn(mario.p.vx)<=2) - mario.p.vx+=vx; - } - } - if (mario.p.x+mario.p.vx + gravity - if (mario.p.x>mario_x_max) - mario_x_max=mario.p.x; - if (mario.p.y<0) - mario_dead=1; + id_frame++; + update_keyboard(); + int jump = keys[MK_JUMP1] || keys[MK_JUMP2]; + if (keys[MK_JUMP1]==2 || keys[MK_JUMP2]==2) + { + if (mario.p.vx*sgn(mario.p.vx)>=3) + box_jump(&mario.p, 8); + else + box_jump(&mario.p, 7); + } + else if (mario.p.vy>0 && jump==0) + mario.p.vy=0; + + int vx=sgn(keys[MK_RIGHT] - keys[MK_LEFT]); + + int c1=world_get_ctg(mario.p.x, mario.p.y-1/*+mario.p.h*/); + int c2=world_get_ctg(mario.p.x+mario.p.w-1, mario.p.y-1/*+mario.p.h*/); + + if (vx) + { + if (vx==sgn(mario.p.vx) || vx==0) + mario_time_accel++; + else if (vx==-sgn(mario.p.vx)) + mario_time_accel=0; + + mario_time_accel%=4; + if (mario_time_accel==0) + { + if (keys[MK_RUN] && (c1==CTG_SOIL || c2==CTG_SOIL)) + { + if(mario.p.vx*sgn(mario.p.vx)<=4) + mario.p.vx+=vx; + } + else + { + if (mario.p.vx*vx<2) + mario.p.vx+=vx; + } + } + } + else + { + if (mario.p.vx) + { + mario_time_accel++; + mario_time_accel%=4; + if (mario_time_accel==0) + mario.p.vx-=sgn(mario.p.vx); + } + else + mario_time_accel=0; + } + + if (vx>0 && (c1==CTG_SOIL || c2==CTG_SOIL)) + last_vx_sign=1; + if (vx<0 && (c1==CTG_SOIL || c2==CTG_SOIL)) + last_vx_sign=0; + + if (mario.p.x+mario.p.vx + gravity + if (mario.p.x>mario_x_max) + mario_x_max=mario.p.x; + if (mario.p.y<0) + mario_dead=1; + if (mario.p.vx==0) + mario_time_accel=0; + + // coins + world_t* c; + c=world_get(mario.p.x, mario.p.y); + if (c->type==COIN && c->p1==0) + {score_add_coin();c->p1=1;} + c=world_get(mario.p.x+mario.p.w-1, mario.p.y); + if (c->type==COIN && c->p1==0) + {score_add_coin();c->p1=1;} + c=world_get(mario.p.x, mario.p.y+mario.p.h-1); + if (c->type==COIN && c->p1==0) + {score_add_coin();c->p1=1;} + c=world_get(mario.p.x+mario.p.w-1, mario.p.y+mario.p.h-1); + if (c->type==COIN && c->p1==0) + {score_add_coin();c->p1=1;} + } diff --git a/src/mario.h b/src/mario.h index c9eb8e9..ddd3cc7 100755 --- a/src/mario.h +++ b/src/mario.h @@ -38,4 +38,5 @@ extern int global_quit; extern int numero_frame; extern int mario_x_max; extern int mario_dead; +extern int id_frame; #endif \ No newline at end of file diff --git a/src/score.c b/src/score.c new file mode 100644 index 0000000..32682a8 --- /dev/null +++ b/src/score.c @@ -0,0 +1,95 @@ +#include "score.h" +#include "mario.h" + +#include +#include +#include +#include + +int score=0; +int lifes=5; + +int combo=0; +int combo_id=-10; + +int pieces=0; + +int time_id=0; +int time_left=0; + +int end_level=-1; + +void new_game() +{ + + lifes=5; + pieces=0; + score=0; + combo=0; + combo_id=-10; + new_level(); +} + +void new_level() +{ + end_level=-1; + time_left=300; + time_id=0; +} + +void score_add_coin() +{ + pieces++; + score_add(10); +} + +void score_add(int i) +{ + if (i==0) + return; + if (time_id-combo_id<=12 && time_id-combo_id>=0 && combo) + { + i*=2; + score+=i; + combo_id=time_id; + combo+=i; + } + else + { + combo_id=time_id; + combo=i; + score+=i; + } +} + +void score_display() +{ + + char str[10]; + sprintf(str, "%d", score); + dtext(0,0,str, C_BLACK, C_WHITE); + if (time_id-combo_id<=8 && time_id-combo_id>=0 && combo) + { + sprintf(str, "+ %d", combo); + dtext(0,6,str, C_BLACK, C_WHITE); + } + sprintf(str, "c*%d", pieces); + dtext(50,0,str, C_BLACK, C_WHITE); + + time_id++; + if (time_id%10==0) + time_left--; + + sprintf(str, "TIME : %d", time_left); + dtext(87,0,str, C_BLACK, C_WHITE); + extern image_t img_time_over; + if (time_left==0) + { + dimage(0,0, &img_time_over); + dupdate(); + sleep_ms(3,1000); + sleep_ms(3,1000); + sleep_ms(3,1000); + end_level=0; + } +} \ No newline at end of file diff --git a/src/score.h b/src/score.h new file mode 100644 index 0000000..0e87678 --- /dev/null +++ b/src/score.h @@ -0,0 +1,13 @@ +#ifndef SCORE +#define SCORE + +extern int score; +extern int lifes; +extern int end_level; // si ==-1, continue, si 0==retry, si ==1 ou + next + +void score_add(int); +void score_display(); +void score_add_coin(); +void new_level(); + +#endif \ No newline at end of file