Browse Source

add goombas

dev
milangames-art 3 years ago
parent
commit
c20deb6abb
  1. BIN
      SuperCbr.g1a
  2. BIN
      assets-fx/img/goomba.png
  3. BIN
      assets-fx/spritesheet.png
  4. BIN
      build-fx/SuperCbr.bin
  5. BIN
      build-fx/SuperCbr.elf
  6. BIN
      build-fx/assets/img/goomba.png.o
  7. 700
      build-fx/map
  8. 14
      build-fx/src/ennemi.c.d
  9. BIN
      build-fx/src/ennemi.c.o
  10. 4
      build-fx/src/level.c.d
  11. BIN
      build-fx/src/level.c.o
  12. 4
      build-fx/src/main.c.d
  13. BIN
      build-fx/src/main.c.o
  14. BIN
      build-fx/src/mario.c.o
  15. BIN
      build-fx/src/score.c.o
  16. 78
      src/ennemi.c
  17. 29
      src/ennemi.h
  18. 22
      src/level.c
  19. 6
      src/main.c
  20. 21
      src/mario.c
  21. 4
      src/score.c
  22. 1
      src/score.h

BIN
SuperCbr.g1a

Binary file not shown.

BIN
assets-fx/img/goomba.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 671 B

BIN
assets-fx/spritesheet.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 83 KiB

BIN
build-fx/SuperCbr.bin

Binary file not shown.

BIN
build-fx/SuperCbr.elf

Binary file not shown.

BIN
build-fx/assets/img/goomba.png.o

Binary file not shown.

700
build-fx/map

