diff --git a/SuperCbr.g1a b/SuperCbr.g1a index e3ace65..aace4ae 100644 Binary files a/SuperCbr.g1a and b/SuperCbr.g1a differ diff --git a/assets-fx/img/lvl0.png b/assets-fx/img/lvl0.png new file mode 100644 index 0000000..f7a707a Binary files /dev/null and b/assets-fx/img/lvl0.png differ diff --git a/assets-fx/img/menu_pause.png b/assets-fx/img/menu_pause.png new file mode 100644 index 0000000..cac3e21 Binary files /dev/null and b/assets-fx/img/menu_pause.png differ diff --git a/assets-fx/img/select_arrow.png b/assets-fx/img/select_arrow.png new file mode 100644 index 0000000..819983f Binary files /dev/null and b/assets-fx/img/select_arrow.png differ diff --git a/build-fx/SuperCbr.bin b/build-fx/SuperCbr.bin index d044c5d..45ebd1e 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 12ac967..8f17748 100755 Binary files a/build-fx/SuperCbr.elf and b/build-fx/SuperCbr.elf differ diff --git a/build-fx/assets/img/fond1.png.o b/build-fx/assets/img/fond1.png.o new file mode 100644 index 0000000..7665b12 Binary files /dev/null and b/build-fx/assets/img/fond1.png.o differ diff --git a/build-fx/assets/img/lvl0.png.o b/build-fx/assets/img/lvl0.png.o new file mode 100644 index 0000000..cb8866b Binary files /dev/null and b/build-fx/assets/img/lvl0.png.o differ diff --git a/build-fx/assets/img/menu_pause.png.o b/build-fx/assets/img/menu_pause.png.o new file mode 100644 index 0000000..71d91e1 Binary files /dev/null and b/build-fx/assets/img/menu_pause.png.o differ diff --git a/build-fx/assets/img/select_arrow.png.o b/build-fx/assets/img/select_arrow.png.o new file mode 100644 index 0000000..0552089 Binary files /dev/null and b/build-fx/assets/img/select_arrow.png.o differ diff --git a/build-fx/map b/build-fx/map index ff0e710..706f740 100644 --- a/build-fx/map +++ b/build-fx/map @@ -30,6 +30,8 @@ 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(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) @@ -75,8 +77,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/libgcc.a(_clz.o) /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_udivdi3.o) (___clz_tab) +Allocating common symbols +Common symbol size file + +w_fond 0x4 build-fx/src/world.c.o +w_current_y 0x4 build-fx/src/world.c.o +w_current_x 0x4 build-fx/src/world.c.o +w_current 0x4 build-fx/src/world.c.o + Discarded input sections + .comment 0x0000000000000000 0x12 build-fx/src/level.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 @@ -97,6 +108,7 @@ 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(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(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) @@ -148,6 +160,7 @@ yram 0x00000000e5017000 0x0000000000002000 xrw Linker script and memory map +LOAD build-fx/src/level.c.o LOAD build-fx/src/tile.c.o LOAD build-fx/src/box.c.o LOAD build-fx/src/world.c.o @@ -157,6 +170,8 @@ LOAD build-fx/src/keyboard.c.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/death.png.o LOAD build-fx/assets/img/coin.png.o LOAD build-fx/assets/img/mariosmall.png.o @@ -165,11 +180,12 @@ LOAD build-fx/assets/img/error.png.o LOAD build-fx/assets/img/tuyau.png.o LOAD build-fx/assets/img/level.png.o LOAD build-fx/assets/img/stone.png.o +LOAD build-fx/assets/img/lvl0.png.o 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 - 0x0000000000005030 _srom = ((((0x200 + SIZEOF (.text)) + SIZEOF (.rodata)) + SIZEOF (.gint.drivers)) + SIZEOF (.gint.blocks)) + 0x0000000000005690 _srom = ((((0x200 + SIZEOF (.text)) + SIZEOF (.rodata)) + SIZEOF (.gint.drivers)) + SIZEOF (.gint.blocks)) .pretext 0x0000000000300200 0x8d0 *(.pretext.entry) @@ -209,7 +225,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 0x36d0 +.text 0x0000000000300ad0 0x3890 0x0000000000300ad0 _gint_exch_tlbh_start = . *(.gint.exch_tlbh) .gint.exch_tlbh @@ -217,408 +233,431 @@ 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 0x40 build-fx/src/tile.c.o - 0x0000000000300b1c _draw_tile - .text 0x0000000000300b5c 0x1a8 build-fx/src/box.c.o - 0x0000000000300b5c _sgn - 0x0000000000300b6e _box_move - 0x0000000000300c9c _box_jump - .text 0x0000000000300d04 0x200 build-fx/src/world.c.o - 0x0000000000300d04 _world_get - 0x0000000000300d4c _display_cell - 0x0000000000300e24 _world_get_ctg - 0x0000000000300e64 _world_get_real_x0 - 0x0000000000300e72 _world_get_real_y0 - 0x0000000000300e80 _world_draw - .text 0x0000000000300f04 0x10c build-fx/src/mario.c.o - 0x0000000000300f04 _mario_draw - 0x0000000000300f5c _test_sol_le_plus_proche - 0x0000000000300fc8 _mario_move - .text 0x0000000000301010 0x40 build-fx/src/main.c.o - 0x0000000000301010 _callback - 0x0000000000301018 _system_error - .text.startup 0x0000000000301050 0xb8 build-fx/src/main.c.o - 0x0000000000301050 _main - .text 0x0000000000301108 0xbc build-fx/src/keyboard.c.o - 0x0000000000301108 _update_keyboard - .text 0x00000000003011c4 0x24 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dupdate.c.o) - 0x00000000003011c4 _dupdate - 0x00000000003011dc _dupdate_noint - .text 0x00000000003011e8 0xc8 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dimage.c.o) - 0x00000000003011e8 _dimage - 0x000000000030123c _dsubimage - .text 0x00000000003012b0 0x4c /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dclear.c.o) - 0x00000000003012b0 _dclear - .text 0x00000000003012fc 0x3fc /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(keysc.c.o) - 0x00000000003014a4 _pollevent - 0x00000000003015e8 _waitevent - 0x0000000000301634 _clearevents - 0x0000000000301654 _keydown - 0x0000000000301680 _keydown_all - 0x00000000003016bc _keydown_any - .text 0x00000000003016f8 0x124 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(iokbd.c.o) - 0x0000000000301704 _iokbd_row - 0x00000000003017ec _iokbd_scan - .text 0x000000000030181c 0x1f4 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(getkey.c.o) - 0x000000000030181c _getkey_opt - 0x00000000003019c8 _getkey - 0x00000000003019d4 _getkey_repeat - .text 0x0000000000301a10 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 0x0000000000301a10 0x1c4 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(exch.c.o) - 0x0000000000301ba0 _gint_panic - 0x0000000000301bb0 _gint_panic_set - 0x0000000000301bbc _gint_exc_catch - 0x0000000000301bc8 _gint_exc_skip - .text 0x0000000000301bd4 0x17c /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(setup.c.o) - 0x0000000000301c88 _gint_install - 0x0000000000301d38 _gint_unload - .text 0x0000000000301d50 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 0x0000000000301d50 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 0x0000000000301d50 0x1f4 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(mmu.c.o) - 0x0000000000301d50 _tlb_addr - 0x0000000000301d64 _tlb_data - 0x0000000000301d78 _tlb_mapped_memory - 0x0000000000301e4c _utlb_addr - 0x0000000000301e5c _utlb_data - 0x0000000000301e6c _utlb_mapped_memory - .text 0x0000000000301f44 0x9c /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(topti.c.o) - 0x0000000000301f44 _dsize - .text 0x0000000000301fe0 0x58 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dprint.c.o) - 0x0000000000301fe0 _dprint - .text 0x0000000000302038 0x56c /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(tmu.c.o) - 0x0000000000302358 _timer_setup - 0x00000000003023e8 _timer_delay - 0x0000000000302448 _timer_start - 0x000000000030247c _timer_reload - 0x000000000030249c _timer_pause - 0x00000000003024d0 _timer_stop - 0x000000000030252c _timer_timeout - 0x0000000000302538 _timer_address - 0x0000000000302574 _timer_clear - .text 0x00000000003025a4 0xce4 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(stdio.c.o) - 0x0000000000302fa0 _kprint_opt - 0x00000000003030e8 _kprint - 0x00000000003031c0 _kvsprint - 0x0000000000303208 _sprintf - 0x0000000000303230 _vsprintf - 0x0000000000303250 _snprintf - 0x0000000000303270 _vsnprintf - .text 0x0000000000303288 0xdc /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(memory.c.o) - 0x0000000000303288 _memcpy - 0x0000000000303342 __memmove - 0x0000000000303346 __memcmp - 0x000000000030334a _memset - .text 0x0000000000303364 0x1d8 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(t6k11.c.o) - 0x00000000003033fc _t6k11_display - 0x00000000003034d0 _t6k11_contrast - 0x00000000003034fc _t6k11_backlight - .text 0x000000000030353c 0x150 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(cpg.c.o) - 0x0000000000303680 _clock_freq - .text 0x000000000030368c 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 0x000000000030368c 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) - 0x000000000030368c _bopti_asm_mono - 0x00000000003036b2 _bopti_asm_mono_alpha - .text 0x00000000003036e4 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 0x00000000003036e4 0x410 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(bopti.c.o) - 0x00000000003036e4 _bopti_grid - 0x0000000000303858 _bopti_render - 0x0000000000303988 _bopti_render_clip - 0x0000000000303a9c _bopti_render_noclip - .text 0x0000000000303af4 0x9c /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(masks.c.o) - 0x0000000000303af4 _masks - .text 0x0000000000303b90 0x2c /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(vbr.s.o) - 0x0000000000303b90 _gint_setvbr - .text 0x0000000000303bbc 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 0x0000000000303bbc 0x78 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(gint.c.o) - 0x0000000000303bbc _gint_intlevel - 0x0000000000303c10 _gint_inthandler - .text 0x0000000000303c34 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 0x0000000000303c34 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 0x0000000000303c34 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 0x0000000000303c34 0x78 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_movmem.o) - 0x0000000000303c34 ___movstr - 0x0000000000303c34 ___movmem - 0x0000000000303c68 ___movmemSI64 - 0x0000000000303c68 ___movstrSI64 - 0x0000000000303c6c ___movstrSI60 - 0x0000000000303c6c ___movmemSI60 - 0x0000000000303c70 ___movmemSI56 - 0x0000000000303c70 ___movstrSI56 - 0x0000000000303c74 ___movstrSI52 - 0x0000000000303c74 ___movmemSI52 - 0x0000000000303c78 ___movstrSI48 - 0x0000000000303c78 ___movmemSI48 - 0x0000000000303c7c ___movstrSI44 - 0x0000000000303c7c ___movmemSI44 - 0x0000000000303c80 ___movstrSI40 - 0x0000000000303c80 ___movmemSI40 - 0x0000000000303c84 ___movstrSI36 - 0x0000000000303c84 ___movmemSI36 - 0x0000000000303c88 ___movmemSI32 - 0x0000000000303c88 ___movstrSI32 - 0x0000000000303c8c ___movmemSI28 - 0x0000000000303c8c ___movstrSI28 - 0x0000000000303c90 ___movstrSI24 - 0x0000000000303c90 ___movmemSI24 - 0x0000000000303c94 ___movmemSI20 - 0x0000000000303c94 ___movstrSI20 - 0x0000000000303c98 ___movstrSI16 - 0x0000000000303c98 ___movmemSI16 - 0x0000000000303c9c ___movmemSI12 - 0x0000000000303c9c ___movstrSI12 - 0x0000000000303ca0 ___movmemSI8 - 0x0000000000303ca0 ___movstrSI8 - 0x0000000000303ca4 ___movmemSI4 - 0x0000000000303ca4 ___movstrSI4 - .text 0x0000000000303cac 0x1f0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_udivdi3.o) - 0x0000000000303cac ___udivdi3 - .text 0x0000000000303e9c 0x234 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_umoddi3.o) - 0x0000000000303e9c ___umoddi3 - .text 0x00000000003040d0 0x6c /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_udivsi3.o) - 0x00000000003040f2 ___udivsi3 - *fill* 0x000000000030413c 0x4 - .text 0x0000000000304140 0x60 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_udiv_qrnnd_16.o) - 0x0000000000304140 ___udiv_qrnnd_16 - .text 0x00000000003041a0 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_clz.o) + .text 0x0000000000300b1c 0x38 build-fx/src/level.c.o + 0x0000000000300b1c _set_level + .text 0x0000000000300b54 0x40 build-fx/src/tile.c.o + 0x0000000000300b54 _draw_tile + .text 0x0000000000300b94 0x1a8 build-fx/src/box.c.o + 0x0000000000300b94 _sgn + 0x0000000000300ba6 _box_move + 0x0000000000300cd4 _box_jump + .text 0x0000000000300d3c 0x210 build-fx/src/world.c.o + 0x0000000000300d3c _world_get + 0x0000000000300d98 _display_cell + 0x0000000000300e54 _world_get_ctg + 0x0000000000300e94 _world_get_real_x0 + 0x0000000000300ea2 _world_get_real_y0 + 0x0000000000300eb0 _world_draw + .text 0x0000000000300f4c 0x10c build-fx/src/mario.c.o + 0x0000000000300f4c _mario_draw + 0x0000000000300fa4 _test_sol_le_plus_proche + 0x0000000000301010 _mario_move + .text 0x0000000000301058 0x40 build-fx/src/main.c.o + 0x0000000000301058 _callback + 0x0000000000301060 _system_error + .text.startup 0x0000000000301098 0xd4 build-fx/src/main.c.o + 0x0000000000301098 _main + .text 0x000000000030116c 0x1c4 build-fx/src/keyboard.c.o + 0x000000000030116c _menu_pause + 0x0000000000301260 _update_keyboard + .text 0x0000000000301330 0x24 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dupdate.c.o) + 0x0000000000301330 _dupdate + 0x0000000000301348 _dupdate_noint + .text 0x0000000000301354 0xc8 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dimage.c.o) + 0x0000000000301354 _dimage + 0x00000000003013a8 _dsubimage + .text 0x000000000030141c 0x4c /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dclear.c.o) + 0x000000000030141c _dclear + .text 0x0000000000301468 0x3fc /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(keysc.c.o) + 0x0000000000301610 _pollevent + 0x0000000000301754 _waitevent + 0x00000000003017a0 _clearevents + 0x00000000003017c0 _keydown + 0x00000000003017ec _keydown_all + 0x0000000000301828 _keydown_any + .text 0x0000000000301864 0x124 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(iokbd.c.o) + 0x0000000000301870 _iokbd_row + 0x0000000000301958 _iokbd_scan + .text 0x0000000000301988 0x1f4 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(getkey.c.o) + 0x0000000000301988 _getkey_opt + 0x0000000000301b34 _getkey + 0x0000000000301b40 _getkey_repeat + .text 0x0000000000301b7c 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 0x0000000000301b7c 0x1c4 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(exch.c.o) + 0x0000000000301d0c _gint_panic + 0x0000000000301d1c _gint_panic_set + 0x0000000000301d28 _gint_exc_catch + 0x0000000000301d34 _gint_exc_skip + .text 0x0000000000301d40 0x17c /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(setup.c.o) + 0x0000000000301df4 _gint_install + 0x0000000000301ea4 _gint_unload + .text 0x0000000000301ebc 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 0x0000000000301ebc 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 0x0000000000301ebc 0x1f4 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(mmu.c.o) + 0x0000000000301ebc _tlb_addr + 0x0000000000301ed0 _tlb_data + 0x0000000000301ee4 _tlb_mapped_memory + 0x0000000000301fb8 _utlb_addr + 0x0000000000301fc8 _utlb_data + 0x0000000000301fd8 _utlb_mapped_memory + .text 0x00000000003020b0 0x9c /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(topti.c.o) + 0x00000000003020b0 _dsize + .text 0x000000000030214c 0x58 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dprint.c.o) + 0x000000000030214c _dprint + .text 0x00000000003021a4 0x56c /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(tmu.c.o) + 0x00000000003024c4 _timer_setup + 0x0000000000302554 _timer_delay + 0x00000000003025b4 _timer_start + 0x00000000003025e8 _timer_reload + 0x0000000000302608 _timer_pause + 0x000000000030263c _timer_stop + 0x0000000000302698 _timer_timeout + 0x00000000003026a4 _timer_address + 0x00000000003026e0 _timer_clear + .text 0x0000000000302710 0x58 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(sleep.c.o) + 0x0000000000302710 _sleep_us + .text 0x0000000000302768 0xce4 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(stdio.c.o) + 0x0000000000303164 _kprint_opt + 0x00000000003032ac _kprint + 0x0000000000303384 _kvsprint + 0x00000000003033cc _sprintf + 0x00000000003033f4 _vsprintf + 0x0000000000303414 _snprintf + 0x0000000000303434 _vsnprintf + .text 0x000000000030344c 0xdc /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(memory.c.o) + 0x000000000030344c _memcpy + 0x0000000000303506 __memmove + 0x000000000030350a __memcmp + 0x000000000030350e _memset + .text 0x0000000000303528 0x1d8 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(t6k11.c.o) + 0x00000000003035c0 _t6k11_display + 0x0000000000303694 _t6k11_contrast + 0x00000000003036c0 _t6k11_backlight + .text 0x0000000000303700 0x150 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(cpg.c.o) + 0x0000000000303844 _clock_freq + .text 0x0000000000303850 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 0x0000000000303850 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) + 0x0000000000303850 _bopti_asm_mono + 0x0000000000303876 _bopti_asm_mono_alpha + .text 0x00000000003038a8 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 0x00000000003038a8 0x410 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(bopti.c.o) + 0x00000000003038a8 _bopti_grid + 0x0000000000303a1c _bopti_render + 0x0000000000303b4c _bopti_render_clip + 0x0000000000303c60 _bopti_render_noclip + .text 0x0000000000303cb8 0x9c /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(masks.c.o) + 0x0000000000303cb8 _masks + .text 0x0000000000303d54 0x2c /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(vbr.s.o) + 0x0000000000303d54 _gint_setvbr + .text 0x0000000000303d80 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 0x0000000000303d80 0x78 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(gint.c.o) + 0x0000000000303d80 _gint_intlevel + 0x0000000000303dd4 _gint_inthandler + .text 0x0000000000303df8 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 0x0000000000303df8 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 0x0000000000303df8 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 0x0000000000303df8 0x78 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_movmem.o) + 0x0000000000303df8 ___movstr + 0x0000000000303df8 ___movmem + 0x0000000000303e2c ___movmemSI64 + 0x0000000000303e2c ___movstrSI64 + 0x0000000000303e30 ___movstrSI60 + 0x0000000000303e30 ___movmemSI60 + 0x0000000000303e34 ___movmemSI56 + 0x0000000000303e34 ___movstrSI56 + 0x0000000000303e38 ___movstrSI52 + 0x0000000000303e38 ___movmemSI52 + 0x0000000000303e3c ___movstrSI48 + 0x0000000000303e3c ___movmemSI48 + 0x0000000000303e40 ___movstrSI44 + 0x0000000000303e40 ___movmemSI44 + 0x0000000000303e44 ___movstrSI40 + 0x0000000000303e44 ___movmemSI40 + 0x0000000000303e48 ___movstrSI36 + 0x0000000000303e48 ___movmemSI36 + 0x0000000000303e4c ___movmemSI32 + 0x0000000000303e4c ___movstrSI32 + 0x0000000000303e50 ___movmemSI28 + 0x0000000000303e50 ___movstrSI28 + 0x0000000000303e54 ___movstrSI24 + 0x0000000000303e54 ___movmemSI24 + 0x0000000000303e58 ___movmemSI20 + 0x0000000000303e58 ___movstrSI20 + 0x0000000000303e5c ___movstrSI16 + 0x0000000000303e5c ___movmemSI16 + 0x0000000000303e60 ___movmemSI12 + 0x0000000000303e60 ___movstrSI12 + 0x0000000000303e64 ___movmemSI8 + 0x0000000000303e64 ___movstrSI8 + 0x0000000000303e68 ___movmemSI4 + 0x0000000000303e68 ___movstrSI4 + .text 0x0000000000303e70 0x1f0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_udivdi3.o) + 0x0000000000303e70 ___udivdi3 + .text 0x0000000000304060 0x234 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_umoddi3.o) + 0x0000000000304060 ___umoddi3 + .text 0x0000000000304294 0x6c /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_udivsi3.o) + 0x00000000003042b6 ___udivsi3 + .text 0x0000000000304300 0x60 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_udiv_qrnnd_16.o) + 0x0000000000304300 ___udiv_qrnnd_16 + .text 0x0000000000304360 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 0x00000000003041a0 0x120 +.gint.blocks 0x0000000000304360 0x120 *(.gint.blocks) - .gint.blocks 0x00000000003041a0 0x40 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(inth.S.o) - 0x00000000003041a0 _gint_inth_7305 - 0x00000000003041c0 _gint_inth_7705 - .gint.blocks 0x00000000003041e0 0xe0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(inth.s.o) - 0x00000000003041e0 _inth_tmu - 0x0000000000304260 _inth_etmu2 - 0x0000000000304280 _inth_etmu_help - 0x00000000003042a0 _inth_etmux + .gint.blocks 0x0000000000304360 0x40 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(inth.S.o) + 0x0000000000304360 _gint_inth_7305 + 0x0000000000304380 _gint_inth_7705 + .gint.blocks 0x00000000003043a0 0xe0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(inth.s.o) + 0x00000000003043a0 _inth_tmu + 0x0000000000304420 _inth_etmu2 + 0x0000000000304440 _inth_etmu_help + 0x0000000000304460 _inth_etmux -.gint.drivers 0x00000000003042c0 0x90 - 0x00000000003042c0 _bdrv = . +.gint.drivers 0x0000000000304480 0x90 + 0x0000000000304480 _bdrv = . *(.gint.drivers.0) *(.gint.drivers.1) .gint.drivers.1 - 0x00000000003042c0 0x24 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(cpg.c.o) - 0x00000000003042c0 _drv_cpg + 0x0000000000304480 0x24 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(cpg.c.o) + 0x0000000000304480 _drv_cpg *(.gint.drivers.2) .gint.drivers.2 - 0x00000000003042e4 0x24 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(tmu.c.o) - 0x00000000003042e4 _drv_tmu + 0x00000000003044a4 0x24 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(tmu.c.o) + 0x00000000003044a4 _drv_tmu *(.gint.drivers.3) *(.gint.drivers.4) .gint.drivers.4 - 0x0000000000304308 0x24 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(keysc.c.o) - 0x0000000000304308 _drv_keysc + 0x00000000003044c8 0x24 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(keysc.c.o) + 0x00000000003044c8 _drv_keysc *(.gint.drivers.5) .gint.drivers.5 - 0x000000000030432c 0x24 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(t6k11.c.o) - 0x000000000030432c _drv_t6k11 + 0x00000000003044ec 0x24 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(t6k11.c.o) + 0x00000000003044ec _drv_t6k11 *(.gint.drivers.6) - 0x0000000000304350 _edrv = . + 0x0000000000304510 _edrv = . -.rodata 0x0000000000304350 0x15b0 +.rodata 0x0000000000304510 0x1a50 *(.rodata.4) *(.rodata .rodata.*) - .rodata 0x0000000000304350 0x64 build-fx/assets/img/mario.png.o - 0x0000000000304350 _img_mario - 0x00000000003043b4 _img_mario_end - .rodata 0x00000000003043b4 0x404 build-fx/assets/img/main.png.o - 0x00000000003043b4 _img_main - 0x00000000003047b8 _img_main_end - .rodata 0x00000000003047b8 0x4c build-fx/assets/img/brick.png.o - 0x00000000003047b8 _img_brick - 0x0000000000304804 _img_brick_end - .rodata 0x0000000000304804 0x24 build-fx/assets/img/death.png.o - 0x0000000000304804 _img_death - 0x0000000000304828 _img_death_end - .rodata 0x0000000000304828 0x28 build-fx/assets/img/coin.png.o - 0x0000000000304828 _img_coin - 0x0000000000304850 _img_coin_end - .rodata 0x0000000000304850 0xdc build-fx/assets/img/mariosmall.png.o - 0x0000000000304850 _img_mariosmall - 0x000000000030492c _img_mariosmall_end - .rodata 0x000000000030492c 0x28 build-fx/assets/img/gift.png.o - 0x000000000030492c _img_gift - 0x0000000000304954 _img_gift_end - .rodata 0x0000000000304954 0x404 build-fx/assets/img/error.png.o - 0x0000000000304954 _img_error - 0x0000000000304d58 _img_error_end - .rodata 0x0000000000304d58 0xb8 build-fx/assets/img/tuyau.png.o - 0x0000000000304d58 _img_tuyau - 0x0000000000304e10 _img_tuyau_end - .rodata 0x0000000000304e10 0x404 build-fx/assets/img/level.png.o - 0x0000000000304e10 _img_level - 0x0000000000305214 _img_level_end - .rodata 0x0000000000305214 0x4c build-fx/assets/img/stone.png.o - 0x0000000000305214 _img_stone - 0x0000000000305260 _img_stone_end - .rodata 0x0000000000305260 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 0x0000000000304510 0x64 build-fx/assets/img/mario.png.o + 0x0000000000304510 _img_mario + 0x0000000000304574 _img_mario_end + .rodata 0x0000000000304574 0x404 build-fx/assets/img/main.png.o + 0x0000000000304574 _img_main + 0x0000000000304978 _img_main_end + .rodata 0x0000000000304978 0x4c build-fx/assets/img/brick.png.o + 0x0000000000304978 _img_brick + 0x00000000003049c4 _img_brick_end + .rodata 0x00000000003049c4 0x84 build-fx/assets/img/menu_pause.png.o + 0x00000000003049c4 _img_menu_pause + 0x0000000000304a48 _img_menu_pause_end + .rodata 0x0000000000304a48 0x18 build-fx/assets/img/select_arrow.png.o + 0x0000000000304a48 _img_select_arrow + 0x0000000000304a60 _img_select_arrow_end + .rodata 0x0000000000304a60 0x24 build-fx/assets/img/death.png.o + 0x0000000000304a60 _img_death + 0x0000000000304a84 _img_death_end + .rodata 0x0000000000304a84 0x28 build-fx/assets/img/coin.png.o + 0x0000000000304a84 _img_coin + 0x0000000000304aac _img_coin_end + .rodata 0x0000000000304aac 0xdc build-fx/assets/img/mariosmall.png.o + 0x0000000000304aac _img_mariosmall + 0x0000000000304b88 _img_mariosmall_end + .rodata 0x0000000000304b88 0x28 build-fx/assets/img/gift.png.o + 0x0000000000304b88 _img_gift + 0x0000000000304bb0 _img_gift_end + .rodata 0x0000000000304bb0 0x404 build-fx/assets/img/error.png.o + 0x0000000000304bb0 _img_error + 0x0000000000304fb4 _img_error_end + .rodata 0x0000000000304fb4 0xb8 build-fx/assets/img/tuyau.png.o + 0x0000000000304fb4 _img_tuyau + 0x000000000030506c _img_tuyau_end + .rodata 0x000000000030506c 0x404 build-fx/assets/img/level.png.o + 0x000000000030506c _img_level + 0x0000000000305470 _img_level_end + .rodata 0x0000000000305470 0x4c build-fx/assets/img/stone.png.o + 0x0000000000305470 _img_stone + 0x00000000003054bc _img_stone_end + .rodata 0x00000000003054bc 0x404 build-fx/assets/img/lvl0.png.o + 0x00000000003054bc _img_lvl0 + 0x00000000003058c0 _img_lvl0_end + .rodata 0x00000000003058c0 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 - 0x0000000000305268 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* 0x000000000030526e 0x2 + 0x00000000003058c8 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* 0x00000000003058ce 0x2 .rodata.str1.4 - 0x0000000000305270 0x11a /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(exch.c.o) + 0x00000000003058d0 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* 0x000000000030538a 0x2 - .rodata 0x000000000030538c 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* 0x00000000003059ea 0x2 + .rodata 0x00000000003059ec 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 - 0x00000000003053a4 0x4 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(tmu.c.o) + 0x0000000000305a04 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.str1.4 - 0x00000000003053a8 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* 0x00000000003053d9 0x3 + 0x0000000000305a08 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* 0x0000000000305a39 0x3 .rodata.str1.4 - 0x00000000003053dc 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* 0x00000000003053e2 0x2 + 0x0000000000305a3c 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* 0x0000000000305a42 0x2 .rodata.str1.4 - 0x00000000003053e4 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 0x00000000003053e8 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 0x00000000003053f8 0x408 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(font5x7.png.o) - 0x00000000003053f8 _gint_font5x7 - 0x0000000000305800 _gint_font5x7_end - .rodata 0x0000000000305800 0x100 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_clz.o) - 0x0000000000305800 ___clz_tab + 0x0000000000305a44 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 0x0000000000305a48 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 0x0000000000305a58 0x408 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(font5x7.png.o) + 0x0000000000305a58 _gint_font5x7 + 0x0000000000305e60 _gint_font5x7_end + .rodata 0x0000000000305e60 0x100 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_clz.o) + 0x0000000000305e60 ___clz_tab -.rela.dyn 0x0000000000305900 0x0 +.rela.dyn 0x0000000000305f60 0x0 + .rela.text 0x0000000000305f60 0x0 build-fx/src/level.c.o .rela.pretext.entry - 0x0000000000305900 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 0x0000000000305900 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(start.c.o) + 0x0000000000305f60 0x0 build-fx/src/level.c.o 0x0000000008100000 . = ORIGIN (ram) -.bss 0x0000000008100000 0x570 +.bss 0x0000000008100000 0x580 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 0x0 build-fx/src/world.c.o - .bss 0x0000000008100000 0x8 build-fx/src/mario.c.o - 0x0000000008100000 _global_quit - 0x0000000008100004 _numero_frame - .bss 0x0000000008100008 0x0 build-fx/src/main.c.o - .bss 0x0000000008100008 0x18 build-fx/src/keyboard.c.o - 0x0000000008100008 _keys - .bss 0x0000000008100020 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 0x0000000008100420 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 0x0000000008100420 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 0x0000000008100420 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 0x0000000008100444 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 0x0000000008100444 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 0x0000000008100450 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 0x0000000008100450 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 0x0000000008100450 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 0x0000000008100450 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 0x0000000008100450 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 0x0000000008100450 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 0x0000000008100450 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 0x0000000008100450 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 0x0000000008100450 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 0x0000000008100450 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 0x0000000008100564 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 0x0000000008100564 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 0x0000000008100564 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 0x0000000008100564 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 0x0000000008100564 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 0x0000000008100564 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 0x0000000008100564 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 0x0000000008100564 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 0x0000000008100564 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 0x0000000008100564 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 0x0000000008100564 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 0x0000000008100564 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 0x0000000008100564 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 0x0000000008100564 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 0x0000000008100564 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_movmem.o) - .bss 0x0000000008100564 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_udivdi3.o) - .bss 0x0000000008100564 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_umoddi3.o) - .bss 0x0000000008100564 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_udivsi3.o) - .bss 0x0000000008100564 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 0x0000000008100564 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_clz.o) + COMMON 0x0000000008100000 0x10 build-fx/src/world.c.o + 0x0000000008100000 _w_fond + 0x0000000008100004 _w_current_y + 0x0000000008100008 _w_current_x + 0x000000000810000c _w_current + .bss 0x0000000008100010 0x8 build-fx/src/mario.c.o + 0x0000000008100010 _global_quit + 0x0000000008100014 _numero_frame + .bss 0x0000000008100018 0x0 build-fx/src/main.c.o + .bss 0x0000000008100018 0x18 build-fx/src/keyboard.c.o + 0x0000000008100018 _keys + .bss 0x0000000008100030 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 0x0000000008100430 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 0x0000000008100430 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 0x0000000008100430 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 0x0000000008100454 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 0x0000000008100454 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 0x0000000008100460 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 0x0000000008100460 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 0x0000000008100460 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 0x0000000008100460 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 0x0000000008100460 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 0x0000000008100460 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 0x0000000008100460 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 0x0000000008100460 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 0x0000000008100460 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 0x0000000008100460 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 0x0000000008100460 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 0x0000000008100574 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 0x0000000008100574 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 0x0000000008100574 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 0x0000000008100574 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 0x0000000008100574 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 0x0000000008100574 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 0x0000000008100574 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 0x0000000008100574 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 0x0000000008100574 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 0x0000000008100574 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 0x0000000008100574 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 0x0000000008100574 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 0x0000000008100574 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 0x0000000008100574 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 0x0000000008100574 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_movmem.o) + .bss 0x0000000008100574 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_udivdi3.o) + .bss 0x0000000008100574 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_umoddi3.o) + .bss 0x0000000008100574 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_udivsi3.o) + .bss 0x0000000008100574 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 0x0000000008100574 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_clz.o) *(B R) - 0x0000000008100570 . = ALIGN (0x10) - *fill* 0x0000000008100564 0xc - 0x0000000000000570 _sbss = SIZEOF (.bss) + 0x0000000008100580 . = ALIGN (0x10) + *fill* 0x0000000008100574 0xc + 0x0000000000000580 _sbss = SIZEOF (.bss) -.data 0x0000000008100570 0x290 load address 0x0000000000305900 - 0x0000000000305900 _ldata = LOADADDR (.data) - 0x0000000008100570 _rdata = . +.data 0x0000000008100580 0x290 load address 0x0000000000305f60 + 0x0000000000305f60 _ldata = LOADADDR (.data) + 0x0000000008100580 _rdata = . *(.data .data.*) - .data 0x0000000008100570 0x50 build-fx/src/tile.c.o - 0x0000000008100570 _coin - 0x0000000008100580 _gift - 0x0000000008100590 _earth - 0x00000000081005a0 _brick - 0x00000000081005b0 _tuyau - .data 0x00000000081005c0 0x0 build-fx/src/box.c.o - .data 0x00000000081005c0 0x180 build-fx/src/world.c.o - .data 0x0000000008100740 0x3c build-fx/src/mario.c.o - 0x0000000008100740 _mario - 0x000000000810076c _mario_small - .data 0x000000000810077c 0x0 build-fx/src/main.c.o - .data 0x000000000810077c 0x0 build-fx/src/keyboard.c.o - .data 0x000000000810077c 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 0x000000000810077c 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 0x000000000810077c 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 0x000000000810077c 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 0x000000000810077c 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 0x000000000810077c 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 0x0000000008100784 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 0x0000000008100784 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 0x0000000008100784 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 0x0000000008100784 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 0x0000000008100784 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 0x0000000008100784 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 0x0000000008100784 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 0x0000000008100784 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 0x0000000008100784 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 0x0000000008100784 0x68 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(stdio.c.o) - 0x0000000008100784 _kprint_formatters - .data 0x00000000081007ec 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 0x00000000081007ec 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 0x00000000081007ec 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 0x00000000081007ec 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 0x00000000081007ec 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 0x00000000081007ec 0x8 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(topti.c.o) - 0x00000000081007ec _topti_font - 0x00000000081007f0 _gint_default_font - .data 0x00000000081007f4 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 0x00000000081007f4 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 0x00000000081007f4 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 0x00000000081007f4 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 0x00000000081007f4 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 0x00000000081007f4 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 0x00000000081007f4 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 0x00000000081007f4 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 0x00000000081007f4 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_movmem.o) - .data 0x00000000081007f4 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_udivdi3.o) - .data 0x00000000081007f4 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_umoddi3.o) - .data 0x00000000081007f4 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_udivsi3.o) - .data 0x00000000081007f4 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 0x00000000081007f4 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_clz.o) + .data 0x0000000008100580 0x180 build-fx/src/level.c.o + 0x0000000008100580 _level_0 + .data 0x0000000008100700 0x50 build-fx/src/tile.c.o + 0x0000000008100700 _coin + 0x0000000008100710 _gift + 0x0000000008100720 _earth + 0x0000000008100730 _brick + 0x0000000008100740 _tuyau + .data 0x0000000008100750 0x0 build-fx/src/box.c.o + .data 0x0000000008100750 0x0 build-fx/src/world.c.o + .data 0x0000000008100750 0x3c build-fx/src/mario.c.o + 0x0000000008100750 _mario + 0x000000000810077c _mario_small + .data 0x000000000810078c 0x0 build-fx/src/main.c.o + .data 0x000000000810078c 0x0 build-fx/src/keyboard.c.o + .data 0x000000000810078c 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 0x000000000810078c 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 0x000000000810078c 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 0x000000000810078c 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 0x000000000810078c 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 0x000000000810078c 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 0x0000000008100794 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 0x0000000008100794 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 0x0000000008100794 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 0x0000000008100794 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 0x0000000008100794 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 0x0000000008100794 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 0x0000000008100794 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 0x0000000008100794 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 0x0000000008100794 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 0x0000000008100794 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 0x0000000008100794 0x68 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(stdio.c.o) + 0x0000000008100794 _kprint_formatters + .data 0x00000000081007fc 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 0x00000000081007fc 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 0x00000000081007fc 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 0x00000000081007fc 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 0x00000000081007fc 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 0x00000000081007fc 0x8 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(topti.c.o) + 0x00000000081007fc _topti_font + 0x0000000008100800 _gint_default_font + .data 0x0000000008100804 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 0x0000000008100804 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 0x0000000008100804 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 0x0000000008100804 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 0x0000000008100804 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 0x0000000008100804 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 0x0000000008100804 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 0x0000000008100804 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 0x0000000008100804 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_movmem.o) + .data 0x0000000008100804 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_udivdi3.o) + .data 0x0000000008100804 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_umoddi3.o) + .data 0x0000000008100804 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_udivsi3.o) + .data 0x0000000008100804 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 0x0000000008100804 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_clz.o) *(D) - 0x0000000008100800 . = ALIGN (0x10) - *fill* 0x00000000081007f4 0xc + 0x0000000008100810 . = ALIGN (0x10) + *fill* 0x0000000008100804 0xc -.data.4 0x0000000008100800 0x0 load address 0x0000000000305b90 +.data.4 0x0000000008100810 0x0 load address 0x00000000003061f0 *(.data.4) - 0x0000000008100800 . = ALIGN (0x10) + 0x0000000008100810 . = ALIGN (0x10) 0x0000000000000290 _sdata = (SIZEOF (.data) + SIZEOF (.data.4)) 0x00000000e5200000 . = ORIGIN (ilram) -.ilram 0x00000000e5200000 0x0 load address 0x0000000000305b90 - 0x0000000000305b90 _lilram = LOADADDR (.ilram) +.ilram 0x00000000e5200000 0x0 load address 0x00000000003061f0 + 0x00000000003061f0 _lilram = LOADADDR (.ilram) 0x00000000e5200000 _rilram = . *(.ilram) 0x00000000e5200000 . = ALIGN (0x10) 0x00000000e5007000 . = ORIGIN (xram) -.xram 0x00000000e5007000 0x0 load address 0x0000000000305b90 - 0x0000000000305b90 _lxram = LOADADDR (.xram) +.xram 0x00000000e5007000 0x0 load address 0x00000000003061f0 + 0x00000000003061f0 _lxram = LOADADDR (.xram) 0x00000000e5007000 _rxram = . *(.xram) 0x00000000e5007000 . = ALIGN (0x10) 0x00000000e5017000 . = ORIGIN (yram) -.yram 0x00000000e5017000 0x0 load address 0x0000000000305b90 - 0x0000000000305b90 _lyram = LOADADDR (.yram) +.yram 0x00000000e5017000 0x0 load address 0x00000000003061f0 + 0x00000000003061f0 _lyram = LOADADDR (.yram) 0x00000000e5017000 _ryram = . *(.yram) 0x00000000e5017000 . = ALIGN (0x10) @@ -628,8 +667,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 0x0000000000305b90 - 0x0000000000305b90 _lgdata = LOADADDR (.gint.data) +.gint.data 0x000000008800f400 0x140 load address 0x00000000003061f0 + 0x00000000003061f0 _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) @@ -650,7 +689,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 0x0000000000305cd0 +.gint.bss 0x000000008800f540 0x290 load address 0x0000000000306330 *(.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/box.c.o b/build-fx/src/box.c.o index a0428c8..47b5975 100644 Binary files a/build-fx/src/box.c.o and b/build-fx/src/box.c.o differ diff --git a/build-fx/src/keyboard.c.o b/build-fx/src/keyboard.c.o index 301aa0e..9404417 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 new file mode 100644 index 0000000..83e2056 --- /dev/null +++ b/build-fx/src/level.c.d @@ -0,0 +1,5 @@ +build-fx/src/level.c.o: src/level.c src/level.h src/world.h + +src/level.h: + +src/world.h: diff --git a/build-fx/src/level.c.o b/build-fx/src/level.c.o new file mode 100644 index 0000000..ef3d7b2 Binary files /dev/null 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 cc4e785..afcdc5e 100644 --- a/build-fx/src/main.c.d +++ b/build-fx/src/main.c.d @@ -1,7 +1,10 @@ -build-fx/src/main.c.o: src/main.c src/world.h src/mario.h src/box.h +build-fx/src/main.c.o: src/main.c src/world.h src/mario.h src/box.h \ + src/level.h src/world.h: src/mario.h: src/box.h: + +src/level.h: diff --git a/build-fx/src/main.c.o b/build-fx/src/main.c.o index ed173cb..70c8d20 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.o b/build-fx/src/mario.c.o index 6b0c34a..bb197f8 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/world.c.o b/build-fx/src/world.c.o index b2fff9a..9fa2250 100644 Binary files a/build-fx/src/world.c.o and b/build-fx/src/world.c.o differ diff --git a/src/keyboard.c b/src/keyboard.c index b6f181a..884ad67 100755 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -1,50 +1,92 @@ #include "keyboard.h" #include "mario.h" #include +#include +#include mkey_t keys[6]={0}; + extern image_t img_menu_pause; + extern image_t img_select_arrow; + +int menu_pause() // 1 exit, 0 continue +{ + key_event_t e; + e=pollevent(); + while(e.type!=KEYEV_NONE) + e=pollevent(); + int key; + int choice=0; + + int x=64-img_menu_pause.width/2; + int y=32-img_menu_pause.height/2; + for (int i=0; i<6; i++) + keys[i]=0; + while (1) + { + e=pollevent(); + while(e.type!=KEYEV_NONE) + { + if (keydown(KEY_EXE)) + return choice; + if (keydown(KEY_UP)) + choice=0; + if (keydown(KEY_DOWN)) + choice=1; + if (keydown(KEY_EXIT)) + return 0; + e=pollevent(); + } + + dimage(x,y,&img_menu_pause); + dimage(x+2, y+2+7*choice, &img_select_arrow); + dupdate(); + } +} + void update_keyboard() { key_event_t e; e=pollevent(); + int menu=0; while(e.type!=KEYEV_NONE) - { - mkey_t k = MK_NONE; + { + mkey_t k = MK_NONE; - if(e.key==KEY_LEFT) - k=MK_LEFT; - if(e.key==KEY_RIGHT) - k=MK_RIGHT; + if(e.key==KEY_LEFT) + k=MK_LEFT; + if(e.key==KEY_RIGHT) + k=MK_RIGHT; - if(e.key==KEY_SHIFT) - k=MK_JUMP1; - if(e.key==KEY_UP) - k=MK_JUMP2; + if(e.key==KEY_SHIFT) + k=MK_JUMP1; + if(e.key==KEY_UP) + k=MK_JUMP2; - if(e.key==KEY_DOWN) - k=MK_LITTLE; + if(e.key==KEY_DOWN) + k=MK_LITTLE; - if(e.key==KEY_ALPHA) - k=MK_RUN; + if(e.key==KEY_ALPHA) + k=MK_RUN; - if(keydown(KEY_EXIT)) - { - global_quit=1; - return; - } + if(keydown(KEY_EXIT)) + menu=1; + - if (k!=MK_NONE) - { - if (e.type==KEYEV_DOWN) - { - keys[k]=1; - } - if (e.type==KEYEV_UP) - { - keys[k]=0; - } - } - e=pollevent(); - } + + if (k!=MK_NONE) + { + if (e.type==KEYEV_DOWN) + { + keys[k]=1; + } + if (e.type==KEYEV_UP) + { + keys[k]=0; + } + } + e=pollevent(); + } + if (menu) + global_quit=menu_pause(); } \ No newline at end of file diff --git a/src/level.c b/src/level.c new file mode 100644 index 0000000..7de54c2 --- /dev/null +++ b/src/level.c @@ -0,0 +1,33 @@ +#include "level.h" +#include "world.h" +#include + +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}, {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 + +void set_level(int n) +{ + if (n==0) + { + w_current=&level_0; + w_fond=&img_lvl0; + w_current_x=LVL_0_X; + w_current_y=LVL_0_Y; + } +} \ No newline at end of file diff --git a/src/level.h b/src/level.h new file mode 100644 index 0000000..509ba75 --- /dev/null +++ b/src/level.h @@ -0,0 +1,6 @@ +#ifndef LEVEL_H +#define LEVEL_H + +void set_level(int n); + +#endif \ No newline at end of file diff --git a/src/main.c b/src/main.c index a657387..ae4fc26 100755 --- a/src/main.c +++ b/src/main.c @@ -4,10 +4,13 @@ #include "world.h" #include "mario.h" +#include "level.h" #include #include #include +#include + extern image_t img_error; GNORETURN void system_error(uint32_t code) { @@ -31,7 +34,7 @@ int main(void) timer_setup(0, timer_delay(0, 50000), timer_Po_4, callback, &has_ticked); timer_start(0); - + set_level(0); while(global_quit==0) { if (has_ticked) @@ -46,7 +49,10 @@ int main(void) //ingame_draw(); dupdate(); } + else + sleep_ms(3,1); } timer_stop(0); -} \ No newline at end of file +} + diff --git a/src/mario.c b/src/mario.c index b8cd345..cc14c97 100755 --- a/src/mario.c +++ b/src/mario.c @@ -54,7 +54,7 @@ void mario_move() if (jump) box_jump(&mario.p, 7); - mario.p.vx = keys[MK_RIGHT] - keys[MK_LEFT]; + mario.p.vx = 2*(keys[MK_RIGHT] - keys[MK_LEFT]); box_move(&mario.p); // <-> + gravity } diff --git a/src/world.c b/src/world.c index 1add6f4..ce9a2d3 100755 --- a/src/world.c +++ b/src/world.c @@ -2,34 +2,17 @@ #include "tile.h" #include - - -static world_t tuyau_sample[]= -{ - {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,2,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,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,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,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} -}; - -static world_t * current = tuyau_sample; -static int current_x=12; -static int current_y=8; +world_t * w_current; +image_t * w_fond; +int w_current_x; +int w_current_y; world_t* world_get(int x, int y) { x/=8; y/=8; - if (0<=x && x +#include #define W_CELL_SIZEPX 8 #define W_SIZE_X 160 @@ -42,4 +43,9 @@ int world_get_real_y0(int y); #define CTG_DEATH 3 int world_get_ctg(int x, int y); +extern world_t * w_current; +extern image_t * w_fond; +extern int w_current_x; +extern int w_current_y; + #endif \ No newline at end of file