Browse Source

added dependencies for items (houses, walls)

new wall design
darkness incomplete because of fxconv
master
milang 2 months ago
parent
commit
329be8810a

BIN
BitmapWs.g1a View File


BIN
assets-fx/icon-fx.png View File


BIN
assets-fx/img/brouillard.png View File


BIN
assets-fx/img/houses.png View File


BIN
assets-fx/img/wall.png View File


BIN
build-fx/assets/img/brouillard.png.o View File


BIN
build-fx/assets/img/houses.png.o View File


BIN
build-fx/assets/img/wall.png.o View File


+ 298
- 222
build-fx/map View File

@@ -14,6 +14,8 @@ Archive member included to satisfy reference by file (symbol)
/usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(dtext.c.o) (topti_render)
/usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(dupdate.c.o)
build-fx/src/main.o (dupdate)
/usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(dimage.c.o)
build-fx/src/item.o (dsubimage)
/usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(topti.c.o)
/usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(topti.c.o) (charset_size)
/usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(tmu.c.o)
@@ -29,13 +31,19 @@ Archive member included to satisfy reference by file (symbol)
/usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(t6k11.c.o)
/usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(dupdate.c.o) (t6k11_display)
/usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(memory.c.o)
/usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(gint.c.o) (memcpy)
build-fx/src/map.o (memcpy)
/usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(font5x7.png.o)
/usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(topti.c.o) (gint_font5x7)
/usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(iokbd.c.o)
/usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(keysc.c.o) (iokbd_scan)
/usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(cpg.c.o)
/usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(tmu.c.o) (clock_freq)
/usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(bopti-asm.s.o)
/usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(dimage.c.o) (bopti_asm_mono)
/usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(bopti.c.o)
/usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(dimage.c.o) (bopti_render_clip)
/usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(masks.c.o)
/usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(bopti.c.o) (masks)
/usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(inth.s.o)
/usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(tmu.c.o) (inth_tmu)
/usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(exch.S.o)
@@ -59,15 +67,23 @@ Archive member included to satisfy reference by file (symbol)
/usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_clz.o)
/usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_udivdi3.o) (__clz_tab)

Allocating common symbols
Common symbol size file

map 0x258 build-fx/src/map.o

Discarded input sections

.comment 0x0000000000000000 0x12 build-fx/src/item.o
.comment 0x0000000000000000 0x12 build-fx/src/main.o
.comment 0x0000000000000000 0x12 build-fx/src/map.o
.comment 0x0000000000000000 0x12 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(getkey.c.o)
.comment 0x0000000000000000 0x12 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(keysc.c.o)
.comment 0x0000000000000000 0x12 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(dclear.c.o)
.comment 0x0000000000000000 0x12 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(dtext.c.o)
.comment 0x0000000000000000 0x12 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(topti.c.o)
.comment 0x0000000000000000 0x12 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(dupdate.c.o)
.comment 0x0000000000000000 0x12 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(dimage.c.o)
.comment 0x0000000000000000 0x12 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(topti.c.o)
.comment 0x0000000000000000 0x12 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(tmu.c.o)
.comment 0x0000000000000000 0x12 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(gint.c.o)
@@ -78,6 +94,8 @@ Discarded input sections
.comment 0x0000000000000000 0x12 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(memory.c.o)
.comment 0x0000000000000000 0x12 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(iokbd.c.o)
.comment 0x0000000000000000 0x12 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(cpg.c.o)
.comment 0x0000000000000000 0x12 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(bopti.c.o)
.comment 0x0000000000000000 0x12 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(masks.c.o)
.comment 0x0000000000000000 0x12 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(mmu.c.o)
.comment 0x0000000000000000 0x12 /usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_udivdi3.o)
.comment 0x0000000000000000 0x12 /usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_clz.o)
@@ -93,11 +111,16 @@ rram 0x000000008800f400 0x0000000000000c00 xrw

Linker script and memory map

LOAD build-fx/src/item.o
LOAD build-fx/src/main.o
LOAD build-fx/src/map.o
LOAD build-fx/assets/img/brouillard.png.o
LOAD build-fx/assets/img/houses.png.o
LOAD build-fx/assets/img/wall.png.o
LOAD /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a
LOAD /usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a
0x0000000000300000 _brom = 0x300000
0x00000000000020d0 _srom = ((((0x200 + SIZEOF (.text)) + SIZEOF (.rodata)) + SIZEOF (.gint.drivers)) + SIZEOF (.gint.blocks))
0x0000000000002c94 _srom = ((((0x200 + SIZEOF (.text)) + SIZEOF (.rodata)) + SIZEOF (.gint.drivers)) + SIZEOF (.gint.blocks))

.pretext 0x0000000000300200 0x8a8
*(.pretext.entry)
@@ -137,265 +160,318 @@ LOAD /usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a
*(.dtors .dtors.*)
0x0000000000300aa8 _etors = .