@ -65,7 +65,7 @@ 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(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/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)
build-fx/src/level.c.o (___movmemSI44)
/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(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)
@ -87,6 +87,7 @@ Discarded input sections
.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 build-fx/src/ennemi.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)
@ -161,6 +162,7 @@ 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/src/ennemi.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
@ -178,13 +180,14 @@ LOAD build-fx/assets/img/gift.png.o
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/goomba.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
0x0000000000006e4c _srom = ((((0x200 + SIZEOF (.text)) + SIZEOF (.rodata)) + SIZEOF (.gint.drivers)) + SIZEOF (.gint.blocks))
0x000000000000715c _srom = ((((0x200 + SIZEOF (.text)) + SIZEOF (.rodata)) + SIZEOF (.gint.drivers)) + SIZEOF (.gint.blocks))
.pretext 0x0000000000300200 0x8d0
*(.pretext.entry)
@ -224,7 +227,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 0x41d8
.text 0x0000000000300ad0 0x4460
0x0000000000300ad0 _gint_exch_tlbh_start = .
*(.gint.exch_tlbh)
.gint.exch_tlbh
@ -232,317 +235,326 @@ 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 0x354 build-fx/src/level.c.o
.text 0x0000000000300b1c 0x3e4 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)
0x0000000000300bc8 _init_ennemies
0x0000000000300c28 _set_level
0x0000000000300ed0 _get_lvl_id
.text 0x0000000000300f00 0x218 build-fx/src/score.c.o
0x0000000000300f50 _new_level
0x0000000000300f74 _new_game
0x0000000000300fac _score_add_coin
0x0000000000300fc4 _score_add
0x0000000000300fd8 _score_display
.text 0x0000000000301118 0x40 build-fx/src/tile.c.o
0x0000000000301118 _draw_tile
.text 0x0000000000301158 0x198 build-fx/src/box.c.o
0x0000000000301158 _sgn
0x000000000030116a _box_move
0x0000000000301290 _box_jump
.text 0x00000000003012f0 0x230 build-fx/src/world.c.o
0x00000000003012f0 _world_get_width
0x0000000000301300 _world_get
0x000000000030135c _display_cell
0x0000000000301418 _world_get_ctg
0x0000000000301458 _world_get_real_x0
0x000000000030146c _world_get_real_y0
0x000000000030147a _world_draw
.text 0x0000000000301520 0x41c build-fx/src/mario.c.o
0x0000000000301530 _mario_draw
0x0000000000301618 _test_sol_le_plus_proche
0x0000000000301684 _mario_move
.text 0x000000000030193c 0x40 build-fx/src/main.c.o
0x000000000030193c _callback
0x0000000000301944 _system_error
.text.startup 0x000000000030197c 0x1c0 build-fx/src/main.c.o
0x000000000030197c _main
.text 0x0000000000301b3c 0x1f4 build-fx/src/keyboard.c.o
0x0000000000301b3c _menu_pause
0x0000000000301c40 _update_keyboard
.text 0x0000000000301d30 0x1d0 build-fx/src/ennemi.c.o
0x0000000000301d30 _display_ennemi
0x0000000000301e1c _move_ennemi
0x0000000000301eb0 _display_ennemi_table
.text 0x0000000000301f00 0xce4 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(stdio.c.o)
0x00000000003028fc _kprint_opt
0x0000000000302a44 _kprint
0x0000000000302b1c _kvsprint
0x0000000000302b64 _sprintf
0x0000000000302b8c _vsprintf
0x0000000000302bac _snprintf
0x0000000000302bcc _vsnprintf
.text 0x0000000000302be4 0xdc /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(memory.c.o)
0x0000000000302be4 _memcpy
0x0000000000302c9e __memmove
0x0000000000302ca2 __memcmp
0x0000000000302ca6 _memset
.text 0x0000000000302cc0 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 0x0000000000302cc0 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 0x0000000000302cc0 0x24 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dupdate.c.o)
0x0000000000302cc0 _dupdate
0x0000000000302cd8 _dupdate_noint
.text 0x0000000000302ce4 0xc8 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dimage.c.o)
0x0000000000302ce4 _dimage
0x0000000000302d38 _dsubimage
.text 0x0000000000302dac 0x4c /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dclear.c.o)
0x0000000000302dac _dclear
.text 0x0000000000302df8 0x3fc /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(keysc.c.o)
0x0000000000302fa0 _pollevent
0x00000000003030e4 _waitevent
0x0000000000303130 _clearevents
0x0000000000303150 _keydown
0x000000000030317c _keydown_all
0x00000000003031b8 _keydown_any
.text 0x00000000003031f4 0x124 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(iokbd.c.o)
0x0000000000303200 _iokbd_row
0x00000000003032e8 _iokbd_scan
.text 0x0000000000303318 0x1f4 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(getkey.c.o)
0x0000000000303318 _getkey_opt
0x00000000003034c4 _getkey
0x00000000003034d0 _getkey_repeat
.text 0x000000000030350c 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 0x000000000030350c 0x1c4 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(exch.c.o)
0x000000000030369c _gint_panic
0x00000000003036ac _gint_panic_set
0x00000000003036b8 _gint_exc_catch
0x00000000003036c4 _gint_exc_skip
.text 0x00000000003036d0 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 0x00000000003036d0 0x17c /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(setup.c.o)
0x0000000000303784 _gint_install
0x0000000000303834 _gint_unload
.text 0x000000000030384c 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 0x000000000030384c 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 0x000000000030384c 0x1f4 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(mmu.c.o)
0x000000000030384c _tlb_addr
0x0000000000303860 _tlb_data
0x0000000000303874 _tlb_mapped_memory
0x0000000000303948 _utlb_addr
0x0000000000303958 _utlb_data
0x0000000000303968 _utlb_mapped_memory
.text 0x0000000000303a40 0x9c /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(topti.c.o)
0x0000000000303a40 _dsize
.text 0x0000000000303adc 0x58 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dprint.c.o)
0x0000000000303adc _dprint
.text 0x0000000000303b34 0x56c /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(tmu.c.o)
0x0000000000303e54 _timer_setup
0x0000000000303ee4 _timer_delay
0x0000000000303f44 _timer_start
0x0000000000303f78 _timer_reload
0x0000000000303f98 _timer_pause
0x0000000000303fcc _timer_stop
0x0000000000304028 _timer_timeout
0x0000000000304034 _timer_address
0x0000000000304070 _timer_clear
.text 0x00000000003040a0 0x58 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(sleep.c.o)
0x00000000003040a0 _sleep_us
.text 0x00000000003040f8 0x1d8 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(t6k11.c.o)
0x0000000000304190 _t6k11_display
0x0000000000304264 _t6k11_contrast
0x0000000000304290 _t6k11_backlight
.text 0x00000000003042d0 0x150 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(cpg.c.o)
0x0000000000304414 _clock_freq
.text 0x0000000000304420 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 0x0000000000304420 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)
0x0000000000304420 _bopti_asm_mono
0x0000000000304446 _bopti_asm_mono_alpha
.text 0x0000000000304478 0x410 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(bopti.c.o)
0x0000000000304478 _bopti_grid
0x00000000003045ec _bopti_render
0x000000000030471c _bopti_render_clip
0x0000000000304830 _bopti_render_noclip
.text 0x0000000000304888 0x9c /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(masks.c.o)
0x0000000000304888 _masks
.text 0x0000000000304924 0x2c /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(vbr.s.o)
0x0000000000304924 _gint_setvbr
.text 0x0000000000304950 0x78 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(gint.c.o)
0x0000000000304950 _gint_intlevel
0x00000000003049a4 _gint_inthandler
.text 0x00000000003049c8 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 0x00000000003049c8 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 0x00000000003049c8 0x78 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_movmem.o)
0x00000000003049c8 ___movstr
0x00000000003049c8 ___movmem
0x00000000003049fc ___movmemSI64
0x00000000003049fc ___movstrSI64
0x0000000000304a00 ___movstrSI60
0x0000000000304a00 ___movmemSI60
0x0000000000304a04 ___movmemSI56
0x0000000000304a04 ___movstrSI56
0x0000000000304a08 ___movstrSI52
0x0000000000304a08 ___movmemSI52
0x0000000000304a0c ___movstrSI48
0x0000000000304a0c ___movmemSI48
0x0000000000304a10 ___movstrSI44
0x0000000000304a10 ___movmemSI44
0x0000000000304a14 ___movstrSI40
0x0000000000304a14 ___movmemSI40
0x0000000000304a18 ___movstrSI36
0x0000000000304a18 ___movmemSI36
0x0000000000304a1c ___movmemSI32
0x0000000000304a1c ___movstrSI32
0x0000000000304a20 ___movmemSI28
0x0000000000304a20 ___movstrSI28
0x0000000000304a24 ___movstrSI24
0x0000000000304a24 ___movmemSI24
0x0000000000304a28 ___movmemSI20
0x0000000000304a28 ___movstrSI20
0x0000000000304a2c ___movstrSI16
0x0000000000304a2c ___movmemSI16
0x0000000000304a30 ___movmemSI12
0x0000000000304a30 ___movstrSI12
0x0000000000304a34 ___movmemSI8
0x0000000000304a34 ___movstrSI8
0x0000000000304a38 ___movmemSI4
0x0000000000304a38 ___movstrSI4
.text 0x0000000000304a40 0x1f0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_udivdi3.o)
0x0000000000304a40 ___udivdi3
.text 0x0000000000304c30 0x234 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_umoddi3.o)
0x0000000000304c30 ___umoddi3
.text 0x0000000000304e64 0x6c /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_udivsi3.o)
0x0000000000304e86 ___udivsi3
.text 0x0000000000304ed0 0x60 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_udiv_qrnnd_16.o)
0x0000000000304ed0 ___udiv_qrnnd_16
.text 0x0000000000304f30 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 0x0000000000304cb0 0x120
.gint.blocks 0x0000000000304f30 0x120
*(.gint.blocks)
.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.blocks 0x0000000000304f30 0x40 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(inth.S.o)
0x0000000000304f30 _gint_inth_7305
0x0000000000304f50 _gint_inth_7705
.gint.blocks 0x0000000000304f70 0xe0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(inth.s.o)
0x0000000000304f70 _inth_tmu
0x0000000000304ff0 _inth_etmu2
0x0000000000305010 _inth_etmu_help
0x0000000000305030 _inth_etmux
.gint.drivers 0x0000000000304dd0 0x90
0x0000000000304dd0 _bdrv = .
.gint.drivers 0x0000000000305050 0x90
0x0000000000305050 _bdrv = .
*(.gint.drivers.0)
*(.gint.drivers.1)
.gint.drivers.1
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
0x0000000000305050 0x24 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(cpg.c.o)
0x0000000000305050 _drv_cpg
*(.gint.drivers.2)
.gint.drivers.2
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
0x0000000000305074 0x24 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(tmu.c.o)
0x0000000000305074 _drv_tmu
*(.gint.drivers.3)
*(.gint.drivers.4)
.gint.drivers.4
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
0x0000000000305098 0x24 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(keysc.c.o)
0x0000000000305098 _drv_keysc
*(.gint.drivers.5)
.gint.drivers.5
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
0x00000000003050bc 0x24 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(t6k11.c.o)
0x00000000003050bc _drv_t6k11
*(.gint.drivers.6)
0x0000000000304e60 _edrv = .
0x00000000003050e0 _edrv = .
.rodata 0x0000000000304e60 0x28c4
.rodata 0x00000000003050e0 0x294c
*(.rodata.4)
*(.rodata .rodata.*)
.rodata 0x00000000003050e0 0x2c build-fx/src/level.c.o
.rodata.str1.4
0x0000000000304e60 0x1e build-fx/src/score.c.o
0x000000000030510c 0x1e build-fx/src/score.c.o
.rodata.str1.4
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
0x000000000030512a 0x3 build-fx/src/main.c.o
*fill* 0x000000000030512a 0x2
.rodata 0x000000000030512c 0x10 build-fx/src/ennemi.c.o
.rodata 0x000000000030513c 0x204 build-fx/assets/fonts/mario.png.o
0x000000000030513c _font_mario
0x0000000000305340 _font_mario_end
.rodata 0x0000000000305340 0x20 build-fx/assets/img/bonus.png.o
0x0000000000305340 _img_bonus
0x0000000000305360 _img_bonus_end
.rodata 0x0000000000305360 0x404 build-fx/assets/img/ram.png.o
0x0000000000305360 _img_ram
0x0000000000305764 _img_ram_end
.rodata 0x0000000000305764 0x64 build-fx/assets/img/mario.png.o
0x0000000000305764 _img_mario
0x00000000003057c8 _img_mario_end
.rodata 0x00000000003057c8 0x404 build-fx/assets/img/main.png.o
0x00000000003057c8 _img_main
0x0000000000305bcc _img_main_end
.rodata 0x0000000000305bcc 0x4c build-fx/assets/img/brick.png.o
0x0000000000305bcc _img_brick
0x0000000000305c18 _img_brick_end
.rodata 0x0000000000305c18 0x84 build-fx/assets/img/menu_pause.png.o
0x0000000000305c18 _img_menu_pause
0x0000000000305c9c _img_menu_pause_end
.rodata 0x0000000000305c9c 0x18 build-fx/assets/img/select_arrow.png.o
0x0000000000305c9c _img_select_arrow
0x0000000000305cb4 _img_select_arrow_end
.rodata 0x0000000000305cb4 0x404 build-fx/assets/img/new_level.png.o
0x0000000000305cb4 _img_new_level
0x00000000003060b8 _img_new_level_end
.rodata 0x00000000003060b8 0x24 build-fx/assets/img/death.png.o
0x00000000003060b8 _img_death
0x00000000003060dc _img_death_end
.rodata 0x00000000003060dc 0x404 build-fx/assets/img/time_over.png.o
0x00000000003060dc _img_time_over
0x00000000003064e0 _img_time_over_end
.rodata 0x00000000003064e0 0x4c build-fx/assets/img/coin.png.o
0x00000000003064e0 _img_coin
0x000000000030652c _img_coin_end
.rodata 0x000000000030652c 0xdc build-fx/assets/img/mariosmall.png.o
0x000000000030652c _img_mariosmall
0x0000000000306608 _img_mariosmall_end
.rodata 0x0000000000306608 0x28 build-fx/assets/img/gift.png.o
0x0000000000306608 _img_gift
0x0000000000306630 _img_gift_end
.rodata 0x0000000000306630 0x404 build-fx/assets/img/error.png.o
0x0000000000306630 _img_error
0x0000000000306a34 _img_error_end
.rodata 0x0000000000306a34 0xb8 build-fx/assets/img/tuyau.png.o
0x0000000000306a34 _img_tuyau
0x0000000000306aec _img_tuyau_end
.rodata 0x0000000000306aec 0x404 build-fx/assets/img/level.png.o
0x0000000000306aec _img_level
0x0000000000306ef0 _img_level_end
.rodata 0x0000000000306ef0 0x4c build-fx/assets/img/goomba.png.o
0x0000000000306ef0 _img_goomba
0x0000000000306f3c _img_goomba_end
.rodata 0x0000000000306f3c 0x4c build-fx/assets/img/stone.png.o
0x0000000000306f3c _img_stone
0x0000000000306f88 _img_stone_end
.rodata 0x0000000000306f88 0x404 build-fx/assets/img/lvl0.png.o
0x0000000000306f88 _img_lvl0
0x000000000030738c _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)
0x000000000030738c 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* 0x00000000003073bd 0x3
.rodata 0x00000000003073c0 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
0x00000000003073c8 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* 0x00000000003073ce 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)
0x00000000003073d0 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* 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)
*fill* 0x00000000003074ea 0x2
.rodata 0x00000000003074ec 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
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
0x0000000000307504 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 0x0000000000307508 0x408 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(font5x7.png.o)
0x0000000000307508 _gint_font5x7
0x0000000000307910 _gint_font5x7_end
.rodata.str1.4
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
0x0000000000307910 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* 0x0000000000307916 0x2
.rodata.str1.4
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
0x0000000000307918 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 0x000000000030791c 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 0x000000000030792c 0x100 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_clz.o)
0x000000000030792c ___clz_tab
.rela.dyn 0x0000000000307724 0x0
.rela.text 0x0000000000307724 0x0 build-fx/src/score.c.o
.rela.dyn 0x0000000000307a2c 0x0
.rela.text 0x0000000000307a2c 0x0 build-fx/src/score.c.o
.rela.text.startup
0x0000000000307724 0x0 build-fx/src/score.c.o
0x0000000000307a2c 0x0 build-fx/src/score.c.o
.rela.pretext.entry
0x0000000000307724 0x0 build-fx/src/score.c.o
0x0000000000307a2c 0x0 build-fx/src/score.c.o
0x0000000008100000 . = ORIGIN (ram)
.bss 0x0000000008100000 0x5b0
@ -564,61 +576,64 @@ LOAD /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a
0x0000000008100020 _w_current_x
0x0000000008100024 _w_fond
0x0000000008100028 _w_current
.bss 0x000000000810002c 0x1c build-fx/src/mario.c.o
.bss 0x000000000810002c 0x20 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)
0x0000000008100030 _mario_accel
0x0000000008100034 _last_bonus
0x0000000008100038 _mario_coins
0x000000000810003c _mario_dead
0x0000000008100040 _mario_time_accel
0x0000000008100044 _mario_x_max
0x0000000008100048 _id_frame
.bss 0x000000000810004c 0x0 build-fx/src/main.c.o
.bss 0x000000000810004c 0x18 build-fx/src/keyboard.c.o
0x000000000810004c _keys
.bss 0x0000000008100064 0x8 build-fx/src/ennemi.c.o
0x0000000008100064 _ennemis_global_size
0x0000000008100068 _ennemis_global
.bss 0x000000000810006c 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 0x0000000008100180 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 0x0000000008100180 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 0x0000000008100180 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 0x0000000008100180 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 0x0000000008100580 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 0x0000000008100580 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 0x0000000008100580 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 0x00000000081005a4 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 0x00000000081005a4 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 0x00000000081005b0 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 0x00000000081005b0 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 0x00000000081005b0 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 0x00000000081005b0 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 0x00000000081005b0 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 0x00000000081005b0 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 0x00000000081005b0 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 0x00000000081005b0 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 0x00000000081005b0 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 0x00000000081005b0 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 0x00000000081005b0 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 0x00000000081005b0 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 0x00000000081005b0 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 0x00000000081005b0 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 0x00000000081005b0 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 0x00000000081005b0 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 0x00000000081005b0 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 0x00000000081005b0 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 0x00000000081005b0 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 0x00000000081005b0 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 0x00000000081005b0 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 0x00000000081005b0 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_movmem.o)
.bss 0x00000000081005b0 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_udivdi3.o)
.bss 0x00000000081005b0 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_umoddi3.o)
.bss 0x00000000081005b0 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_udivsi3.o)
.bss 0x00000000081005b0 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 0x00000000081005b0 0x0 /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a(_clz.o)
*(B R)
0x00000000081005b0 . = ALIGN (0x10)
*fill* 0x00000000081005a4 0xc
0x00000000000005b0 _sbss = SIZEOF (.bss)
.data 0x00000000081005b0 0x120 load address 0x0000000000307724
0x0000000000307724 _ldata = LOADADDR (.data)
.data 0x00000000081005b0 0x120 load address 0x0000000000307a2c
0x0000000000307a2c _ldata = LOADADDR (.data)
0x00000000081005b0 _rdata = .
*(.data .data.*)
.data 0x00000000081005b0 0x0 build-fx/src/level.c.o
@ -640,6 +655,7 @@ LOAD /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a
0x000000000810063c _mario_small
.data 0x000000000810064c 0x0 build-fx/src/main.c.o
.data 0x000000000810064c 0x0 build-fx/src/keyboard.c.o
.data 0x000000000810064c 0x0 build-fx/src/ennemi.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)
@ -684,28 +700,28 @@ LOAD /home/gmilan/opt/sh-elf-2.33-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a
0x00000000081006d0 . = ALIGN (0x10)
*fill* 0x00000000081006c4 0xc
.data.4 0x00000000081006d0 0x0 load address 0x0000000000307844
.data.4 0x00000000081006d0 0x0 load address 0x0000000000307b4c
*(.data.4)
0x00000000081006d0 . = ALIGN (0x10)
0x0000000000000120 _sdata = (SIZEOF (.data) + SIZEOF (.data.4))
0x00000000e5200000 . = ORIGIN (ilram)
.ilram 0x00000000e5200000 0x0 load address 0x0000000000307844
0x0000000000307844 _lilram = LOADADDR (.ilram)
.ilram 0x00000000e5200000 0x0 load address 0x0000000000307b4c
0x0000000000307b4c _lilram = LOADADDR (.ilram)
0x00000000e5200000 _rilram = .
*(.ilram)
0x00000000e5200000 . = ALIGN (0x10)
0x00000000e5007000 . = ORIGIN (xram)
.xram 0x00000000e5007000 0x0 load address 0x0000000000307844
0x0000000000307844 _lxram = LOADADDR (.xram)
.xram 0x00000000e5007000 0x0 load address 0x0000000000307b4c
0x0000000000307b4c _lxram = LOADADDR (.xram)
0x00000000e5007000 _rxram = .
*(.xram)
0x00000000e5007000 . = ALIGN (0x10)
0x00000000e5017000 . = ORIGIN (yram)
.yram 0x00000000e5017000 0x0 load address 0x0000000000307844
0x0000000000307844 _lyram = LOADADDR (.yram)
.yram 0x00000000e5017000 0x0 load address 0x0000000000307b4c
0x0000000000307b4c _lyram = LOADADDR (.yram)
0x00000000e5017000 _ryram = .
*(.yram)
0x00000000e5017000 . = ALIGN (0x10)
@ -715,8 +731,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 0x0000000000307844
0x0000000000307844 _lgdata = LOADADDR (.gint.data)
.gint.data 0x000000008800f400 0x140 load address 0x0000000000307b4c
0x0000000000307b4c _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)
@ -737,7 +753,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 0x0000000000307984
.gint.bss 0x000000008800f540 0x290 load address 0x0000000000307c8c
*(.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)

