callage de l'affichage

This commit is contained in:
pedroBzh 2020-11-12 07:44:04 +01:00
parent caf75490a9
commit 5ba0b54328
6 changed files with 48 additions and 49 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -185,55 +185,54 @@ LOAD /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgcc.a
0x0000000000300440 _gint_tlbh
0x0000000000000070 _gint_tlbh_size = ABSOLUTE ((. - _gint_tlbh_start))
*(.text .text.*)
.text 0x00000000003004b0 0x74 build-fx/src/main.c.o
.text 0x00000000003004b0 0x78 build-fx/src/main.c.o
0x00000000003004b0 __Z8PrintMapv
.text.startup 0x0000000000300524 0x5c build-fx/src/main.c.o
0x0000000000300524 _main
.text 0x0000000000300580 0x20 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dtext.c.o)
0x0000000000300580 _dtext
.text 0x00000000003005a0 0x3c /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(start.c.o)
0x00000000003005d0 _gint_setrestart
.text 0x00000000003005dc 0x3c /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dupdate.c.o)
0x00000000003005dc _dupdate
.text 0x0000000000300618 0x64 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dclear.c.o)
0x0000000000300618 _dclear
.text 0x000000000030067c 0x3b0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(topti.c.o)
0x000000000030071e _topti_render
0x0000000000300944 _dtext_opt
.text 0x0000000000300a2c 0xc8 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dsubimage.c.o)
0x0000000000300a2c _dsubimage
.text 0x0000000000300af4 0x240 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(t6k11.c.o)
0x0000000000300b6c _t6k11_display_v1
0x0000000000300c10 _t6k11_display_v2
0x0000000000300ca8 _t6k11_display
0x0000000000300ccc _t6k11_contrast
0x0000000000300cf4 _t6k11_backlight
.text 0x0000000000300d34 0x29c /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(getkey.c.o)
0x0000000000300d34 _getkey_opt
0x0000000000300f7c _getkey
0x0000000000300f88 _getkey_repeat
0x0000000000300fc4 _getkey_repeat_filter
.text 0x0000000000300fd0 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(font5x7.png.o)
.text 0x0000000000300fd0 0x348 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(mmu.c.o)
0x000000000030102c _tlb_addr
0x0000000000301040 _tlb_data
0x0000000000301054 _tlb_mapped_memory
0x0000000000301120 _tlb_translate
0x00000000003011a0 _utlb_addr
0x00000000003011b0 _utlb_data
0x00000000003011c0 _utlb_mapped_memory
0x0000000000301290 _utlb_translate
0x00000000003012dc _mmu_translate
0x00000000003012f8 _mmu_uram
.text 0x0000000000301318 0x208 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(topti.c.o)
0x0000000000301318 _dfont
0x0000000000301330 _topti_glyph_index
0x0000000000301378 _topti_offset
0x00000000003013d4 _topti_utf8_next
0x0000000000301482 _dsize
.text 0x0000000000301520 0xbc /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(osmenu.c.o)
0x00000000003015cc _gint_osmenu
*fill* 0x00000000003015dc 0x4
.text.startup 0x0000000000300528 0x5c build-fx/src/main.c.o
0x0000000000300528 _main
.text 0x0000000000300584 0x20 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dtext.c.o)
0x0000000000300584 _dtext
.text 0x00000000003005a4 0x3c /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(start.c.o)
0x00000000003005d4 _gint_setrestart
.text 0x00000000003005e0 0x3c /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dupdate.c.o)
0x00000000003005e0 _dupdate
.text 0x000000000030061c 0x64 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dclear.c.o)
0x000000000030061c _dclear
.text 0x0000000000300680 0x3b0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(topti.c.o)
0x0000000000300722 _topti_render
0x0000000000300948 _dtext_opt
.text 0x0000000000300a30 0xc8 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(dsubimage.c.o)
0x0000000000300a30 _dsubimage
.text 0x0000000000300af8 0x240 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(t6k11.c.o)
0x0000000000300b70 _t6k11_display_v1
0x0000000000300c14 _t6k11_display_v2
0x0000000000300cac _t6k11_display
0x0000000000300cd0 _t6k11_contrast
0x0000000000300cf8 _t6k11_backlight
.text 0x0000000000300d38 0x29c /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(getkey.c.o)
0x0000000000300d38 _getkey_opt
0x0000000000300f80 _getkey
0x0000000000300f8c _getkey_repeat
0x0000000000300fc8 _getkey_repeat_filter
.text 0x0000000000300fd4 0x0 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(font5x7.png.o)
.text 0x0000000000300fd4 0x348 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(mmu.c.o)
0x0000000000301030 _tlb_addr
0x0000000000301044 _tlb_data
0x0000000000301058 _tlb_mapped_memory
0x0000000000301124 _tlb_translate
0x00000000003011a4 _utlb_addr
0x00000000003011b4 _utlb_data
0x00000000003011c4 _utlb_mapped_memory
0x0000000000301294 _utlb_translate
0x00000000003012e0 _mmu_translate
0x00000000003012fc _mmu_uram
.text 0x000000000030131c 0x208 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(topti.c.o)
0x000000000030131c _dfont
0x0000000000301334 _topti_glyph_index
0x000000000030137c _topti_offset
0x00000000003013d8 _topti_utf8_next
0x0000000000301486 _dsize
.text 0x0000000000301524 0xbc /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(osmenu.c.o)
0x00000000003015d0 _gint_osmenu
.text 0x00000000003015e0 0x170 /home/pierre/opt/sh-elf-2.32-9.2.0/lib/gcc/sh3eb-elf/9.2.0/libgint-fx.a(syscalls.S.o)
0x00000000003015e0 _malloc
0x00000000003015f4 _free

Binary file not shown.

View File

@ -14,7 +14,7 @@ void PrintMap(){
while(cx>0){
cy = 6;
while(cy>0){
dsubimage(cx*10-sx, cy*10 ,&img_tilemap,game_map[cx][cy]*10,0,10, 10, DIMAGE_NONE);
dsubimage(cx*10-sx, cy*10+4 ,&img_tilemap,game_map[cx][cy]*10,0,10, 10, DIMAGE_NONE);
cy--;
}
cx--;