.text 0x0000000000300aa8 0x17b0
.text 0x0000000000300aa8 0x20d0
*(.text .text.*)
.text 0x0000000000300aa8 0x0 build-fx/src/main.o
.text.startup 0x0000000000300aa8 0x44 build-fx/src/main.o
0x0000000000300aa8 main
.text 0x0000000000300aec 0x1c8 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(getkey.c.o)
0x0000000000300aec getkey_opt
0x0000000000300c6c getkey
0x0000000000300c78 getkey_repeat
.text 0x0000000000300cb4 0x2c8 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(keysc.c.o)
0x0000000000300e58 pollevent
0x0000000000300f44 waitevent
.text 0x0000000000300f7c 0x4c /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(dclear.c.o)
0x0000000000300f7c dclear
.text 0x0000000000300fc8 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(dtext.c.o)
.text 0x0000000000300fc8 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(topti-asm.s.o)
.text 0x0000000000300fc8 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(topti.c.o)
.text 0x0000000000300fc8 0x24 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(dupdate.c.o)
0x0000000000300fc8 dupdate
0x0000000000300fe0 dupdate_noint
.text 0x0000000000300fec 0x9c /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(topti.c.o)
0x0000000000300fec dsize
.text 0x0000000000301088 0x56c /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(tmu.c.o)
0x00000000003013a8 timer_setup
0x0000000000301438 timer_delay
0x0000000000301498 timer_start
0x00000000003014cc timer_reload
0x00000000003014ec timer_pause
0x0000000000301520 timer_stop
0x000000000030157c timer_timeout
0x0000000000301588 timer_address
0x00000000003015c4 timer_clear
.text 0x00000000003015f4 0x78 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(gint.c.o)
0x00000000003015f4 gint_intlevel
0x0000000000301648 gint_inthandler
.text 0x000000000030166c 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(hardware.c.o)
.text 0x000000000030166c 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(start.c.o)
.text 0x000000000030166c 0x170 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(setup.c.o)
0x0000000000301720 gint_install
0x00000000003017c4 gint_unload
.text 0x00000000003017dc 0x1d8 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(t6k11.c.o)
0x0000000000301874 t6k11_display
0x0000000000301948 t6k11_contrast
0x0000000000301974 t6k11_backlight
.text 0x00000000003019b4 0xdc /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(memory.c.o)
0x00000000003019b4 memcpy
0x0000000000301a6e _memmove
0x0000000000301a72 _memcmp
0x0000000000301a76 memset
.text 0x0000000000301a90 0x124 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(iokbd.c.o)
0x0000000000301a9c iokbd_row
0x0000000000301b84 iokbd_scan
.text 0x0000000000301bb4 0x150 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(cpg.c.o)
0x0000000000301cf8 clock_freq
.text 0x0000000000301d04 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(inth.s.o)
.text 0x0000000000301d04 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(exch.S.o)
.text 0x0000000000301d04 0x2c /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(vbr.s.o)
0x0000000000301d04 gint_setvbr
.text 0x0000000000301d30 0x1f4 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(mmu.c.o)
0x0000000000301d30 tlb_addr
0x0000000000301d44 tlb_data
0x0000000000301d58 tlb_mapped_memory
0x0000000000301e2c utlb_addr
0x0000000000301e3c utlb_data
0x0000000000301e4c utlb_mapped_memory
.text 0x0000000000301f24 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(syscalls.S.o)
.text 0x0000000000301f24 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(inth.S.o)
.text 0x0000000000301f24 0x78 /usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_movmem.o)
0x0000000000301f24 __movstr
0x0000000000301f24 __movmem
0x0000000000301f58 __movmemSI64
0x0000000000301f58 __movstrSI64
0x0000000000301f5c __movstrSI60
0x0000000000301f5c __movmemSI60
0x0000000000301f60 __movmemSI56
0x0000000000301f60 __movstrSI56
0x0000000000301f64 __movstrSI52
0x0000000000301f64 __movmemSI52
0x0000000000301f68 __movstrSI48
0x0000000000301f68 __movmemSI48
0x0000000000301f6c __movstrSI44
0x0000000000301f6c __movmemSI44
0x0000000000301f70 __movstrSI40
0x0000000000301f70 __movmemSI40
0x0000000000301f74 __movstrSI36
0x0000000000301f74 __movmemSI36
0x0000000000301f78 __movmemSI32
0x0000000000301f78 __movstrSI32
0x0000000000301f7c __movmemSI28
0x0000000000301f7c __movstrSI28
0x0000000000301f80 __movstrSI24
0x0000000000301f80 __movmemSI24
0x0000000000301f84 __movmemSI20
0x0000000000301f84 __movstrSI20
0x0000000000301f88 __movstrSI16
0x0000000000301f88 __movmemSI16
0x0000000000301f8c __movmemSI12
0x0000000000301f8c __movstrSI12
0x0000000000301f90 __movmemSI8
0x0000000000301f90 __movstrSI8
0x0000000000301f94 __movmemSI4
0x0000000000301f94 __movstrSI4
.text 0x0000000000301f9c 0x1f0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_udivdi3.o)
0x0000000000301f9c __udivdi3
.text 0x000000000030218c 0x6c /usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_udivsi3.o)
0x00000000003021ae __udivsi3
.text 0x00000000003021f8 0x60 /usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_udiv_qrnnd_16.o)
0x00000000003021f8 __udiv_qrnnd_16
.text 0x0000000000302258 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_clz.o)
.text 0x0000000000300aa8 0x1c8 build-fx/src/item.o
0x0000000000300aa8 get_item_type
0x0000000000300ac4 display_item_etendu
0x0000000000300b60 display_brouillard
0x0000000000300bf0 display_item
0x0000000000300c64 display_case
.text 0x0000000000300c70 0x0 build-fx/src/main.o
.text.startup 0x0000000000300c70 0x58 build-fx/src/main.o
0x0000000000300c70 main
.text 0x0000000000300cc8 0x17c build-fx/src/map.o
0x0000000000300cc8 create_map
0x0000000000300d40 get_item
0x0000000000300d6c get_visibility
0x0000000000300d9c set_item
0x0000000000300dd4 display
.text 0x0000000000300e44 0x1c8 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(getkey.c.o)
0x0000000000300e44 getkey_opt
0x0000000000300fc4 getkey
0x0000000000300fd0 getkey_repeat
.text 0x000000000030100c 0x2c8 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(keysc.c.o)
0x00000000003011b0 pollevent
0x000000000030129c waitevent
.text 0x00000000003012d4 0x4c /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(dclear.c.o)
0x00000000003012d4 dclear
.text 0x0000000000301320 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(dtext.c.o)
.text 0x0000000000301320 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(topti-asm.s.o)
.text 0x0000000000301320 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(topti.c.o)
.text 0x0000000000301320 0x24 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(dupdate.c.o)
0x0000000000301320 dupdate
0x0000000000301338 dupdate_noint
.text 0x0000000000301344 0xc8 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(dimage.c.o)
0x0000000000301344 dimage
0x0000000000301398 dsubimage
.text 0x000000000030140c 0x9c /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(topti.c.o)
0x000000000030140c dsize
.text 0x00000000003014a8 0x56c /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(tmu.c.o)
0x00000000003017c8 timer_setup
0x0000000000301858 timer_delay
0x00000000003018b8 timer_start
0x00000000003018ec timer_reload
0x000000000030190c timer_pause
0x0000000000301940 timer_stop
0x000000000030199c timer_timeout
0x00000000003019a8 timer_address
0x00000000003019e4 timer_clear
.text 0x0000000000301a14 0x78 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(gint.c.o)
0x0000000000301a14 gint_intlevel
0x0000000000301a68 gint_inthandler
.text 0x0000000000301a8c 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(hardware.c.o)
.text 0x0000000000301a8c 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(start.c.o)
.text 0x0000000000301a8c 0x170 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(setup.c.o)
0x0000000000301b40 gint_install
0x0000000000301be4 gint_unload
.text 0x0000000000301bfc 0x1d8 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(t6k11.c.o)
0x0000000000301c94 t6k11_display
0x0000000000301d68 t6k11_contrast
0x0000000000301d94 t6k11_backlight
.text 0x0000000000301dd4 0xdc /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(memory.c.o)
0x0000000000301dd4 memcpy
0x0000000000301e8e _memmove
0x0000000000301e92 _memcmp
0x0000000000301e96 memset
.text 0x0000000000301eb0 0x124 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(iokbd.c.o)
0x0000000000301ebc iokbd_row
0x0000000000301fa4 iokbd_scan
.text 0x0000000000301fd4 0x150 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(cpg.c.o)
0x0000000000302118 clock_freq
.text 0x0000000000302124 0x58 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(bopti-asm.s.o)
0x0000000000302124 bopti_asm_mono
0x000000000030214a bopti_asm_mono_alpha
.text 0x000000000030217c 0x408 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(bopti.c.o)
0x000000000030217c bopti_grid
0x00000000003022f0 bopti_render
0x0000000000302418 bopti_render_clip
0x000000000030252c bopti_render_noclip
.text 0x0000000000302584 0x9c /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(masks.c.o)
0x0000000000302584 masks
.text 0x0000000000302620 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(inth.s.o)
.text 0x0000000000302620 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(exch.S.o)
.text 0x0000000000302620 0x2c /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(vbr.s.o)
0x0000000000302620 gint_setvbr
.text 0x000000000030264c 0x1f4 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(mmu.c.o)
0x000000000030264c tlb_addr
0x0000000000302660 tlb_data
0x0000000000302674 tlb_mapped_memory
0x0000000000302748 utlb_addr
0x0000000000302758 utlb_data
0x0000000000302768 utlb_mapped_memory
.text 0x0000000000302840 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(syscalls.S.o)
.text 0x0000000000302840 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(inth.S.o)
.text 0x0000000000302840 0x78 /usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_movmem.o)
0x0000000000302840 __movstr
0x0000000000302840 __movmem
0x0000000000302874 __movmemSI64
0x0000000000302874 __movstrSI64
0x0000000000302878 __movstrSI60
0x0000000000302878 __movmemSI60
0x000000000030287c __movmemSI56
0x000000000030287c __movstrSI56
0x0000000000302880 __movstrSI52
0x0000000000302880 __movmemSI52
0x0000000000302884 __movstrSI48
0x0000000000302884 __movmemSI48
0x0000000000302888 __movstrSI44
0x0000000000302888 __movmemSI44
0x000000000030288c __movstrSI40
0x000000000030288c __movmemSI40
0x0000000000302890 __movstrSI36
0x0000000000302890 __movmemSI36
0x0000000000302894 __movmemSI32
0x0000000000302894 __movstrSI32
0x0000000000302898 __movmemSI28
0x0000000000302898 __movstrSI28
0x000000000030289c __movstrSI24
0x000000000030289c __movmemSI24
0x00000000003028a0 __movmemSI20
0x00000000003028a0 __movstrSI20
0x00000000003028a4 __movstrSI16
0x00000000003028a4 __movmemSI16
0x00000000003028a8 __movmemSI12
0x00000000003028a8 __movstrSI12
0x00000000003028ac __movmemSI8
0x00000000003028ac __movstrSI8
0x00000000003028b0 __movmemSI4
0x00000000003028b0 __movstrSI4
.text 0x00000000003028b8 0x1f0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_udivdi3.o)
0x00000000003028b8 __udivdi3
.text 0x0000000000302aa8 0x6c /usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_udivsi3.o)
0x0000000000302aca __udivsi3
*fill* 0x0000000000302b14 0x4
.text 0x0000000000302b18 0x60 /usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_udiv_qrnnd_16.o)
0x0000000000302b18 __udiv_qrnnd_16
.text 0x0000000000302b78 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_clz.o)
*(C P)