14
build-fx/src/ennemi.c.d

@ -0,0 +1,14 @@
build-fx/src/ennemi.c.o: src/ennemi.c src/ennemi.h src/box.h src/mario.h \
src/tile.h src/world.h src/score.h
src/ennemi.h:
src/box.h:
src/mario.h:
src/tile.h:
src/world.h:
src/score.h:

BIN
build-fx/src/ennemi.c.o

Binary file not shown.

4
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/score.h
src/box.h src/score.h src/ennemi.h
src/level.h:
@ -10,3 +10,5 @@ src/mario.h:
src/box.h:
src/score.h:
src/ennemi.h:

BIN
build-fx/src/level.c.o

Binary file not shown.

4
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/score.h
src/level.h src/score.h src/ennemi.h
src/world.h:
@ -10,3 +10,5 @@ src/box.h:
src/level.h:
src/score.h:
src/ennemi.h:

BIN
build-fx/src/main.c.o

Binary file not shown.

BIN
build-fx/src/mario.c.o

Binary file not shown.

BIN
build-fx/src/score.c.o

Binary file not shown.

78
src/ennemi.c

@ -0,0 +1,78 @@
#include "ennemi.h"
#include "mario.h"
#include "box.h"
#include "tile.h"
#include "world.h"
#include "score.h"
void display_ennemi(ennemi_t const * e)
{
if (e->life==DEAD)
return;
if (e->b.x-e->b.w<=world_get_real_x0(0) || e->b.x>=world_get_real_x0(0)+127)
return;
if (e->type==GOOMBA)
{
extern image_t img_goomba;
tileset_t goomba={&img_goomba, 8, 8, 1};
if (e->life==1)
draw_tile(e->b.x-world_get_real_x0(0), e->b.y-world_get_real_y0(mario.p.y), &goomba, 1+(time_id/10)%2, 0);
if (e->life==0)
draw_tile(e->b.x-world_get_real_x0(0), e->b.y-world_get_real_y0(mario.p.y), &goomba, 0, 0);
}
}
void move_ennemi(ennemi_t *e)
{
if (e->b.x-e->b.w<=world_get_real_x0(0) || e->b.x>=world_get_real_x0(0)+127)
return;
if (e->life==DEAD)
return;
if (e->type==NONE)
return;
if (e->type==GOOMBA)
{
int old_vx=e->b.vx;
if (time_id%2)
e->b.vx=0;
box_move(&e->b);
if (time_id%2)
e->b.vx=old_vx;
if (e->b.vx==0)
{
if (e->p1==0)
{
e->b.vx=-1;
e->p1=-1;
}
if (e->p1==1)
{
e->b.vx=-1;
e->p1=-1;
}
if (e->p1==-1)
{
e->b.vx=1;
e->p1=1;
}
}
if (e->b.y<0)
e->type=NONE;
}
}
void ennemi_collision(ennemi_t *e);
ennemi_t * ennemis_global=0;
int ennemis_global_size=0;
void display_ennemi_table()
{
for (int i=0; i<ennemis_global_size; i++)
{
move_ennemi(&ennemis_global[i]);
display_ennemi(&ennemis_global[i]);
}
}

