Premier moteur + ajout detection de bloc
This commit is contained in:
parent
fcd88a141a
commit
f91ef2ee1a
Binary file not shown.
Binary file not shown.
541
build-cg/map
541
build-cg/map
|
@ -83,6 +83,7 @@ Archive member included to satisfy reference by file (symbol)
|
|||
|
||||
Discarded input sections
|
||||
|
||||
.comment 0x0000000000000000 0x12 build-cg/src/collide.c.o
|
||||
.comment 0x0000000000000000 0x12 build-cg/src/drawlevel.c.o
|
||||
.comment 0x0000000000000000 0x12 build-cg/src/main.c.o
|
||||
.comment 0x0000000000000000 0x12 build-cg/src/setlevel.c.o
|
||||
|
@ -153,6 +154,7 @@ yram 0x00000000e5017000 0x0000000000002000 xrw
|
|||
|
||||
Linker script and memory map
|
||||
|
||||
LOAD build-cg/src/collide.c.o
|
||||
LOAD build-cg/src/drawlevel.c.o
|
||||
LOAD build-cg/src/main.c.o
|
||||
LOAD build-cg/src/setlevel.c.o
|
||||
|
@ -163,9 +165,9 @@ LOAD /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/libgint-cg.a
|
|||
LOAD /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/libgint-cg.a
|
||||
LOAD /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/m4-nofpu/libgcc.a
|
||||
0x0000000000300000 _brom = 0x300000
|
||||
0x00000000000051c0 _srom = (((SIZEOF (.text) + SIZEOF (.rodata)) + SIZEOF (.gint.drivers)) + SIZEOF (.gint.blocks))
|
||||
0x0000000000005240 _srom = (((SIZEOF (.text) + SIZEOF (.rodata)) + SIZEOF (.gint.drivers)) + SIZEOF (.gint.blocks))
|
||||
|
||||
.text 0x0000000000300000 0x4020
|
||||
.text 0x0000000000300000 0x40a0
|
||||
*(.text.entry)
|
||||
.text.entry 0x0000000000300000 0x12c /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/libgint-cg.a(start.c.o)
|
||||
0x0000000000300000 _start
|
||||
|
@ -188,296 +190,300 @@ LOAD /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/m4-nofpu/libgc
|
|||
0x00000000003001a0 _gint_tlbh
|
||||
0x0000000000000074 _gint_tlbh_size = ABSOLUTE ((. - _gint_tlbh_start))
|
||||
*(.text .text.*)
|
||||
.text 0x0000000000300208 0x90 build-cg/src/drawlevel.c.o
|
||||
0x0000000000300208 _draw_player
|
||||
0x0000000000300218 _draw_level
|
||||
.text 0x0000000000300298 0x0 build-cg/src/main.c.o
|
||||
.text.startup 0x0000000000300298 0x198 build-cg/src/main.c.o
|
||||
0x0000000000300298 _main
|
||||
.text 0x0000000000300430 0x30 build-cg/src/setlevel.c.o
|
||||
0x0000000000300430 _set_level
|
||||
.text 0x0000000000300460 0xdc /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/libgint-cg.a(memory.c.o)
|
||||
0x0000000000300460 _memcpy
|
||||
0x000000000030051a __memmove
|
||||
0x000000000030051e __memcmp
|
||||
0x0000000000300522 _memset
|
||||
.text 0x000000000030053c 0x7c /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/libgint-cg.a(string.c.o)
|
||||
0x000000000030053c _strlen
|
||||
0x000000000030054c _strncpy
|
||||
0x0000000000300564 _strcat
|
||||
0x00000000003005a8 _strcmp
|
||||
.text 0x00000000003005b8 0x3c /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/libgint-cg.a(dupdate.c.o)
|
||||
0x00000000003005b8 _dupdate
|
||||
0x00000000003005dc _dupdate_noint
|
||||
.text 0x00000000003005f4 0x1c /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/libgint-cg.a(dclear.c.o)
|
||||
0x00000000003005f4 _dclear
|
||||
.text 0x0000000000300610 0x40 /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/libgint-cg.a(dimage.c.o)
|
||||
0x0000000000300610 _dimage
|
||||
0x0000000000300638 _dsubimage
|
||||
.text 0x0000000000300650 0x6c /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/libgint-cg.a(dvram.c.o)
|
||||
0x0000000000300650 _dsetvram
|
||||
0x000000000030067c _dgetvram
|
||||
0x000000000030069c _dvram_switch
|
||||
.text 0x00000000003006bc 0x1e4 /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/libgint-cg.a(bopti.c.o)
|
||||
0x00000000003006bc _bopti_render
|
||||
0x00000000003007ac _bopti_render_clip
|
||||
0x0000000000300874 _bopti_render_noclip
|
||||
.text 0x00000000003008a0 0xbc /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/libgint-cg.a(dprint.c.o)
|
||||
0x00000000003008a0 _dprint_opt
|
||||
0x000000000030090c _dprint
|
||||
.text 0x000000000030095c 0x2d4 /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/libgint-cg.a(r61524.c.o)
|
||||
0x00000000003009ac _r61524_win_get
|
||||
0x0000000000300a64 _r61524_win_set
|
||||
0x0000000000300b24 _r61524_display
|
||||
.text 0x0000000000300c30 0x420 /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/libgint-cg.a(dma.c.o)
|
||||
0x0000000000300f00 _dma_transfer
|
||||
0x0000000000300f40 _dma_transfer_wait
|
||||
0x0000000000300fe4 _dma_transfer_noint
|
||||
.text 0x0000000000301050 0x0 /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/libgint-cg.a(inth.s.o)
|
||||
.text 0x0000000000301050 0x4c /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/libgint-cg.a(memset.c.o)
|
||||
0x0000000000301050 _dma_memset
|
||||
.text 0x000000000030109c 0xf4 /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/libgint-cg.a(intc.c.o)
|
||||
0x0000000000301118 _intc_priority
|
||||
.text 0x0000000000301190 0x30 /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/libgint-cg.a(start.c.o)
|
||||
.text 0x00000000003011c0 0x29c /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/libgint-cg.a(exch.c.o)
|
||||
0x000000000030142c _gint_panic
|
||||
0x000000000030143c _gint_panic_set
|
||||
0x0000000000301450 _gint_exc_catch
|
||||
.text 0x000000000030145c 0x40 /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/libgint-cg.a(hardware.c.o)
|
||||
0x000000000030145c _hw_detect
|
||||
.text 0x000000000030149c 0x2b8 /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/libgint-cg.a(kernel.c.o)
|
||||
0x0000000000301618 _kinit
|
||||
0x00000000003016ac _gint_inthandler
|
||||
0x00000000003016dc _gint_switch
|
||||
0x000000000030172c _kquit
|
||||
.text 0x0000000000301754 0x0 /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/libgint-cg.a(tlbh.S.o)
|
||||
.text 0x0000000000301754 0x424 /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/libgint-cg.a(keysc.c.o)
|
||||
0x000000000030192c _pollevent
|
||||
0x0000000000301a68 _waitevent
|
||||
0x0000000000301ab4 _clearevents
|
||||
0x0000000000301ad4 _keydown
|
||||
0x0000000000301b00 _keydown_all
|
||||
0x0000000000301b3c _keydown_any
|
||||
.text 0x0000000000301b78 0x1f8 /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/libgint-cg.a(getkey.c.o)
|
||||
0x0000000000301b78 _getkey_opt
|
||||
0x0000000000301d28 _getkey
|
||||
0x0000000000301d34 _getkey_repeat
|
||||
.text 0x0000000000301d70 0x69c /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/libgint-cg.a(tmu.c.o)
|
||||
0x000000000030203c _timer_delay
|
||||
0x00000000003020e8 _timer_setup
|
||||
0x00000000003022e8 _timer_start
|
||||
0x0000000000302320 _timer_reload
|
||||
0x0000000000302358 _timer_pause
|
||||
0x0000000000302394 _timer_wait
|
||||
0x00000000003023fc _timer_timeout
|
||||
.text 0x000000000030240c 0x0 /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/libgint-cg.a(inth.s.o)
|
||||
.text 0x000000000030240c 0xcec /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/libgint-cg.a(stdio.c.o)
|
||||
0x0000000000302e08 _kprint_opt
|
||||
0x0000000000302f50 _kprint
|
||||
0x0000000000303030 _kvsprint
|
||||
0x0000000000303078 _sprintf
|
||||
0x00000000003030a0 _vsprintf
|
||||
0x00000000003030c0 _snprintf
|
||||
0x00000000003030e0 _vsnprintf
|
||||
.text 0x00000000003030f8 0xb8 /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/libgint-cg.a(cpg.c.o)
|
||||
0x00000000003031a4 _clock_freq
|
||||
.text 0x00000000003031b0 0x100 /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/libgint-cg.a(bopti-asm.s.o)
|
||||
0x00000000003031b0 _bopti_r5g6b5
|
||||
0x0000000000303200 _bopti_r5g6b5a
|
||||
0x0000000000303230 _bopti_p8
|
||||
0x0000000000303260 _bopti_p4
|
||||
.text 0x00000000003032b0 0x2b4 /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/libgint-cg.a(topti.c.o)
|
||||
0x00000000003032b0 _topti_render
|
||||
0x00000000003034a0 _dtext_opt
|
||||
0x0000000000303544 _dtext
|
||||
.text 0x0000000000303564 0x1ac /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/libgint-cg.a(topti.c.o)
|
||||
0x0000000000303564 _dfont
|
||||
0x000000000030357c _charset_size
|
||||
0x00000000003035a8 _charset_decode
|
||||
0x0000000000303616 _topti_offset
|
||||
0x0000000000303674 _dsize
|
||||
.text 0x0000000000303710 0x30 /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/libgint-cg.a(cpu.s.o)
|
||||
0x0000000000303710 _cpu_setCPUOPM
|
||||
0x0000000000303722 _cpu_getCPUOPM
|
||||
.text 0x0000000000303740 0x0 /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/libgint-cg.a(exch.s.o)
|
||||
.text 0x0000000000303740 0xfc /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/libgint-cg.a(osmenu.c.o)
|
||||
0x000000000030382c _gint_osmenu
|
||||
*fill* 0x000000000030383c 0x4
|
||||
.text 0x0000000000303840 0x190 /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/libgint-cg.a(syscalls.S.o)
|
||||
0x0000000000303840 _malloc
|
||||
0x0000000000303854 _free
|
||||
0x0000000000303864 _calloc
|
||||
0x0000000000303874 _realloc
|
||||
0x0000000000303884 _BFile_Remove
|
||||
0x0000000000303894 _BFile_Create
|
||||
0x00000000003038a4 _BFile_Open
|
||||
0x00000000003038b4 _BFile_Close
|
||||
0x00000000003038c4 _BFile_Size
|
||||
0x00000000003038d4 _BFile_Write
|
||||
0x00000000003038e4 _BFile_Read
|
||||
0x00000000003038f4 _BFile_FindFirst
|
||||
0x0000000000303904 _BFile_FindNext
|
||||
0x0000000000303914 _BFile_FindClose
|
||||
0x0000000000303924 ___Timer_Install
|
||||
0x0000000000303934 ___Timer_Start
|
||||
0x0000000000303944 ___Timer_Stop
|
||||
0x0000000000303954 ___Timer_Deinstall
|
||||
0x0000000000303964 ___PutKeyCode
|
||||
0x0000000000303974 ___GetKeyWait
|
||||
0x0000000000303984 ___ClearKeyBuffer
|
||||
0x0000000000303994 ___GetVRAMAddress
|
||||
0x00000000003039a4 ___ConfigureStatusArea
|
||||
0x00000000003039b4 ___SpecialMatrixCodeProcessing
|
||||
.text 0x00000000003039d0 0x0 /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/libgint-cg.a(inth.S.o)
|
||||
.text 0x00000000003039d0 0xc0 /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/libgint-cg.a(drect.c.o)
|
||||
0x00000000003039d0 _drect
|
||||
.text 0x0000000000303a90 0xd0 /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/libgint-cg.a(topti-asm.s.o)
|
||||
0x0000000000303a90 _topti_glyph_fg_bg
|
||||
0x0000000000303ace _topti_glyph_fg
|
||||
0x0000000000303b08 _topti_glyph_bg
|
||||
.text 0x0000000000303b60 0x78 /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/m4-nofpu/libgcc.a(_movmem.o)
|
||||
0x0000000000303b60 ___movstr
|
||||
0x0000000000303b60 ___movmem
|
||||
0x0000000000303b94 ___movmemSI64
|
||||
0x0000000000303b94 ___movstrSI64
|
||||
0x0000000000303b98 ___movstrSI60
|
||||
0x0000000000303b98 ___movmemSI60
|
||||
0x0000000000303b9c ___movmemSI56
|
||||
0x0000000000303b9c ___movstrSI56
|
||||
0x0000000000303ba0 ___movstrSI52
|
||||
0x0000000000303ba0 ___movmemSI52
|
||||
0x0000000000303ba4 ___movstrSI48
|
||||
0x0000000000303ba4 ___movmemSI48
|
||||
0x0000000000303ba8 ___movstrSI44
|
||||
0x0000000000303ba8 ___movmemSI44
|
||||
0x0000000000303bac ___movstrSI40
|
||||
0x0000000000303bac ___movmemSI40
|
||||
0x0000000000303bb0 ___movstrSI36
|
||||
0x0000000000303bb0 ___movmemSI36
|
||||
0x0000000000303bb4 ___movmemSI32
|
||||
0x0000000000303bb4 ___movstrSI32
|
||||
0x0000000000303bb8 ___movmemSI28
|
||||
0x0000000000303bb8 ___movstrSI28
|
||||
0x0000000000303bbc ___movstrSI24
|
||||
0x0000000000303bbc ___movmemSI24
|
||||
0x0000000000303bc0 ___movmemSI20
|
||||
0x0000000000303bc0 ___movstrSI20
|
||||
0x0000000000303bc4 ___movstrSI16
|
||||
0x0000000000303bc4 ___movmemSI16
|
||||
0x0000000000303bc8 ___movmemSI12
|
||||
0x0000000000303bc8 ___movstrSI12
|
||||
0x0000000000303bcc ___movmemSI8
|
||||
0x0000000000303bcc ___movstrSI8
|
||||
0x0000000000303bd0 ___movmemSI4
|
||||
0x0000000000303bd0 ___movstrSI4
|
||||
.text 0x0000000000303bd8 0x1e0 /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/m4-nofpu/libgcc.a(_udivdi3.o)
|
||||
0x0000000000303bd8 ___udivdi3
|
||||
.text 0x0000000000303db8 0x208 /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/m4-nofpu/libgcc.a(_umoddi3.o)
|
||||
0x0000000000303db8 ___umoddi3
|
||||
.text 0x0000000000303fc0 0x60 /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/m4-nofpu/libgcc.a(_udiv_qrnnd_16.o)
|
||||
0x0000000000303fc0 ___udiv_qrnnd_16
|
||||
.text 0x0000000000304020 0x0 /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/m4-nofpu/libgcc.a(_clz.o)
|
||||
.text 0x0000000000300208 0x56 build-cg/src/collide.c.o
|
||||
0x0000000000300208 _collide
|
||||
*fill* 0x000000000030025e 0x2
|
||||
.text 0x0000000000300260 0x90 build-cg/src/drawlevel.c.o
|
||||
0x0000000000300260 _draw_player
|
||||
0x0000000000300270 _draw_level
|
||||
.text 0x00000000003002f0 0x0 build-cg/src/main.c.o
|
||||
.text.startup 0x00000000003002f0 0x1c0 build-cg/src/main.c.o
|
||||
0x00000000003002f0 _main
|
||||
.text 0x00000000003004b0 0x30 build-cg/src/setlevel.c.o
|
||||
0x00000000003004b0 _set_level
|
||||
.text 0x00000000003004e0 0xdc /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/libgint-cg.a(memory.c.o)
|
||||
0x00000000003004e0 _memcpy
|
||||
0x000000000030059a __memmove
|
||||
0x000000000030059e __memcmp
|
||||
0x00000000003005a2 _memset
|
||||
.text 0x00000000003005bc 0x7c /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/libgint-cg.a(string.c.o)
|
||||
0x00000000003005bc _strlen
|
||||
0x00000000003005cc _strncpy
|
||||
0x00000000003005e4 _strcat
|
||||
0x0000000000300628 _strcmp
|
||||
.text 0x0000000000300638 0x3c /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/libgint-cg.a(dupdate.c.o)
|
||||
0x0000000000300638 _dupdate
|
||||
0x000000000030065c _dupdate_noint
|
||||
.text 0x0000000000300674 0x1c /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/libgint-cg.a(dclear.c.o)
|
||||
0x0000000000300674 _dclear
|
||||
.text 0x0000000000300690 0x40 /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/libgint-cg.a(dimage.c.o)
|
||||
0x0000000000300690 _dimage
|
||||
0x00000000003006b8 _dsubimage
|
||||
.text 0x00000000003006d0 0x6c /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/libgint-cg.a(dvram.c.o)
|
||||
0x00000000003006d0 _dsetvram
|
||||
0x00000000003006fc _dgetvram
|
||||
0x000000000030071c _dvram_switch
|
||||
.text 0x000000000030073c 0x1e4 /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/libgint-cg.a(bopti.c.o)
|
||||
0x000000000030073c _bopti_render
|
||||
0x000000000030082c _bopti_render_clip
|
||||
0x00000000003008f4 _bopti_render_noclip
|
||||
.text 0x0000000000300920 0xbc /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/libgint-cg.a(dprint.c.o)
|
||||
0x0000000000300920 _dprint_opt
|
||||
0x000000000030098c _dprint
|
||||
.text 0x00000000003009dc 0x2d4 /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/libgint-cg.a(r61524.c.o)
|
||||
0x0000000000300a2c _r61524_win_get
|
||||
0x0000000000300ae4 _r61524_win_set
|
||||
0x0000000000300ba4 _r61524_display
|
||||
.text 0x0000000000300cb0 0x420 /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/libgint-cg.a(dma.c.o)
|
||||
0x0000000000300f80 _dma_transfer
|
||||
0x0000000000300fc0 _dma_transfer_wait
|
||||
0x0000000000301064 _dma_transfer_noint
|
||||
.text 0x00000000003010d0 0x0 /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/libgint-cg.a(inth.s.o)
|
||||
.text 0x00000000003010d0 0x4c /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/libgint-cg.a(memset.c.o)
|
||||
0x00000000003010d0 _dma_memset
|
||||
.text 0x000000000030111c 0xf4 /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/libgint-cg.a(intc.c.o)
|
||||
0x0000000000301198 _intc_priority
|
||||
.text 0x0000000000301210 0x30 /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/libgint-cg.a(start.c.o)
|
||||
.text 0x0000000000301240 0x29c /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/libgint-cg.a(exch.c.o)
|
||||
0x00000000003014ac _gint_panic
|
||||
0x00000000003014bc _gint_panic_set
|
||||
0x00000000003014d0 _gint_exc_catch
|
||||
.text 0x00000000003014dc 0x40 /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/libgint-cg.a(hardware.c.o)
|
||||
0x00000000003014dc _hw_detect
|
||||
.text 0x000000000030151c 0x2b8 /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/libgint-cg.a(kernel.c.o)
|
||||
0x0000000000301698 _kinit
|
||||
0x000000000030172c _gint_inthandler
|
||||
0x000000000030175c _gint_switch
|
||||
0x00000000003017ac _kquit
|
||||
.text 0x00000000003017d4 0x0 /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/libgint-cg.a(tlbh.S.o)
|
||||
.text 0x00000000003017d4 0x424 /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/libgint-cg.a(keysc.c.o)
|
||||
0x00000000003019ac _pollevent
|
||||
0x0000000000301ae8 _waitevent
|
||||
0x0000000000301b34 _clearevents
|
||||
0x0000000000301b54 _keydown
|
||||
0x0000000000301b80 _keydown_all
|
||||
0x0000000000301bbc _keydown_any
|
||||
.text 0x0000000000301bf8 0x1f8 /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/libgint-cg.a(getkey.c.o)
|
||||
0x0000000000301bf8 _getkey_opt
|
||||
0x0000000000301da8 _getkey
|
||||
0x0000000000301db4 _getkey_repeat
|
||||
.text 0x0000000000301df0 0x69c /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/libgint-cg.a(tmu.c.o)
|
||||
0x00000000003020bc _timer_delay
|
||||
0x0000000000302168 _timer_setup
|
||||
0x0000000000302368 _timer_start
|
||||
0x00000000003023a0 _timer_reload
|
||||
0x00000000003023d8 _timer_pause
|
||||
0x0000000000302414 _timer_wait
|
||||
0x000000000030247c _timer_timeout
|
||||
.text 0x000000000030248c 0x0 /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/libgint-cg.a(inth.s.o)
|
||||
.text 0x000000000030248c 0xcec /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/libgint-cg.a(stdio.c.o)
|
||||
0x0000000000302e88 _kprint_opt
|
||||
0x0000000000302fd0 _kprint
|
||||
0x00000000003030b0 _kvsprint
|
||||
0x00000000003030f8 _sprintf
|
||||
0x0000000000303120 _vsprintf
|
||||
0x0000000000303140 _snprintf
|
||||
0x0000000000303160 _vsnprintf
|
||||
.text 0x0000000000303178 0xb8 /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/libgint-cg.a(cpg.c.o)
|
||||
0x0000000000303224 _clock_freq
|
||||
.text 0x0000000000303230 0x100 /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/libgint-cg.a(bopti-asm.s.o)
|
||||
0x0000000000303230 _bopti_r5g6b5
|
||||
0x0000000000303280 _bopti_r5g6b5a
|
||||
0x00000000003032b0 _bopti_p8
|
||||
0x00000000003032e0 _bopti_p4
|
||||
.text 0x0000000000303330 0x2b4 /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/libgint-cg.a(topti.c.o)
|
||||
0x0000000000303330 _topti_render
|
||||
0x0000000000303520 _dtext_opt
|
||||
0x00000000003035c4 _dtext
|
||||
.text 0x00000000003035e4 0x1ac /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/libgint-cg.a(topti.c.o)
|
||||
0x00000000003035e4 _dfont
|
||||
0x00000000003035fc _charset_size
|
||||
0x0000000000303628 _charset_decode
|
||||
0x0000000000303696 _topti_offset
|
||||
0x00000000003036f4 _dsize
|
||||
.text 0x0000000000303790 0x30 /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/libgint-cg.a(cpu.s.o)
|
||||
0x0000000000303790 _cpu_setCPUOPM
|
||||
0x00000000003037a2 _cpu_getCPUOPM
|
||||
.text 0x00000000003037c0 0x0 /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/libgint-cg.a(exch.s.o)
|
||||
.text 0x00000000003037c0 0xfc /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/libgint-cg.a(osmenu.c.o)
|
||||
0x00000000003038ac _gint_osmenu
|
||||
*fill* 0x00000000003038bc 0x4
|
||||
.text 0x00000000003038c0 0x190 /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/libgint-cg.a(syscalls.S.o)
|
||||
0x00000000003038c0 _malloc
|
||||
0x00000000003038d4 _free
|
||||
0x00000000003038e4 _calloc
|
||||
0x00000000003038f4 _realloc
|
||||
0x0000000000303904 _BFile_Remove
|
||||
0x0000000000303914 _BFile_Create
|
||||
0x0000000000303924 _BFile_Open
|
||||
0x0000000000303934 _BFile_Close
|
||||
0x0000000000303944 _BFile_Size
|
||||
0x0000000000303954 _BFile_Write
|
||||
0x0000000000303964 _BFile_Read
|
||||
0x0000000000303974 _BFile_FindFirst
|
||||
0x0000000000303984 _BFile_FindNext
|
||||
0x0000000000303994 _BFile_FindClose
|
||||
0x00000000003039a4 ___Timer_Install
|
||||
0x00000000003039b4 ___Timer_Start
|
||||
0x00000000003039c4 ___Timer_Stop
|
||||
0x00000000003039d4 ___Timer_Deinstall
|
||||
0x00000000003039e4 ___PutKeyCode
|
||||
0x00000000003039f4 ___GetKeyWait
|
||||
0x0000000000303a04 ___ClearKeyBuffer
|
||||
0x0000000000303a14 ___GetVRAMAddress
|
||||
0x0000000000303a24 ___ConfigureStatusArea
|
||||
0x0000000000303a34 ___SpecialMatrixCodeProcessing
|
||||
.text 0x0000000000303a50 0x0 /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/libgint-cg.a(inth.S.o)
|
||||
.text 0x0000000000303a50 0xc0 /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/libgint-cg.a(drect.c.o)
|
||||
0x0000000000303a50 _drect
|
||||
.text 0x0000000000303b10 0xd0 /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/libgint-cg.a(topti-asm.s.o)
|
||||
0x0000000000303b10 _topti_glyph_fg_bg
|
||||
0x0000000000303b4e _topti_glyph_fg
|
||||
0x0000000000303b88 _topti_glyph_bg
|
||||
.text 0x0000000000303be0 0x78 /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/m4-nofpu/libgcc.a(_movmem.o)
|
||||
0x0000000000303be0 ___movstr
|
||||
0x0000000000303be0 ___movmem
|
||||
0x0000000000303c14 ___movmemSI64
|
||||
0x0000000000303c14 ___movstrSI64
|
||||
0x0000000000303c18 ___movstrSI60
|
||||
0x0000000000303c18 ___movmemSI60
|
||||
0x0000000000303c1c ___movmemSI56
|
||||
0x0000000000303c1c ___movstrSI56
|
||||
0x0000000000303c20 ___movstrSI52
|
||||
0x0000000000303c20 ___movmemSI52
|
||||
0x0000000000303c24 ___movstrSI48
|
||||
0x0000000000303c24 ___movmemSI48
|
||||
0x0000000000303c28 ___movstrSI44
|
||||
0x0000000000303c28 ___movmemSI44
|
||||
0x0000000000303c2c ___movstrSI40
|
||||
0x0000000000303c2c ___movmemSI40
|
||||
0x0000000000303c30 ___movstrSI36
|
||||
0x0000000000303c30 ___movmemSI36
|
||||
0x0000000000303c34 ___movmemSI32
|
||||
0x0000000000303c34 ___movstrSI32
|
||||
0x0000000000303c38 ___movmemSI28
|
||||
0x0000000000303c38 ___movstrSI28
|
||||
0x0000000000303c3c ___movstrSI24
|
||||
0x0000000000303c3c ___movmemSI24
|
||||
0x0000000000303c40 ___movmemSI20
|
||||
0x0000000000303c40 ___movstrSI20
|
||||
0x0000000000303c44 ___movstrSI16
|
||||
0x0000000000303c44 ___movmemSI16
|
||||
0x0000000000303c48 ___movmemSI12
|
||||
0x0000000000303c48 ___movstrSI12
|
||||
0x0000000000303c4c ___movmemSI8
|
||||
0x0000000000303c4c ___movstrSI8
|
||||
0x0000000000303c50 ___movmemSI4
|
||||
0x0000000000303c50 ___movstrSI4
|
||||
.text 0x0000000000303c58 0x1e0 /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/m4-nofpu/libgcc.a(_udivdi3.o)
|
||||
0x0000000000303c58 ___udivdi3
|
||||
.text 0x0000000000303e38 0x208 /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/m4-nofpu/libgcc.a(_umoddi3.o)
|
||||
0x0000000000303e38 ___umoddi3
|
||||
.text 0x0000000000304040 0x60 /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/m4-nofpu/libgcc.a(_udiv_qrnnd_16.o)
|
||||
0x0000000000304040 ___udiv_qrnnd_16
|
||||
.text 0x00000000003040a0 0x0 /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/m4-nofpu/libgcc.a(_clz.o)
|
||||
|
||||
.gint.blocks 0x0000000000304020 0x160
|
||||
.gint.blocks 0x00000000003040a0 0x160
|
||||
*(.gint.blocks)
|
||||
.gint.blocks 0x0000000000304020 0x40 /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/libgint-cg.a(inth.s.o)
|
||||
0x0000000000304020 _inth_dma_te
|
||||
0x0000000000304040 _inth_dma_ae
|
||||
.gint.blocks 0x0000000000304060 0xe0 /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/libgint-cg.a(inth.s.o)
|
||||
0x0000000000304060 _inth_tmu
|
||||
0x00000000003040e0 _inth_etmu2
|
||||
0x0000000000304100 _inth_etmu_help
|
||||
0x0000000000304120 _inth_etmux
|
||||
.gint.blocks 0x0000000000304140 0x40 /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/libgint-cg.a(inth.S.o)
|
||||
0x0000000000304140 _gint_inth_7305
|
||||
.gint.blocks 0x00000000003040a0 0x40 /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/libgint-cg.a(inth.s.o)
|
||||
0x00000000003040a0 _inth_dma_te
|
||||
0x00000000003040c0 _inth_dma_ae
|
||||
.gint.blocks 0x00000000003040e0 0xe0 /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/libgint-cg.a(inth.s.o)
|
||||
0x00000000003040e0 _inth_tmu
|
||||
0x0000000000304160 _inth_etmu2
|
||||
0x0000000000304180 _inth_etmu_help
|
||||
0x00000000003041a0 _inth_etmux
|
||||
.gint.blocks 0x00000000003041c0 0x40 /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/libgint-cg.a(inth.S.o)
|
||||
0x00000000003041c0 _gint_inth_7305
|
||||
|
||||
.gint.drivers 0x0000000000304180 0xc0
|
||||
0x0000000000304180 _bdrv = .
|
||||
.gint.drivers 0x0000000000304200 0xc0
|
||||
0x0000000000304200 _bdrv = .
|
||||
*(.gint.drivers.0)
|
||||
.gint.drivers.0
|
||||
0x0000000000304180 0x20 /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/libgint-cg.a(intc.c.o)
|
||||
0x0000000000304180 _drv_intc
|
||||
0x0000000000304200 0x20 /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/libgint-cg.a(intc.c.o)
|
||||
0x0000000000304200 _drv_intc
|
||||
*(.gint.drivers.1)
|
||||
.gint.drivers.1
|
||||
0x00000000003041a0 0x20 /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/libgint-cg.a(cpg.c.o)
|
||||
0x00000000003041a0 _drv_cpg
|
||||
0x0000000000304220 0x20 /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/libgint-cg.a(cpg.c.o)
|
||||
0x0000000000304220 _drv_cpg
|
||||
*(.gint.drivers.2)
|
||||
.gint.drivers.2
|
||||
0x00000000003041c0 0x20 /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/libgint-cg.a(dma.c.o)
|
||||
0x00000000003041c0 _drv_dma0
|
||||
0x0000000000304240 0x20 /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/libgint-cg.a(dma.c.o)
|
||||
0x0000000000304240 _drv_dma0
|
||||
.gint.drivers.2
|
||||
0x00000000003041e0 0x20 /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/libgint-cg.a(tmu.c.o)
|
||||
0x00000000003041e0 _drv_tmu
|
||||
0x0000000000304260 0x20 /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/libgint-cg.a(tmu.c.o)
|
||||
0x0000000000304260 _drv_tmu
|
||||
*(.gint.drivers.3)
|
||||
*(.gint.drivers.4)
|
||||
.gint.drivers.4
|
||||
0x0000000000304200 0x20 /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/libgint-cg.a(keysc.c.o)
|
||||
0x0000000000304200 _drv_keysc
|
||||
0x0000000000304280 0x20 /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/libgint-cg.a(keysc.c.o)
|
||||
0x0000000000304280 _drv_keysc
|
||||
*(.gint.drivers.5)
|
||||
.gint.drivers.5
|
||||
0x0000000000304220 0x20 /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/libgint-cg.a(r61524.c.o)
|
||||
0x0000000000304220 _drv_r61524
|
||||
0x00000000003042a0 0x20 /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/libgint-cg.a(r61524.c.o)
|
||||
0x00000000003042a0 _drv_r61524
|
||||
*(.gint.drivers.6)
|
||||
0x0000000000304240 _edrv = .
|
||||
0x00000000003042c0 _edrv = .
|
||||
|
||||
.rodata 0x0000000000304240 0xf80
|
||||
.rodata 0x00000000003042c0 0xf80
|
||||
*(.rodata.4)
|
||||
*(.rodata .rodata.*)
|
||||
.rodata.str1.4
|
||||
0x0000000000304240 0x7 build-cg/src/main.c.o
|
||||
*fill* 0x0000000000304247 0x1
|
||||
0x00000000003042c0 0x7 build-cg/src/main.c.o
|
||||
*fill* 0x00000000003042c7 0x1
|
||||
.rodata.str1.4
|
||||
0x0000000000304248 0x16a build-cg/src/setlevel.c.o
|
||||
*fill* 0x00000000003043b2 0x2
|
||||
.rodata 0x00000000003043b4 0x208 build-cg/assets/img/solid_1.png.o
|
||||
0x00000000003043b4 _img_solid_1
|
||||
0x00000000003045bc _img_solid_1_end
|
||||
.rodata 0x00000000003045bc 0x128 build-cg/assets/img/player.png.o
|
||||
0x00000000003045bc _img_player
|
||||
0x00000000003046e4 _img_player_end
|
||||
.rodata 0x00000000003046e4 0x208 build-cg/assets/img/solid_0.png.o
|
||||
0x00000000003046e4 _img_solid_0
|
||||
0x00000000003048ec _img_solid_0_end
|
||||
0x00000000003042c8 0x16a build-cg/src/setlevel.c.o
|
||||
*fill* 0x0000000000304432 0x2
|
||||
.rodata 0x0000000000304434 0x208 build-cg/assets/img/solid_1.png.o
|
||||
0x0000000000304434 _img_solid_1
|
||||
0x000000000030463c _img_solid_1_end
|
||||
.rodata 0x000000000030463c 0x128 build-cg/assets/img/player.png.o
|
||||
0x000000000030463c _img_player
|
||||
0x0000000000304764 _img_player_end
|
||||
.rodata 0x0000000000304764 0x208 build-cg/assets/img/solid_0.png.o
|
||||
0x0000000000304764 _img_solid_0
|
||||
0x000000000030496c _img_solid_0_end
|
||||
.rodata.str1.4
|
||||
0x00000000003048ec 0x7 /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/libgint-cg.a(r61524.c.o)
|
||||
*fill* 0x00000000003048f3 0x1
|
||||
.rodata 0x00000000003048f4 0x30 /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/libgint-cg.a(dma.c.o)
|
||||
0x000000000030496c 0x7 /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/libgint-cg.a(r61524.c.o)
|
||||
*fill* 0x0000000000304973 0x1
|
||||
.rodata 0x0000000000304974 0x30 /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/libgint-cg.a(dma.c.o)
|
||||
.rodata.str1.4
|
||||
0x0000000000304924 0x5 /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/libgint-cg.a(dma.c.o)
|
||||
*fill* 0x0000000000304929 0x3
|
||||
0x00000000003049a4 0x5 /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/libgint-cg.a(dma.c.o)
|
||||
*fill* 0x00000000003049a9 0x3
|
||||
.rodata.str1.4
|
||||
0x000000000030492c 0x5 /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/libgint-cg.a(intc.c.o)
|
||||
*fill* 0x0000000000304931 0x3
|
||||
0x00000000003049ac 0x5 /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/libgint-cg.a(intc.c.o)
|
||||
*fill* 0x00000000003049b1 0x3
|
||||
.rodata.str1.4
|
||||
0x0000000000304934 0x288 /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/libgint-cg.a(exch.c.o)
|
||||
0x00000000003049b4 0x288 /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/libgint-cg.a(exch.c.o)
|
||||
0x28c (size before relaxing)
|
||||
.rodata.str1.4
|
||||
0x0000000000304bbc 0x6 /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/libgint-cg.a(keysc.c.o)
|
||||
*fill* 0x0000000000304bc2 0x2
|
||||
.rodata 0x0000000000304bc4 0xc /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/libgint-cg.a(tmu.c.o)
|
||||
0x0000000000304c3c 0x6 /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/libgint-cg.a(keysc.c.o)
|
||||
*fill* 0x0000000000304c42 0x2
|
||||
.rodata 0x0000000000304c44 0xc /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/libgint-cg.a(tmu.c.o)
|
||||
.rodata.str1.4
|
||||
0x0000000000304bd0 0x4 /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/libgint-cg.a(tmu.c.o)
|
||||
0x0000000000304c50 0x4 /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/libgint-cg.a(tmu.c.o)
|
||||
.rodata.str1.4
|
||||
0x0000000000304bd4 0x31 /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/libgint-cg.a(stdio.c.o)
|
||||
*fill* 0x0000000000304c05 0x3
|
||||
0x0000000000304c54 0x31 /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/libgint-cg.a(stdio.c.o)
|
||||
*fill* 0x0000000000304c85 0x3
|
||||
.rodata.str1.4
|
||||
0x0000000000304c08 0x4 /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/libgint-cg.a(cpg.c.o)
|
||||
.rodata 0x0000000000304c0c 0x18 /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/libgint-cg.a(topti.c.o)
|
||||
.rodata 0x0000000000304c24 0x49c /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/libgint-cg.a(font8x9.png.o)
|
||||
0x0000000000304c24 _gint_font8x9
|
||||
0x00000000003050c0 _gint_font8x9_end
|
||||
.rodata 0x00000000003050c0 0x100 /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/m4-nofpu/libgcc.a(_clz.o)
|
||||
0x00000000003050c0 ___clz_tab
|
||||
0x0000000000304c88 0x4 /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/libgint-cg.a(cpg.c.o)
|
||||
.rodata 0x0000000000304c8c 0x18 /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/libgint-cg.a(topti.c.o)
|
||||
.rodata 0x0000000000304ca4 0x49c /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/libgint-cg.a(font8x9.png.o)
|
||||
0x0000000000304ca4 _gint_font8x9
|
||||
0x0000000000305140 _gint_font8x9_end
|
||||
.rodata 0x0000000000305140 0x100 /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/m4-nofpu/libgcc.a(_clz.o)
|
||||
0x0000000000305140 ___clz_tab
|
||||
|
||||
.rela.dyn 0x00000000003051c0 0x0
|
||||
.rela.text 0x00000000003051c0 0x0 build-cg/src/drawlevel.c.o
|
||||
.rela.dyn 0x0000000000305240 0x0
|
||||
.rela.text 0x0000000000305240 0x0 build-cg/src/drawlevel.c.o
|
||||
.rela.text.entry
|
||||
0x00000000003051c0 0x0 build-cg/src/drawlevel.c.o
|
||||
0x0000000000305240 0x0 build-cg/src/drawlevel.c.o
|
||||
0x0000000008101400 . = ORIGIN (ram)
|
||||
|
||||
.bss 0x0000000008101400 0x150
|
||||
0x0000000008101400 _rbss = .
|
||||
*(.bss COMMON)
|
||||
.bss 0x0000000008101400 0x0 build-cg/src/collide.c.o
|
||||
.bss 0x0000000008101400 0x0 build-cg/src/drawlevel.c.o
|
||||
.bss 0x0000000008101400 0x0 build-cg/src/main.c.o
|
||||
.bss 0x0000000008101400 0x0 build-cg/src/setlevel.c.o
|
||||
|
@ -524,10 +530,11 @@ LOAD /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/m4-nofpu/libgc
|
|||
*fill* 0x0000000008101548 0x8
|
||||
0x0000000000000150 _sbss = SIZEOF (.bss)
|
||||
|
||||
.data 0x0000000008101550 0x170 load address 0x00000000003051c0
|
||||
0x00000000003051c0 _ldata = LOADADDR (.data)
|
||||
.data 0x0000000008101550 0x170 load address 0x0000000000305240
|
||||
0x0000000000305240 _ldata = LOADADDR (.data)
|
||||
0x0000000008101550 _rdata = .
|
||||
*(.data .data.*)
|
||||
.data 0x0000000008101550 0x0 build-cg/src/collide.c.o
|
||||
.data 0x0000000008101550 0x0 build-cg/src/drawlevel.c.o
|
||||
.data 0x0000000008101550 0x0 build-cg/src/main.c.o
|
||||
.data 0x0000000008101550 0x0 build-cg/src/setlevel.c.o
|
||||
|
@ -578,14 +585,14 @@ LOAD /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/m4-nofpu/libgc
|
|||
0x00000000081016c0 . = ALIGN (0x10)
|
||||
*fill* 0x00000000081016b8 0x8
|
||||
|
||||
.data.4 0x00000000081016c0 0x0 load address 0x0000000000305330
|
||||
.data.4 0x00000000081016c0 0x0 load address 0x00000000003053b0
|
||||
*(.data.4)
|
||||
0x00000000081016c0 . = ALIGN (0x10)
|
||||
0x0000000000000170 _sdata = (SIZEOF (.data) + SIZEOF (.data.4))
|
||||
0x00000000e5200000 . = ORIGIN (ilram)
|
||||
|
||||
.ilram 0x00000000e5200000 0x160 load address 0x0000000000305330
|
||||
0x0000000000305330 _lilram = LOADADDR (.ilram)
|
||||
.ilram 0x00000000e5200000 0x160 load address 0x00000000003053b0
|
||||
0x00000000003053b0 _lilram = LOADADDR (.ilram)
|
||||
0x00000000e5200000 _rilram = .
|
||||
*(.ilram)
|
||||
.ilram 0x00000000e5200000 0x20 /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/libgint-cg.a(memset.c.o)
|
||||
|
@ -604,15 +611,15 @@ LOAD /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/m4-nofpu/libgc
|
|||
*fill* 0x00000000e5200154 0xc
|
||||
0x00000000e5007000 . = ORIGIN (xram)
|
||||
|
||||
.xram 0x00000000e5007000 0x0 load address 0x0000000000305490
|
||||
0x0000000000305490 _lxram = LOADADDR (.xram)
|
||||
.xram 0x00000000e5007000 0x0 load address 0x0000000000305510
|
||||
0x0000000000305510 _lxram = LOADADDR (.xram)
|
||||
0x00000000e5007000 _rxram = .
|
||||
*(.xram)
|
||||
0x00000000e5007000 . = ALIGN (0x10)
|
||||
0x00000000e5017000 . = ORIGIN (yram)
|
||||
|
||||
.yram 0x00000000e5017000 0x0 load address 0x0000000000305490
|
||||
0x0000000000305490 _lyram = LOADADDR (.yram)
|
||||
.yram 0x00000000e5017000 0x0 load address 0x0000000000305510
|
||||
0x0000000000305510 _lyram = LOADADDR (.yram)
|
||||
0x00000000e5017000 _ryram = .
|
||||
*(.yram)
|
||||
0x00000000e5017000 . = ALIGN (0x10)
|
||||
|
@ -623,8 +630,8 @@ LOAD /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/m4-nofpu/libgc
|
|||
0x000000008815ff00 _gint_vbr_fxcg20 = (ORIGIN (vbr20) - 0x100)
|
||||
0x00000000081016c0 . = ((ORIGIN (ram) + _sbss) + _sdata)
|
||||
|
||||
.gint.data 0x00000000081016c0 0xa0 load address 0x0000000000305490
|
||||
0x0000000000305490 _lgdata = LOADADDR (.gint.data)
|
||||
.gint.data 0x00000000081016c0 0xa0 load address 0x0000000000305510
|
||||
0x0000000000305510 _lgdata = LOADADDR (.gint.data)
|
||||
0x00000000081016c0 _rgdata = .
|
||||
*(.gint.data .gint.data.*)
|
||||
.gint.data 0x00000000081016c0 0x8 /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/libgint-cg.a(r61524.c.o)
|
||||
|
@ -642,7 +649,7 @@ LOAD /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/m4-nofpu/libgc
|
|||
*fill* 0x0000000008101758 0x8
|
||||
0x00000000000000a0 _sgdata = SIZEOF (.gint.data)
|
||||
|
||||
.gint.bss 0x0000000008101760 0x530 load address 0x0000000000305530
|
||||
.gint.bss 0x0000000008101760 0x530 load address 0x00000000003055b0
|
||||
*(.gint.bss .gint.bss.*)
|
||||
.gint.bss 0x0000000008101760 0x10 /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/libgint-cg.a(r61524.c.o)
|
||||
.gint.bss 0x0000000008101770 0xd0 /home/benjamingr/Documents/casio/gcc/lib/gcc/sh3eb-elf/9.3.0/libgint-cg.a(dma.c.o)
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
build-cg/src/main.c.o: src/main.c include/setlevel.h include/drawlevel.h
|
||||
build-cg/src/main.c.o: src/main.c include/setlevel.h include/drawlevel.h \
|
||||
include/collide.h
|
||||
|
||||
include/setlevel.h:
|
||||
|
||||
include/drawlevel.h:
|
||||
|
||||
include/collide.h:
|
||||
|
|
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1 @@
|
|||
int collide(int x, int y, char block, char gravity, char level[]);
|
|
@ -0,0 +1,15 @@
|
|||
#include "collide.h"
|
||||
|
||||
int collide(int x, int y, char block, char gravity, char level[])
|
||||
{
|
||||
if(level[(int)(x/16)+(int)(y/16*25)+25] == block && !gravity)
|
||||
{
|
||||
return 2;
|
||||
}
|
||||
else if (level[(int)(x/16)+(int)(y/16*25)-25] == block && gravity)
|
||||
{
|
||||
return 3;
|
||||
}
|
||||
else if(!gravity) return 0;
|
||||
else return 1;
|
||||
}
|
26
src/main.c
26
src/main.c
|
@ -2,19 +2,21 @@
|
|||
#include <gint/keyboard.h>
|
||||
#include "setlevel.h"
|
||||
#include "drawlevel.h"
|
||||
#include "collide.h"
|
||||
|
||||
#define PLAYER_SPEED 2
|
||||
#define PLAYER_GRAVITY 5
|
||||
#define PLAYER_HEIGHT 12
|
||||
|
||||
int main(void)
|
||||
{
|
||||
dclear(C_WHITE);
|
||||
int player_x=20, player_y=20;
|
||||
int player_x=30, player_y=35;
|
||||
char level[351];
|
||||
char gravity = 0; //0 down 1 up
|
||||
int id_level = 1;
|
||||
set_level(id_level,level);
|
||||
draw_level(level);
|
||||
draw_player(player_x,player_y);
|
||||
while(1)
|
||||
{
|
||||
dupdate();
|
||||
|
@ -32,16 +34,23 @@ int main(void)
|
|||
}
|
||||
else if(keydown(KEY_SHIFT))
|
||||
{
|
||||
player_y-=PLAYER_SPEED;
|
||||
if(player_y<-9) player_y=219;
|
||||
gravity = 1;
|
||||
}
|
||||
else if(keydown(KEY_ALPHA))
|
||||
{
|
||||
gravity = 0;
|
||||
}
|
||||
if(keydown(KEY_EXIT))
|
||||
{
|
||||
break;
|
||||
}
|
||||
if(level[(int)(player_x/16)+(int)(player_y/16*25)] == '0' && gravity == 0)
|
||||
if (collide(player_x, player_y, '1', gravity, level)==0)
|
||||
{
|
||||
player_y+=PLAYER_SPEED;
|
||||
player_y+=PLAYER_GRAVITY;
|
||||
}
|
||||
else if (collide(player_x, player_y, '1', gravity, level)==1)
|
||||
{
|
||||
player_y-=PLAYER_GRAVITY;
|
||||
}
|
||||
draw_level(level);
|
||||
draw_player(player_x,player_y);
|
||||
|
@ -49,8 +58,9 @@ int main(void)
|
|||
dprint(100,150,C_BLACK,"%d",(int)(player_y/16));
|
||||
dprint(150,100,C_BLACK,"%d",player_x);
|
||||
dprint(150,150,C_BLACK,"%d",player_y);
|
||||
dprint(150,200,C_BLACK,"%d",(int)(player_x/16)+(int)(player_y/16)*25);
|
||||
dprint(100,200,C_BLACK,"%c",level[(int)(player_x/16)+(int)(player_y/16)*25*2]);
|
||||
dprint(150,200,C_BLACK,"%d",(int)(player_x/16)+(int)(player_y/16)*25+25);
|
||||
dprint(100,180,C_BLACK,"%c",level[(int)(player_x/16)+(int)(player_y/16)*25+25]);
|
||||
dprint(120,180,C_BLACK,"%c",level[(int)(player_x/16)+(int)(player_y/16)*25-25]);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
|
|
@ -6,7 +6,7 @@ void set_level(int id_level, char level[])
|
|||
switch(id_level)
|
||||
{
|
||||
case 1:
|
||||
memcpy(level,"11111111111111111111111111000000000000000000000001100000000000000000000002110000000000000000000000011000000000000000000000001100000000000000000000000110000000000000000000000011000000000000000000000001100000000000000000000000110000000000000000000000011000000000000000000000001100000000000000000000000110000000000000000000000011111111111111111111111111",350);
|
||||
memcpy(level,"11111111111111111111111111000000000000000000000001100000000000011111100000110000000000000000000000011000000000000000000000001100000000000000000000000110000000011111111000000011000000000000000000000001100200000000020000000000110020000000000000000000011002000000000000001111001100000000000000000000000110000000000000000000000011111111111111111111111111",350);
|
||||
break;
|
||||
case 2:
|
||||
memcpy(level,"000001110",350);
|
||||
|
|
Loading…
Reference in New Issue