.gint.blocks 0x0000000000302260 0x140
.gint.blocks 0x0000000000302b80 0x140
*(.gint.blocks)
.gint.blocks 0x0000000000302260 0xe0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(inth.s.o)
0x0000000000302260 inth_tmu
0x00000000003022e0 inth_etmu2
0x0000000000302300 inth_etmu_help
0x0000000000302320 inth_etmux
.gint.blocks 0x0000000000302340 0x20 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(exch.S.o)
0x0000000000302340 exch_entry_7705
0x0000000000302340 exch_entry_7305
.gint.blocks 0x0000000000302360 0x40 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(inth.S.o)
0x0000000000302360 inth_entry_7305
0x0000000000302380 inth_entry_7705
.gint.blocks 0x0000000000302b80 0xe0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(inth.s.o)
0x0000000000302b80 inth_tmu
0x0000000000302c00 inth_etmu2
0x0000000000302c20 inth_etmu_help
0x0000000000302c40 inth_etmux
.gint.blocks 0x0000000000302c60 0x20 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(exch.S.o)
0x0000000000302c60 exch_entry_7705
0x0000000000302c60 exch_entry_7305
.gint.blocks 0x0000000000302c80 0x40 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(inth.S.o)
0x0000000000302c80 inth_entry_7305
0x0000000000302ca0 inth_entry_7705