29
src/ennemi.h

@ -0,0 +1,29 @@
#ifndef ENNEMI_H
#define ENNEMI_H
#include "box.h"
#define NONE 0
#define GOOMBA 1
#define DEAD -1
#define STATE1 0
#define STATE2 1
#define STATE3 2
typedef struct
{
int type;
box_t b;
int p1;
int p2;
int life;
} ennemi_t;
void display_ennemi(ennemi_t const * e);
extern ennemi_t * ennemis_global;
extern int ennemis_global_size;
void display_ennemi_table();
#endif

22
src/level.c

@ -2,6 +2,7 @@
#include "world.h"
#include "mario.h"
#include "score.h"
#include "ennemi.h"
#include <gint/display.h>
#include <gint/std/stdlib.h>
#include <gint/keyboard.h>
@ -27,7 +28,7 @@ void init_level(world_t * lvl)
{
free(w_current);
}
int size=sizeof(int)*w_current_y*w_current_x;
int size=sizeof(world_t)*w_current_y*w_current_x;
w_current=malloc(size);
if (w_current==0)
malloc_error();
@ -35,6 +36,20 @@ void init_level(world_t * lvl)
memcpy(w_current, lvl, size);
}
void init_ennemies(ennemi_t * table)
{
if (ennemis_global)
{
free(ennemis_global);
}
int size=sizeof(ennemi_t)*ennemis_global_size;
ennemis_global=malloc(size);
if (ennemis_global==0)
malloc_error();
memcpy(ennemis_global, table, size);
}
void set_level(int n)
{
new_level();
@ -78,6 +93,11 @@ void set_level(int n)
mario.p.x=25;
mario.p.y=16;
init_level(lvl);
ennemis_global_size=1;
ennemi_t ennemies0={GOOMBA,{35,16,8,8,0,0,1},0,0,1};
init_ennemies(&ennemies0);
}
}