.gint.drivers 0x00000000003023a0 0x90
0x00000000003023a0 _bdrv = .
.gint.drivers 0x0000000000302cc0 0x90
0x0000000000302cc0 _bdrv = .
*(.gint.drivers.0)
*(.gint.drivers.1)
.gint.drivers.1
0x00000000003023a0 0x24 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(cpg.c.o)
0x00000000003023a0 drv_cpg
0x0000000000302cc0 0x24 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(cpg.c.o)
0x0000000000302cc0 drv_cpg
*(.gint.drivers.2)
.gint.drivers.2
0x00000000003023c4 0x24 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(tmu.c.o)
0x00000000003023c4 drv_tmu
0x0000000000302ce4 0x24 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(tmu.c.o)
0x0000000000302ce4 drv_tmu
*(.gint.drivers.3)
*(.gint.drivers.4)
.gint.drivers.4
0x00000000003023e8 0x24 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(keysc.c.o)
0x00000000003023e8 drv_keysc
0x0000000000302d08 0x24 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(keysc.c.o)
0x0000000000302d08 drv_keysc
*(.gint.drivers.5)
.gint.drivers.5
0x000000000030240c 0x24 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(t6k11.c.o)
0x000000000030240c drv_t6k11
0x0000000000302d2c 0x24 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(t6k11.c.o)
0x0000000000302d2c drv_t6k11
*(.gint.drivers.6)
0x0000000000302430 _edrv = .
0x0000000000302d50 _edrv = .

.rodata 0x0000000000302430 0x550
.rodata 0x0000000000302d50 0x7f4
*(.rodata .rodata.*)
.rodata.str1.4
0x0000000000302430 0x15 build-fx/src/main.o
*fill* 0x0000000000302445 0x3
0x0000000000302d50 0x15 build-fx/src/main.o
*fill* 0x0000000000302d65 0x3
.rodata 0x0000000000302d68 0x104 build-fx/assets/img/brouillard.png.o
0x0000000000302d68 img_brouillard
0x0000000000302e6c img_brouillard_end
.rodata 0x0000000000302e6c 0x104 build-fx/assets/img/houses.png.o
0x0000000000302e6c img_houses
0x0000000000302f70 img_houses_end
.rodata 0x0000000000302f70 0x84 build-fx/assets/img/wall.png.o
0x0000000000302f70 img_wall
0x0000000000302ff4 img_wall_end
.rodata.str1.4
0x0000000000302448 0x6 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(keysc.c.o)
*fill* 0x000000000030244e 0x2
.rodata 0x0000000000302450 0x18 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(topti.c.o)
0x0000000000302ff4 0x6 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(keysc.c.o)
*fill* 0x0000000000302ffa 0x2
.rodata 0x0000000000302ffc 0x8 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(dimage.c.o)
.rodata 0x0000000000303004 0x18 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(topti.c.o)
.rodata.str1.4
0x0000000000302468 0x4 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(tmu.c.o)
0x000000000030301c 0x4 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(tmu.c.o)
.rodata.str1.4
0x000000000030246c 0x6 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(t6k11.c.o)
*fill* 0x0000000000302472 0x2
.rodata 0x0000000000302474 0x408 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(font5x7.png.o)
0x0000000000302474 gint_font5x7
0x000000000030287c gint_font5x7_end
0x0000000000303020 0x6 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(t6k11.c.o)
*fill* 0x0000000000303026 0x2
.rodata 0x0000000000303028 0x408 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(font5x7.png.o)
0x0000000000303028 gint_font5x7
0x0000000000303430 gint_font5x7_end
.rodata.str1.4
0x000000000030287c 0x4 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(cpg.c.o)
.rodata 0x0000000000302880 0x100 /usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_clz.o)
0x0000000000302880 __clz_tab
0x0000000000303430 0x4 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(cpg.c.o)
.rodata 0x0000000000303434 0x10 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(bopti.c.o)
.rodata 0x0000000000303444 0x100 /usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_clz.o)
0x0000000000303444 __clz_tab

.rela.dyn 0x0000000000302980 0x0
.rela.text 0x0000000000302980 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(gint.c.o)
.rela.dyn 0x0000000000303544 0x0
.rela.text 0x0000000000303544 0x0 build-fx/src/map.o
.rela.pretext.entry
0x0000000000302980 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(gint.c.o)
0x0000000000303544 0x0 build-fx/src/map.o
0x0000000008100000 . = ORIGIN (ram)

.bss 0x0000000008100000 0x430
.bss 0x0000000008100000 0x690
0x0000000008100000 _rbss = .
*(.bss COMMON)
.bss 0x0000000008100000 0x0 build-fx/src/item.o
.bss 0x0000000008100000 0x0 build-fx/src/main.o
.bss 0x0000000008100000 0xc /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(getkey.c.o)
.bss 0x000000000810000c 0x24 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(keysc.c.o)
.bss 0x0000000008100030 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(dclear.c.o)
.bss 0x0000000008100030 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(dtext.c.o)
.bss 0x0000000008100030 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(topti-asm.s.o)
.bss 0x0000000008100030 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(topti.c.o)
.bss 0x0000000008100030 0x400 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(dupdate.c.o)
.bss 0x0000000008100430 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(topti.c.o)
.bss 0x0000000008100430 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(tmu.c.o)
.bss 0x0000000008100430 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(gint.c.o)
.bss 0x0000000008100430 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(hardware.c.o)
.bss 0x0000000008100430 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(start.c.o)
.bss 0x0000000008100430 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(setup.c.o)
.bss 0x0000000008100430 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(t6k11.c.o)
.bss 0x0000000008100430 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(memory.c.o)
.bss 0x0000000008100430 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(iokbd.c.o)
.bss 0x0000000008100430 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(cpg.c.o)
.bss 0x0000000008100430 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(inth.s.o)
.bss 0x0000000008100430 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(exch.S.o)
.bss 0x0000000008100430 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(vbr.s.o)
.bss 0x0000000008100430 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(mmu.c.o)
.bss 0x0000000008100430 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(syscalls.S.o)
.bss 0x0000000008100430 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(inth.S.o)
.bss 0x0000000008100430 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_movmem.o)
.bss 0x0000000008100430 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_udivdi3.o)
.bss 0x0000000008100430 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_udivsi3.o)
.bss 0x0000000008100430 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_udiv_qrnnd_16.o)
.bss 0x0000000008100430 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_clz.o)
.bss 0x0000000008100000 0x8 build-fx/src/map.o
0x0000000008100000 dy
0x0000000008100004 dx
COMMON 0x0000000008100008 0x258 build-fx/src/map.o
0x0000000008100008 map
.bss 0x0000000008100260 0xc /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(getkey.c.o)
.bss 0x000000000810026c 0x24 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(keysc.c.o)
.bss 0x0000000008100290 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(dclear.c.o)
.bss 0x0000000008100290 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(dtext.c.o)
.bss 0x0000000008100290 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(topti-asm.s.o)
.bss 0x0000000008100290 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(topti.c.o)
.bss 0x0000000008100290 0x400 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(dupdate.c.o)
.bss 0x0000000008100690 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(dimage.c.o)
.bss 0x0000000008100690 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(topti.c.o)
.bss 0x0000000008100690 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(tmu.c.o)
.bss 0x0000000008100690 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(gint.c.o)
.bss 0x0000000008100690 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(hardware.c.o)
.bss 0x0000000008100690 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(start.c.o)
.bss 0x0000000008100690 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(setup.c.o)
.bss 0x0000000008100690 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(t6k11.c.o)
.bss 0x0000000008100690 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(memory.c.o)
.bss 0x0000000008100690 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(iokbd.c.o)
.bss 0x0000000008100690 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(cpg.c.o)
.bss 0x0000000008100690 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(bopti-asm.s.o)
.bss 0x0000000008100690 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(bopti.c.o)
.bss 0x0000000008100690 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(masks.c.o)
.bss 0x0000000008100690 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(inth.s.o)
.bss 0x0000000008100690 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(exch.S.o)
.bss 0x0000000008100690 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(vbr.s.o)
.bss 0x0000000008100690 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(mmu.c.o)
.bss 0x0000000008100690 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(syscalls.S.o)
.bss 0x0000000008100690 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(inth.S.o)
.bss 0x0000000008100690 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_movmem.o)
.bss 0x0000000008100690 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_udivdi3.o)
.bss 0x0000000008100690 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_udivsi3.o)
.bss 0x0000000008100690 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_udiv_qrnnd_16.o)
.bss 0x0000000008100690 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_clz.o)
*(B R)
0x0000000008100430 . = ALIGN (0x10)
0x0000000000000430 _sbss = SIZEOF (.bss)
0x0000000008100690 . = ALIGN (0x10)
0x0000000000000690 _sbss = SIZEOF (.bss)