6
src/main.c

@ -6,11 +6,13 @@
#include "mario.h"
#include "level.h"
#include "score.h"
#include "ennemi.h"
#include <gint/exc.h>
#include <gint/keyboard.h>
#include <gint/defs/attributes.h>
#include <gint/clock.h>
#include <gint/std/stdio.h>
extern image_t img_error;
GNORETURN void system_error(uint32_t code)
@ -49,9 +51,9 @@ int main(void)
world_draw(mario.p.x,mario.p.y);
score_display();
//ennemies_draw();
//ingame_draw();
display_ennemi_table();
dupdate();
if (mario_dead==1)
{

21
src/mario.c

@ -34,6 +34,7 @@ int mario_dead=0;
int mario_coins=0;
int last_vx_sign=1;
int last_bonus=0;
int mario_accel=0;
void mario_draw()
{
@ -118,11 +119,23 @@ void mario_move()
else
{
if (mario.p.vx)
{
mario_time_accel++;
mario_time_accel%=4;
if (mario_time_accel==0)
{
if (mario_accel)
{
mario_time_accel++;
mario_time_accel%=4;
if (mario_time_accel==0)
{
mario.p.vx-=sgn(mario.p.vx);
mario_accel=-sgn(mario.p.vx);
}
}
else
{
mario.p.vx-=sgn(mario.p.vx);
mario_accel=-sgn(mario.p.vx);
}
}
else
mario_time_accel=0;

4
src/score.c

@ -73,6 +73,10 @@ void score_display()
sprintf(str, "+ %d", combo);
dtext(0,6,str, C_BLACK, C_WHITE);
}
else
{
combo=0;
}
sprintf(str, "c*%d", pieces);
dtext(50,0,str, C_BLACK, C_WHITE);

1
src/score.h

@ -4,6 +4,7 @@
extern int score;
extern int lifes;
extern int end_level; // si ==-1, continue, si 0==retry, si ==1 ou + next
extern int time_id;
void score_add(int);
void score_display();

Loading…
Cancel
Save