.data 0x0000000008100430 0x10 load address 0x0000000000302980
0x0000000000302980 _ldata = LOADADDR (.data)
0x0000000008100430 _rdata = .
.data 0x0000000008100690 0x10 load address 0x0000000000303544
0x0000000000303544 _ldata = LOADADDR (.data)
0x0000000008100690 _rdata = .
*(.data .data.*)
.data 0x0000000008100430 0x0 build-fx/src/main.o
.data 0x0000000008100430 0x8 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(getkey.c.o)
.data 0x0000000008100438 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(keysc.c.o)
.data 0x0000000008100438 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(dclear.c.o)
.data 0x0000000008100438 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(dtext.c.o)
.data 0x0000000008100438 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(topti-asm.s.o)
.data 0x0000000008100438 0x8 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(topti.c.o)
0x0000000008100438 topti_font
0x000000000810043c gint_default_font
.data 0x0000000008100440 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(dupdate.c.o)
.data 0x0000000008100440 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(topti.c.o)
.data 0x0000000008100440 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(tmu.c.o)
.data 0x0000000008100440 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(gint.c.o)
.data 0x0000000008100440 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(hardware.c.o)
.data 0x0000000008100440 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(start.c.o)
.data 0x0000000008100440 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(setup.c.o)
.data 0x0000000008100440 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(t6k11.c.o)
.data 0x0000000008100440 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(memory.c.o)
.data 0x0000000008100440 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(iokbd.c.o)
.data 0x0000000008100440 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(cpg.c.o)
.data 0x0000000008100440 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(inth.s.o)
.data 0x0000000008100440 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(exch.S.o)
.data 0x0000000008100440 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(vbr.s.o)
.data 0x0000000008100440 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(mmu.c.o)
.data 0x0000000008100440 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(syscalls.S.o)
.data 0x0000000008100440 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(inth.S.o)
.data 0x0000000008100440 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_movmem.o)
.data 0x0000000008100440 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_udivdi3.o)
.data 0x0000000008100440 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_udivsi3.o)
.data 0x0000000008100440 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_udiv_qrnnd_16.o)
.data 0x0000000008100440 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_clz.o)
.data 0x0000000008100690 0x0 build-fx/src/item.o
.data 0x0000000008100690 0x0 build-fx/src/main.o
.data 0x0000000008100690 0x0 build-fx/src/map.o
.data 0x0000000008100690 0x8 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(getkey.c.o)
.data 0x0000000008100698 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(keysc.c.o)
.data 0x0000000008100698 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(dclear.c.o)
.data 0x0000000008100698 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(dtext.c.o)
.data 0x0000000008100698 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(topti-asm.s.o)
.data 0x0000000008100698 0x8 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(topti.c.o)
0x0000000008100698 topti_font
0x000000000810069c gint_default_font
.data 0x00000000081006a0 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(dupdate.c.o)
.data 0x00000000081006a0 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(dimage.c.o)
.data 0x00000000081006a0 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(topti.c.o)
.data 0x00000000081006a0 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(tmu.c.o)
.data 0x00000000081006a0 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(gint.c.o)
.data 0x00000000081006a0 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(hardware.c.o)
.data 0x00000000081006a0 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(start.c.o)
.data 0x00000000081006a0 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(setup.c.o)
.data 0x00000000081006a0 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(t6k11.c.o)
.data 0x00000000081006a0 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(memory.c.o)
.data 0x00000000081006a0 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(iokbd.c.o)
.data 0x00000000081006a0 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(cpg.c.o)
.data 0x00000000081006a0 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(bopti-asm.s.o)
.data 0x00000000081006a0 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(bopti.c.o)
.data 0x00000000081006a0 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(masks.c.o)
.data 0x00000000081006a0 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(inth.s.o)
.data 0x00000000081006a0 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(exch.S.o)
.data 0x00000000081006a0 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(vbr.s.o)
.data 0x00000000081006a0 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(mmu.c.o)
.data 0x00000000081006a0 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(syscalls.S.o)
.data 0x00000000081006a0 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(inth.S.o)
.data 0x00000000081006a0 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_movmem.o)
.data 0x00000000081006a0 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_udivdi3.o)
.data 0x00000000081006a0 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_udivsi3.o)
.data 0x00000000081006a0 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_udiv_qrnnd_16.o)
.data 0x00000000081006a0 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_clz.o)
*(D)
0x0000000008100440 . = ALIGN (0x10)
0x00000000081006a0 . = ALIGN (0x10)

.data.4 0x0000000008100440 0x0 load address 0x0000000000302990
.data.4 0x00000000081006a0 0x0 load address 0x0000000000303554
*(.data.4)
0x0000000008100440 . = ALIGN (0x10)
0x00000000081006a0 . = ALIGN (0x10)
0x0000000000000010 _sdata = (SIZEOF (.data) + SIZEOF (.data.4))
0x000000008800df00 _gint_vbr = 0x8800df00
0x000000008800f400 . = ORIGIN (rram)

.gint.data 0x000000008800f400 0x130 load address 0x0000000000302990
0x0000000000302990 _lgdata = LOADADDR (.gint.data)
.gint.data 0x000000008800f400 0x130 load address 0x0000000000303554
0x0000000000303554 _lgdata = LOADADDR (.gint.data)
0x000000008800f400 _rgdata = .
*(.gint.data .gint.data.*)
.gint.data 0x000000008800f400 0x18 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(keysc.c.o)
@@ -413,7 +489,7 @@ LOAD /usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a
0x000000008800f530 . = ALIGN (0x10)
0x0000000000000130 _sgdata = SIZEOF (.gint.data)

.gint.bss 0x000000008800f530 0x210 load address 0x0000000000302ac0
.gint.bss 0x000000008800f530 0x210 load address 0x0000000000303684
*(.gint.bss .gint.bss.*)
.gint.bss 0x000000008800f530 0x100 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(keysc.c.o)
.gint.bss 0x000000008800f630 0x88 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(tmu.c.o)

BIN
build-fx/src/BitmapWs.bin View File


BIN
build-fx/src/BitmapWs.elf View File


+ 5
- 0
build-fx/src/item.d View File

@@ -0,0 +1,5 @@
build-fx/src/item.o: src/item.c src/item.h src/map.h

src/item.h:

src/map.h:

BIN
build-fx/src/item.o View File


+ 5
- 1
build-fx/src/main.d View File

@@ -1 +1,5 @@
build-fx/src/main.o: src/main.c
build-fx/src/main.o: src/main.c src/map.h src/item.h

src/map.h:

src/item.h:

BIN
build-fx/src/main.o View File


+ 5
- 0
build-fx/src/map.d View File

@@ -0,0 +1,5 @@
build-fx/src/map.o: src/map.c src/map.h src/item.h

src/map.h:

src/item.h:

BIN
build-fx/src/map.o View File


+ 58
- 0
src/item.c View File

@@ -0,0 +1,58 @@
#include "item.h"
#include "map.h"
// displaying avec dépendance
/// murs, maisons, routes

int get_item_type(int mx,int my)
{
generic_item* item=get_item(mx,my);
if (item==0)
return EMPTY;
return item->type;
}

void display_item_etendu(image_t* res,int mx, int my, int sx, int sy)
{
int type=get_item_type(mx,my);

unsigned char val=0x00; // on n'utilise que les 4 premiers bits 0<=val<=15 mais on multiplie nativement par 8
val|=(get_item_type(mx-1,my)==type)<<3;
val|=(get_item_type(mx+1,my)==type)<<4;
val|=(get_item_type(mx,my-1)==type)<<5;
val|=(get_item_type(mx,my+1)==type)<<6;
dsubimage(sx,sy,res,val,0,8,8,0);


}

void display_brouillard(int mx, int my, int sx, int sy)
{

unsigned char val=0x00; // on n'utilise que les 4 premiers bits 0<=val<=15 mais on multiplie nativement par 8
val|=get_visibility(mx-1,my)<<3;
val|=get_visibility(mx+1,my)<<4;
val|=get_visibility(mx,my-1)<<5;
val|=get_visibility(mx,my+1)<<6;
dsubimage(sx,sy,&img_brouillard,val,0,8,8,0);


}

void display_item(int mx, int my, int sx, int sy)
{
int type=get_item_type(mx,my);
if (type==WALL)
display_item_etendu(&img_wall,mx,my,sx,sy);

if (type==HOUSE)
display_item_etendu(&img_houses,mx,my,sx,sy);

if (type==EMPTY)
display_item_etendu(&img_brouillard,mx,my,sx,sy);
}

void display_case(int mx, int my, int sx, int sy)
{
display_item(mx,my,sx,sy);
//display_brouillard(mx,my,sx,sy);
}

+ 35
- 0
src/item.h View File

@@ -0,0 +1,35 @@
#ifndef ITEM_H
#define ITEM_H
#include <gint/display.h>
#include <stdbool.h>



#define EMPTY 0
#define WALL 1
#define HOUSE 2

extern image_t img_houses;
extern image_t img_wall;
extern image_t img_brouillard;



// display item from map on sx,sy
void display_case(int mx, int my, int sx, int sy);

struct generic_item // map à l'échelle d'un point
{
int type;
bool ally; // brouillard de guerre
int life; // 0<100
char dir; // optionnel
// 3
// 2 0
// 1

};
typedef struct generic_item generic_item;


#endif

+ 9
- 6
src/main.c View File

@@ -1,12 +1,15 @@
#include <gint/display.h>
#include <gint/keyboard.h>

#include "map.h"

int main(void)
{
dclear(C_WHITE);
dtext(1, 1, "Sample fxSDK add-in.", C_BLACK, C_NONE);
dupdate();

getkey();
return 1;
dclear(C_WHITE);
dtext(1, 1, "Sample fxSDK add-in.", C_BLACK, C_NONE);
dupdate();
create_map();
display();
getkey();
return 1;
}

+ 86
- 11
src/map.c View File

@@ -1,19 +1,94 @@
#include "map.h"
#include "item.h"
#include <gint/std/string.h>

const int dim_x=100;
const int dim_y=100;
static int map[dim_x][dim_y];

int get_item(int x, int y)
#define DIM_X 5
#define DIM_Y 5

// la map correspond à un système par couches successives :

// fond de carte => terrain constructible ou pas, accessible ou pas...
// les items (troupes, maisons, routes, murs)



generic_map map[DIM_Y][DIM_X];
void create_map()
{
if (x&~dim_x||y&~dim_y)
return -1;
return map[x][y];
// effacement
for (int x=0;x<DIM_X;x++)
{
for (int y=0;y<DIM_Y;y++)
{
map[y][x].terrain=EARTH;
map[y][x].explored=false;
map[y][x].item.type=0;
}
}
// ajout du village allié et de la zone d'exploration

// ajout du village ennemi

// ajout des bords
for (int x=0;x<DIM_X;x++)
{
map[0][x].terrain=WATER;
map[DIM_Y-1][x].terrain=WATER;
}
for (int y=0;y<DIM_Y;y++)
{
map[y][0].terrain=WATER;
map[y][DIM_X-1].terrain=WATER;
}

map[0][0].item.type=WALL;
map[0][1].item.type=WALL;
map[0][2].item.type=WALL;

map[2][0].item.type=WALL;
map[2][1].item.type=WALL;
map[2][2].item.type=WALL;

map[1][0].item.type=WALL;
map[1][2].item.type=WALL;
}

void set_item(int x, int y, int item)

int dx=0, dy=0; // delta(en items) pour l'affichage

generic_item* get_item(int x, int y)
{
if (x<0||x>=DIM_X||y<0||y>DIM_Y)
return 0;
return &map[y][x].item;
}

bool get_visibility(int x, int y)
{
if (x<0||x>=DIM_X||y<0||y>DIM_Y)
return true;
return 1-map[y][x].explored;
}


void set_item(int x, int y, generic_item const * const item)
{
if (x<0||x>=DIM_X||y<0||y>DIM_Y)
return;
memcpy(&map[y][x].item,item,sizeof(generic_item));
}


void display()
{
if (x&~dim_x||y&~dim_y)
return;
map[x][y]=item;
dclear(C_WHITE);
for (int x=0;x<16;x++)
{
for (int y=0;y<8;y++)
{
display_case(x-dx,y-dy,8*x,8*y);
}
}
dupdate();
}

+ 30
- 5
src/map.h View File

@@ -1,13 +1,38 @@
#ifndef MAP_H
#define MAP_H

#include <gint/display.h>
extern image_t img_houses;
extern image_t img_wall;
extern const int dim_x;
extern const int dim_y;

int get_item(int x, int y);
void set_item(int x, int y, int item);
#include <stdbool.h>
#include "item.h"

typedef enum
{
EARTH = 0,
WATER = 1,
MOUNTAIN

} map_terrain;

struct generic_map // map à l'échelle d'un point
{
map_terrain terrain;
bool explored; // brouillard de guerre
generic_item item;
};
typedef struct generic_map generic_map;



void create_map();

// hidden true, shown false
bool get_visibility(int x, int y);

generic_item* get_item(int x, int y);
void set_item(int x, int y, generic_item const * const item);

void display();

#endif

Loading…
Cancel
Save