testing fxengine --> bug found, not corrected yet !

This commit is contained in:
milang 2019-09-19 21:08:27 +02:00
parent 9e755bd4fb
commit 4d281516db
No known key found for this signature in database
GPG Key ID: D287C9D6C33D9035
6 changed files with 438 additions and 382 deletions

BIN
1v13D.g1a

Binary file not shown.

Binary file not shown.

View File

@ -1,9 +1,7 @@
Archive member included to satisfy reference by file (symbol)
/usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(getkey.c.o)
build-fx/src/main.o (getkey)
/usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(keysc.c.o)
/usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(getkey.c.o) (waitevent)
build-fx/src/main.o (pollevent)
/usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(dclear.c.o)
build-fx/src/main.o (dclear)
/usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(dupdate.c.o)
@ -28,6 +26,8 @@ Archive member included to satisfy reference by file (symbol)
build-fx/src/main.o (sprintf)
/usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(exch.s.o)
/usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(setup.c.o) (gint_exch_tlbh)
/usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(getkey.c.o)
/usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(keysc.c.o) (getkey_repeat)
/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)
@ -58,26 +58,28 @@ Archive member included to satisfy reference by file (symbol)
build-fx/src/main.o (ll_log)
/usr/lib/gcc/sh3eb-elf/9.1.0/libfxengine.a(bitmap.c.o)
build-fx/src/main.o (fe_texture_new_rich)
/usr/lib/gcc/sh3eb-elf/9.1.0/libfxengine.a(triangle.c.o)
build-fx/src/main.o (fe_render_update)
/usr/lib/gcc/sh3eb-elf/9.1.0/libfxengine.a(object.c.o)
build-fx/src/main.o (fe_object_init)
/usr/lib/gcc/sh3eb-elf/9.1.0/libfxengine.a(camera.c.o)
build-fx/src/main.o (fe_view_set)
/usr/lib/gcc/sh3eb-elf/9.1.0/libfxengine.a(space.c.o)
build-fx/src/main.o (fe_modulo_2pi)
/usr/lib/gcc/sh3eb-elf/9.1.0/libfxengine.a(fxengine.c.o)
build-fx/src/main.o (fe_custom_panic)
/usr/lib/gcc/sh3eb-elf/9.1.0/libfxengine.a(zbuffer.c.o)
/usr/lib/gcc/sh3eb-elf/9.1.0/libfxengine.a(triangle.c.o) (fe_zbuffer_clear)
/usr/lib/gcc/sh3eb-elf/9.1.0/libfxengine.a(fxengine.c.o) (fe_zbuffer_clear)
/usr/lib/gcc/sh3eb-elf/9.1.0/libfxengine.a(triangle.c.o)
/usr/lib/gcc/sh3eb-elf/9.1.0/libfxengine.a(object.c.o) (fe_display_triangle)
/usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(dpixel.c.o)
/usr/lib/gcc/sh3eb-elf/9.1.0/libfxengine.a(bitmap.c.o) (dpixel)
/usr/lib/gcc/sh3eb-elf/9.1.0/libprof.a(libprof.c.o)
/usr/lib/gcc/sh3eb-elf/9.1.0/libfxengine.a(triangle.c.o) (prof_time)
/usr/lib/gcc/sh3eb-elf/9.1.0/libfxengine.a(fxengine.c.o) (prof_time)
/usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_movmem.o)
/usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(topti.c.o) (__movmemSI24)
/usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_sdivsi3.o)
/usr/lib/gcc/sh3eb-elf/9.1.0/libfxengine.a(triangle.c.o) (__sdivsi3)
/usr/lib/gcc/sh3eb-elf/9.1.0/libfxengine.a(space.c.o) (__sdivsi3)
/usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_udivsi3.o)
/usr/lib/gcc/sh3eb-elf/9.1.0/libfxengine.a(triangle.c.o) (__udivsi3)
/usr/lib/gcc/sh3eb-elf/9.1.0/libfxengine.a(fxengine.c.o) (__udivsi3)
/usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_udivdi3.o)
/usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(tmu.c.o) (__udivdi3)
/usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_addsub_df.o)
@ -85,7 +87,7 @@ Archive member included to satisfy reference by file (symbol)
/usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_mul_df.o)
build-fx/src/main.o (__muldf3)
/usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_div_df.o)
/usr/lib/gcc/sh3eb-elf/9.1.0/libfxengine.a(space.c.o) (__divdf3)
build-fx/src/main.o (__divdf3)
/usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_gt_df.o)
/usr/lib/gcc/sh3eb-elf/9.1.0/libfxengine.a(space.c.o) (__gtdf2)
/usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_ge_df.o)
@ -121,7 +123,6 @@ fe_translate_delta 0xc /usr/lib/gcc/sh3eb-elf/9.1.0/libfxengine.a
Discarded input sections
.comment 0x0000000000000000 0x12 build-fx/src/main.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(dupdate.c.o)
@ -134,6 +135,7 @@ Discarded input sections
.comment 0x0000000000000000 0x12 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(t6k11.c.o)
.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(stdio.c.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(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(dtext.c.o)
@ -143,11 +145,12 @@ Discarded input sections
.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/liblog.a(liblog.c.o)
.comment 0x0000000000000000 0x12 /usr/lib/gcc/sh3eb-elf/9.1.0/libfxengine.a(bitmap.c.o)
.comment 0x0000000000000000 0x12 /usr/lib/gcc/sh3eb-elf/9.1.0/libfxengine.a(triangle.c.o)
.comment 0x0000000000000000 0x12 /usr/lib/gcc/sh3eb-elf/9.1.0/libfxengine.a(object.c.o)
.comment 0x0000000000000000 0x12 /usr/lib/gcc/sh3eb-elf/9.1.0/libfxengine.a(camera.c.o)
.comment 0x0000000000000000 0x12 /usr/lib/gcc/sh3eb-elf/9.1.0/libfxengine.a(space.c.o)
.comment 0x0000000000000000 0x12 /usr/lib/gcc/sh3eb-elf/9.1.0/libfxengine.a(fxengine.c.o)
.comment 0x0000000000000000 0x12 /usr/lib/gcc/sh3eb-elf/9.1.0/libfxengine.a(zbuffer.c.o)
.comment 0x0000000000000000 0x12 /usr/lib/gcc/sh3eb-elf/9.1.0/libfxengine.a(triangle.c.o)
.comment 0x0000000000000000 0x12 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(dpixel.c.o)
.comment 0x0000000000000000 0x12 /usr/lib/gcc/sh3eb-elf/9.1.0/libprof.a(libprof.c.o)
.comment 0x0000000000000000 0x12 /usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_udivdi3.o)
@ -191,7 +194,7 @@ LOAD /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a
LOAD /usr/lib/gcc/sh3eb-elf/9.1.0/libprof.a
LOAD /usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a
0x0000000000300000 _brom = 0x300000
0x0000000000005644 _srom = ((((0x200 + SIZEOF (.text)) + SIZEOF (.rodata)) + SIZEOF (.gint.drivers)) + SIZEOF (.gint.blocks))
0x0000000000005834 _srom = ((((0x200 + SIZEOF (.text)) + SIZEOF (.rodata)) + SIZEOF (.gint.drivers)) + SIZEOF (.gint.blocks))
.pretext 0x0000000000300200 0x8d8
*(.pretext.entry)
@ -232,7 +235,7 @@ LOAD /usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a
*(.dtors .dtors.*)
0x0000000000300ad8 _etors = .
.text 0x0000000000300ae0 0x48b0
.text 0x0000000000300ae0 0x4a08
0x0000000000300ae0 _gint_exch_tlbh_start = .
*(.gint.exch_tlbh)
.gint.exch_tlbh
@ -241,297 +244,309 @@ LOAD /usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a
0x000000000000004c _gint_exch_tlbh_size = ABSOLUTE ((. - _gint_exch_tlbh_start))
*(.text .text.*)
.text 0x0000000000300b2c 0x0 build-fx/src/main.o
.text.startup 0x0000000000300b2c 0x318 build-fx/src/main.o
.text.startup 0x0000000000300b2c 0x398 build-fx/src/main.o
0x0000000000300b2c main
.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 0x24 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(dupdate.c.o)
0x0000000000301320 dupdate
0x0000000000301338 dupdate_noint
.text 0x0000000000301344 0x56c /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(tmu.c.o)
0x0000000000301664 timer_setup
0x00000000003016f4 timer_delay
0x0000000000301754 timer_start
0x0000000000301788 timer_reload
0x00000000003017a8 timer_pause
0x00000000003017dc timer_stop
0x0000000000301838 timer_timeout
0x0000000000301844 timer_address
0x0000000000301880 timer_clear
.text 0x00000000003018b0 0x78 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(gint.c.o)
0x00000000003018b0 gint_intlevel
0x0000000000301904 gint_inthandler
.text 0x0000000000301928 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(hardware.c.o)
.text 0x0000000000301928 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(start.c.o)
.text 0x0000000000301928 0x17c /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(setup.c.o)
0x00000000003019dc gint_install
0x0000000000301a8c gint_unload
.text 0x0000000000301aa4 0x1c4 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(exch.c.o)
0x0000000000301c34 gint_panic
0x0000000000301c44 gint_panic_set
0x0000000000301c50 gint_exc_catch
0x0000000000301c5c gint_exc_skip
.text 0x0000000000301c68 0x1d8 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(t6k11.c.o)
0x0000000000301d00 t6k11_display
0x0000000000301dd4 t6k11_contrast
0x0000000000301e00 t6k11_backlight
.text 0x0000000000301e40 0xdc /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(memory.c.o)
0x0000000000301e40 memcpy
0x0000000000301efa _memmove
0x0000000000301efe _memcmp
0x0000000000301f02 memset
.text 0x0000000000301f1c 0xc00 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(stdio.c.o)
0x0000000000302844 kprint_opt
0x000000000030297c kprint
0x0000000000302a54 kvsprint
0x0000000000302a9c sprintf
0x0000000000302ac4 vsprintf
0x0000000000302ae4 snprintf
0x0000000000302b04 vsnprintf
.text 0x0000000000302b1c 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(exch.s.o)
.text 0x0000000000302b1c 0x124 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(iokbd.c.o)
0x0000000000302b28 iokbd_row
0x0000000000302c10 iokbd_scan
.text 0x0000000000302c40 0x150 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(cpg.c.o)
0x0000000000302d84 clock_freq
.text 0x0000000000302d90 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(dtext.c.o)
.text 0x0000000000302d90 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(topti-asm.s.o)
.text 0x0000000000302d90 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(topti.c.o)
.text 0x0000000000302d90 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(inth.s.o)
.text 0x0000000000302d90 0x58 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(dprint.c.o)
0x0000000000302d90 dprint
.text 0x0000000000302de8 0x9c /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(topti.c.o)
0x0000000000302de8 dsize
.text 0x0000000000302e84 0x2c /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(vbr.s.o)
0x0000000000302e84 gint_setvbr
.text 0x0000000000302eb0 0x1f4 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(mmu.c.o)
0x0000000000302eb0 tlb_addr
0x0000000000302ec4 tlb_data
0x0000000000302ed8 tlb_mapped_memory
0x0000000000302fac utlb_addr
0x0000000000302fbc utlb_data
0x0000000000302fcc utlb_mapped_memory
.text 0x00000000003030a4 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(syscalls.S.o)
.text 0x00000000003030a4 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(inth.S.o)
.text 0x00000000003030a4 0x19c /usr/lib/gcc/sh3eb-elf/9.1.0/liblog.a(liblog.c.o)
0x00000000003030e8 ll_log
0x00000000003031c8 ll_display_log
.text 0x0000000000303240 0x1a4 /usr/lib/gcc/sh3eb-elf/9.1.0/libfxengine.a(bitmap.c.o)
0x0000000000303240 fe_texture_new_rich
0x0000000000303314 fe_texture_delete_rich
0x0000000000303358 fe_texture_get_pixel_r
0x00000000003033aa fe_texture_display_pixel_r
.text 0x00000000003033e4 0x480 /usr/lib/gcc/sh3eb-elf/9.1.0/libfxengine.a(triangle.c.o)
0x0000000000303474 fe_render_update
0x0000000000303544 fe_display_triangle
.text 0x0000000000303864 0x280 /usr/lib/gcc/sh3eb-elf/9.1.0/libfxengine.a(object.c.o)
0x0000000000303864 fe_object_init
0x0000000000303870 fe_object_set_points
0x00000000003038cc fe_object_set_faces
0x0000000000303924 fe_object_delete
0x0000000000303964 fe_object_display
0x00000000003039e4 fe_object_debug
0x0000000000303ad4 fe_object_get_vertex
.text 0x0000000000303ae4 0x1d8 /usr/lib/gcc/sh3eb-elf/9.1.0/libfxengine.a(camera.c.o)
0x0000000000303ae4 fe_view_set_param
0x0000000000303c94 fe_view_set
.text 0x0000000000303cbc 0x3a8 /usr/lib/gcc/sh3eb-elf/9.1.0/libfxengine.a(space.c.o)
0x0000000000303cbc fe_modulo_2pi
0x0000000000303d70 fe_cos
0x0000000000303eac fe_sin
0x0000000000303ed4 fe_vertex_translate
.text 0x0000000000304064 0x88 /usr/lib/gcc/sh3eb-elf/9.1.0/libfxengine.a(zbuffer.c.o)
0x0000000000304064 fe_zbuffer_clear
0x000000000030408c fe_zbuffer_set_px
.text 0x00000000003040ec 0x50 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(dpixel.c.o)
0x00000000003040ec dpixel
.text 0x000000000030413c 0x154 /usr/lib/gcc/sh3eb-elf/9.1.0/libprof.a(libprof.c.o)
0x000000000030413c prof_time
0x0000000000304180 prof_quit
0x00000000003041b4 prof_init
.text 0x0000000000304290 0x78 /usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_movmem.o)
0x0000000000304290 __movstr
0x0000000000304290 __movmem
0x00000000003042c4 __movmemSI64
0x00000000003042c4 __movstrSI64
0x00000000003042c8 __movstrSI60
0x00000000003042c8 __movmemSI60
0x00000000003042cc __movmemSI56
0x00000000003042cc __movstrSI56
0x00000000003042d0 __movstrSI52
0x00000000003042d0 __movmemSI52
0x00000000003042d4 __movstrSI48
0x00000000003042d4 __movmemSI48
0x00000000003042d8 __movstrSI44
0x00000000003042d8 __movmemSI44
0x00000000003042dc __movstrSI40
0x00000000003042dc __movmemSI40
0x00000000003042e0 __movstrSI36
0x00000000003042e0 __movmemSI36
0x00000000003042e4 __movmemSI32
0x00000000003042e4 __movstrSI32
0x00000000003042e8 __movmemSI28
0x00000000003042e8 __movstrSI28
0x00000000003042ec __movstrSI24
0x00000000003042ec __movmemSI24
0x00000000003042f0 __movmemSI20
0x00000000003042f0 __movstrSI20
0x00000000003042f4 __movstrSI16
0x00000000003042f4 __movmemSI16
0x00000000003042f8 __movmemSI12
0x00000000003042f8 __movstrSI12
0x00000000003042fc __movmemSI8
0x00000000003042fc __movstrSI8
0x0000000000304300 __movmemSI4
0x0000000000304300 __movstrSI4
.text 0x0000000000304308 0xa0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_sdivsi3.o)
0x0000000000304308 __sdivsi3
.text 0x00000000003043a8 0x6c /usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_udivsi3.o)
0x00000000003043ca __udivsi3
.text 0x0000000000304414 0x1f0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_udivdi3.o)
0x0000000000304414 __udivdi3
.text 0x0000000000304604 0x348 /usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_addsub_df.o)
0x00000000003048a8 __adddf3
0x00000000003048f8 __subdf3
.text 0x000000000030494c 0x208 /usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_mul_df.o)
0x000000000030494c __muldf3
.text 0x0000000000304b54 0x130 /usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_div_df.o)
0x0000000000304b54 __divdf3
.text 0x0000000000304c84 0x58 /usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_gt_df.o)
0x0000000000304c84 __gtdf2
.text 0x0000000000304cdc 0x58 /usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_ge_df.o)
0x0000000000304cdc __gedf2
.text 0x0000000000304d34 0x58 /usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_lt_df.o)
0x0000000000304d34 __ltdf2
.text 0x0000000000304d8c 0x58 /usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_le_df.o)
0x0000000000304d8c __ledf2
.text 0x0000000000304de4 0x98 /usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_si_to_df.o)
0x0000000000304de4 __floatsidf
.text 0x0000000000304e7c 0x8c /usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_df_to_si.o)
0x0000000000304e7c __fixdfsi
.text 0x0000000000304f08 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_thenan_df.o)
.text 0x0000000000304f08 0x60 /usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_udiv_qrnnd_16.o)
0x0000000000304f08 __udiv_qrnnd_16
.text 0x0000000000304f68 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_clz.o)
.text 0x0000000000304f68 0x54 /usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_clzsi2.o)
0x0000000000304f68 __clzsi2
.text 0x0000000000304fbc 0x240 /usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_pack_df.o)
0x0000000000304fbc __pack_d
.text 0x00000000003051fc 0xcc /usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_unpack_df.o)
0x00000000003051fc __unpack_d
.text 0x00000000003052c8 0xc8 /usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_fpcmp_parts_df.o)
0x00000000003052c8 __fpcmp_parts_d
.text 0x0000000000300ec4 0x2c8 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(keysc.c.o)
0x0000000000301068 pollevent
0x0000000000301154 waitevent
.text 0x000000000030118c 0x4c /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(dclear.c.o)
0x000000000030118c dclear
.text 0x00000000003011d8 0x24 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(dupdate.c.o)
0x00000000003011d8 dupdate
0x00000000003011f0 dupdate_noint
.text 0x00000000003011fc 0x56c /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(tmu.c.o)
0x000000000030151c timer_setup
0x00000000003015ac timer_delay
0x000000000030160c timer_start
0x0000000000301640 timer_reload
0x0000000000301660 timer_pause
0x0000000000301694 timer_stop
0x00000000003016f0 timer_timeout
0x00000000003016fc timer_address
0x0000000000301738 timer_clear
.text 0x0000000000301768 0x78 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(gint.c.o)
0x0000000000301768 gint_intlevel
0x00000000003017bc gint_inthandler
.text 0x00000000003017e0 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(hardware.c.o)
.text 0x00000000003017e0 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(start.c.o)
.text 0x00000000003017e0 0x17c /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(setup.c.o)
0x0000000000301894 gint_install
0x0000000000301944 gint_unload
.text 0x000000000030195c 0x1c4 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(exch.c.o)
0x0000000000301aec gint_panic
0x0000000000301afc gint_panic_set
0x0000000000301b08 gint_exc_catch
0x0000000000301b14 gint_exc_skip
.text 0x0000000000301b20 0x1d8 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(t6k11.c.o)
0x0000000000301bb8 t6k11_display
0x0000000000301c8c t6k11_contrast
0x0000000000301cb8 t6k11_backlight
.text 0x0000000000301cf8 0xdc /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(memory.c.o)
0x0000000000301cf8 memcpy
0x0000000000301db2 _memmove
0x0000000000301db6 _memcmp
0x0000000000301dba memset
.text 0x0000000000301dd4 0xc00 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(stdio.c.o)
0x00000000003026fc kprint_opt
0x0000000000302834 kprint
0x000000000030290c kvsprint
0x0000000000302954 sprintf
0x000000000030297c vsprintf
0x000000000030299c snprintf
0x00000000003029bc vsnprintf
.text 0x00000000003029d4 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(exch.s.o)
.text 0x00000000003029d4 0x1c8 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(getkey.c.o)
0x00000000003029d4 getkey_opt
0x0000000000302b54 getkey
0x0000000000302b60 getkey_repeat
.text 0x0000000000302b9c 0x124 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(iokbd.c.o)
0x0000000000302ba8 iokbd_row
0x0000000000302c90 iokbd_scan
.text 0x0000000000302cc0 0x150 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(cpg.c.o)
0x0000000000302e04 clock_freq
.text 0x0000000000302e10 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(dtext.c.o)
.text 0x0000000000302e10 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(topti-asm.s.o)
.text 0x0000000000302e10 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(topti.c.o)
.text 0x0000000000302e10 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(inth.s.o)
.text 0x0000000000302e10 0x58 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(dprint.c.o)
0x0000000000302e10 dprint
.text 0x0000000000302e68 0x9c /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(topti.c.o)
0x0000000000302e68 dsize
.text 0x0000000000302f04 0x2c /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(vbr.s.o)
0x0000000000302f04 gint_setvbr
.text 0x0000000000302f30 0x1f4 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(mmu.c.o)
0x0000000000302f30 tlb_addr
0x0000000000302f44 tlb_data
0x0000000000302f58 tlb_mapped_memory
0x000000000030302c utlb_addr
0x000000000030303c utlb_data
0x000000000030304c utlb_mapped_memory
.text 0x0000000000303124 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(syscalls.S.o)
.text 0x0000000000303124 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(inth.S.o)
.text 0x0000000000303124 0x19c /usr/lib/gcc/sh3eb-elf/9.1.0/liblog.a(liblog.c.o)
0x0000000000303168 ll_log
0x0000000000303248 ll_display_log
.text 0x00000000003032c0 0x1a4 /usr/lib/gcc/sh3eb-elf/9.1.0/libfxengine.a(bitmap.c.o)
0x00000000003032c0 fe_texture_new_rich
0x0000000000303394 fe_texture_delete_rich
0x00000000003033d8 fe_texture_get_pixel_r
0x000000000030342a fe_texture_display_pixel_r
.text 0x0000000000303464 0x280 /usr/lib/gcc/sh3eb-elf/9.1.0/libfxengine.a(object.c.o)
0x0000000000303464 fe_object_init
0x0000000000303470 fe_object_set_points
0x00000000003034cc fe_object_set_faces
0x0000000000303524 fe_object_delete
0x0000000000303564 fe_object_display
0x00000000003035e4 fe_object_debug
0x00000000003036d4 fe_object_get_vertex
.text 0x00000000003036e4 0x1d8 /usr/lib/gcc/sh3eb-elf/9.1.0/libfxengine.a(camera.c.o)
0x00000000003036e4 fe_view_set_param
0x0000000000303894 fe_view_set
.text 0x00000000003038bc 0x3d4 /usr/lib/gcc/sh3eb-elf/9.1.0/libfxengine.a(space.c.o)
0x00000000003038bc fe_modulo_2pi
0x0000000000303970 fe_cos
0x0000000000303aac fe_sin
0x0000000000303ad4 fe_vertex_translate
.text 0x0000000000303c90 0x170 /usr/lib/gcc/sh3eb-elf/9.1.0/libfxengine.a(fxengine.c.o)
0x0000000000303c90 system_error
0x0000000000303cac fe_custom_panic
0x0000000000303cbc fe_get_fps
0x0000000000303cc8 fe_update
0x0000000000303dc0 fe_display
.text 0x0000000000303e00 0x94 /usr/lib/gcc/sh3eb-elf/9.1.0/libfxengine.a(zbuffer.c.o)
0x0000000000303e00 fe_zbuffer_clear
0x0000000000303e34 fe_zbuffer_set_px
.text 0x0000000000303e94 0x3b0 /usr/lib/gcc/sh3eb-elf/9.1.0/libfxengine.a(triangle.c.o)
0x0000000000303f24 fe_display_triangle
.text 0x0000000000304244 0x50 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(dpixel.c.o)
0x0000000000304244 dpixel
.text 0x0000000000304294 0x154 /usr/lib/gcc/sh3eb-elf/9.1.0/libprof.a(libprof.c.o)
0x0000000000304294 prof_time
0x00000000003042d8 prof_quit
0x000000000030430c prof_init
.text 0x00000000003043e8 0x78 /usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_movmem.o)
0x00000000003043e8 __movstr
0x00000000003043e8 __movmem
0x000000000030441c __movmemSI64
0x000000000030441c __movstrSI64
0x0000000000304420 __movstrSI60
0x0000000000304420 __movmemSI60
0x0000000000304424 __movmemSI56
0x0000000000304424 __movstrSI56
0x0000000000304428 __movstrSI52
0x0000000000304428 __movmemSI52
0x000000000030442c __movstrSI48
0x000000000030442c __movmemSI48
0x0000000000304430 __movstrSI44
0x0000000000304430 __movmemSI44
0x0000000000304434 __movstrSI40
0x0000000000304434 __movmemSI40
0x0000000000304438 __movstrSI36
0x0000000000304438 __movmemSI36
0x000000000030443c __movmemSI32
0x000000000030443c __movstrSI32
0x0000000000304440 __movmemSI28
0x0000000000304440 __movstrSI28
0x0000000000304444 __movstrSI24
0x0000000000304444 __movmemSI24
0x0000000000304448 __movmemSI20
0x0000000000304448 __movstrSI20
0x000000000030444c __movstrSI16
0x000000000030444c __movmemSI16
0x0000000000304450 __movmemSI12
0x0000000000304450 __movstrSI12
0x0000000000304454 __movmemSI8
0x0000000000304454 __movstrSI8
0x0000000000304458 __movmemSI4
0x0000000000304458 __movstrSI4
.text 0x0000000000304460 0xa0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_sdivsi3.o)
0x0000000000304460 __sdivsi3
.text 0x0000000000304500 0x6c /usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_udivsi3.o)
0x0000000000304522 __udivsi3
.text 0x000000000030456c 0x1f0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_udivdi3.o)
0x000000000030456c __udivdi3
.text 0x000000000030475c 0x348 /usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_addsub_df.o)
0x0000000000304a00 __adddf3
0x0000000000304a50 __subdf3
.text 0x0000000000304aa4 0x208 /usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_mul_df.o)
0x0000000000304aa4 __muldf3
.text 0x0000000000304cac 0x130 /usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_div_df.o)
0x0000000000304cac __divdf3
.text 0x0000000000304ddc 0x58 /usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_gt_df.o)
0x0000000000304ddc __gtdf2
.text 0x0000000000304e34 0x58 /usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_ge_df.o)
0x0000000000304e34 __gedf2
.text 0x0000000000304e8c 0x58 /usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_lt_df.o)
0x0000000000304e8c __ltdf2
.text 0x0000000000304ee4 0x58 /usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_le_df.o)
0x0000000000304ee4 __ledf2
.text 0x0000000000304f3c 0x98 /usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_si_to_df.o)
0x0000000000304f3c __floatsidf
.text 0x0000000000304fd4 0x8c /usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_df_to_si.o)
0x0000000000304fd4 __fixdfsi
.text 0x0000000000305060 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_thenan_df.o)
.text 0x0000000000305060 0x60 /usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_udiv_qrnnd_16.o)
0x0000000000305060 __udiv_qrnnd_16
.text 0x00000000003050c0 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_clz.o)
.text 0x00000000003050c0 0x54 /usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_clzsi2.o)
0x00000000003050c0 __clzsi2
.text 0x0000000000305114 0x240 /usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_pack_df.o)
0x0000000000305114 __pack_d
.text 0x0000000000305354 0xcc /usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_unpack_df.o)
0x0000000000305354 __unpack_d
.text 0x0000000000305420 0xc8 /usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_fpcmp_parts_df.o)
0x0000000000305420 __fpcmp_parts_d
*(C P)
.gint.blocks 0x0000000000305390 0x120
.gint.blocks 0x00000000003054f0 0x120
*(.gint.blocks)
.gint.blocks 0x0000000000305390 0xe0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(inth.s.o)
0x0000000000305390 inth_tmu
0x0000000000305410 inth_etmu2
0x0000000000305430 inth_etmu_help
0x0000000000305450 inth_etmux
.gint.blocks 0x0000000000305470 0x40 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(inth.S.o)
0x0000000000305470 gint_inth_7305
0x0000000000305490 gint_inth_7705
.gint.blocks 0x00000000003054f0 0xe0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(inth.s.o)
0x00000000003054f0 inth_tmu
0x0000000000305570 inth_etmu2
0x0000000000305590 inth_etmu_help
0x00000000003055b0 inth_etmux
.gint.blocks 0x00000000003055d0 0x40 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(inth.S.o)
0x00000000003055d0 gint_inth_7305
0x00000000003055f0 gint_inth_7705
.gint.drivers 0x00000000003054b0 0x90
0x00000000003054b0 _bdrv = .
.gint.drivers 0x0000000000305610 0x90
0x0000000000305610 _bdrv = .
*(.gint.drivers.0)
*(.gint.drivers.1)
.gint.drivers.1
0x00000000003054b0 0x24 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(cpg.c.o)
0x00000000003054b0 drv_cpg
0x0000000000305610 0x24 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(cpg.c.o)
0x0000000000305610 drv_cpg
*(.gint.drivers.2)
.gint.drivers.2
0x00000000003054d4 0x24 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(tmu.c.o)
0x00000000003054d4 drv_tmu
0x0000000000305634 0x24 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(tmu.c.o)
0x0000000000305634 drv_tmu
*(.gint.drivers.3)
*(.gint.drivers.4)
.gint.drivers.4
0x00000000003054f8 0x24 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(keysc.c.o)
0x00000000003054f8 drv_keysc
0x0000000000305658 0x24 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(keysc.c.o)
0x0000000000305658 drv_keysc
*(.gint.drivers.5)
.gint.drivers.5
0x000000000030551c 0x24 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(t6k11.c.o)
0x000000000030551c drv_t6k11
0x000000000030567c 0x24 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(t6k11.c.o)
0x000000000030567c drv_t6k11
*(.gint.drivers.6)
0x0000000000305540 _edrv = .
0x00000000003056a0 _edrv = .
.rodata 0x0000000000305540 0x9e4
.rodata 0x00000000003056a0 0xa7c
*(.rodata.4)
*(.rodata .rodata.*)
.rodata.str1.4
0x0000000000305540 0xd build-fx/src/main.o
*fill* 0x000000000030554d 0x3
.rodata 0x0000000000305550 0xc8 build-fx/src/main.o
.rodata 0x0000000000305618 0x204 build-fx/assets/fonts/FxEngine.png.o
0x0000000000305618 font_FxEngine
0x000000000030581c font_FxEngine_end
.rodata 0x000000000030581c 0x24 build-fx/assets/img/fps.png.o
0x000000000030581c img_fps
0x0000000000305840 img_fps_end
0x00000000003056a0 0x36 build-fx/src/main.o
*fill* 0x00000000003056d6 0x2
.rodata 0x00000000003056d8 0xe0 build-fx/src/main.o
.rodata 0x00000000003057b8 0x204 build-fx/assets/fonts/FxEngine.png.o
0x00000000003057b8 font_FxEngine
0x00000000003059bc font_FxEngine_end
.rodata 0x00000000003059bc 0x24 build-fx/assets/img/fps.png.o
0x00000000003059bc img_fps
0x00000000003059e0 img_fps_end
.rodata.str1.4
0x0000000000305840 0x6 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(keysc.c.o)
*fill* 0x0000000000305846 0x2
0x00000000003059e0 0x6 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(keysc.c.o)
*fill* 0x00000000003059e6 0x2
.rodata.str1.4
0x0000000000305848 0x4 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(tmu.c.o)
0x00000000003059e8 0x4 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(tmu.c.o)
.rodata.str1.4
0x000000000030584c 0x11a /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(exch.c.o)
0x00000000003059ec 0x11a /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(exch.c.o)
0x11e (size before relaxing)
*fill* 0x0000000000305966 0x2
*fill* 0x0000000000305b06 0x2
.rodata.str1.4
0x0000000000305968 0x6 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(t6k11.c.o)
*fill* 0x000000000030596e 0x2
0x0000000000305b08 0x6 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(t6k11.c.o)
*fill* 0x0000000000305b0e 0x2
.rodata.str1.4
0x0000000000305970 0x31 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(stdio.c.o)
*fill* 0x00000000003059a1 0x3
0x0000000000305b10 0x31 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(stdio.c.o)
*fill* 0x0000000000305b41 0x3
.rodata.str1.4
0x00000000003059a4 0x4 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(cpg.c.o)
.rodata 0x00000000003059a8 0x18 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(topti.c.o)
.rodata 0x00000000003059c0 0x408 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(font5x7.png.o)
0x00000000003059c0 gint_font5x7
0x0000000000305dc8 gint_font5x7_end
0x0000000000305b44 0x4 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(cpg.c.o)
.rodata 0x0000000000305b48 0x18 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(topti.c.o)
.rodata 0x0000000000305b60 0x408 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(font5x7.png.o)
0x0000000000305b60 gint_font5x7
0x0000000000305f68 gint_font5x7_end
.rodata.str1.4
0x0000000000305dc8 0x48 /usr/lib/gcc/sh3eb-elf/9.1.0/libfxengine.a(object.c.o)
0x45 (size before relaxing)
.rodata 0x0000000000305e10 0x14 /usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_thenan_df.o)
0x0000000000305e10 __thenan_df
.rodata 0x0000000000305e24 0x100 /usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_clz.o)
0x0000000000305e24 __clz_tab
0x0000000000305f68 0x45 /usr/lib/gcc/sh3eb-elf/9.1.0/libfxengine.a(object.c.o)
*fill* 0x0000000000305fad 0x3
.rodata.str1.4
0x0000000000305fb0 0x14 /usr/lib/gcc/sh3eb-elf/9.1.0/libfxengine.a(space.c.o)
.rodata.str1.4
0x0000000000305fc4 0x2e /usr/lib/gcc/sh3eb-elf/9.1.0/libfxengine.a(fxengine.c.o)
*fill* 0x0000000000305ff2 0x2
.rodata.str1.4
0x0000000000305ff4 0x14 /usr/lib/gcc/sh3eb-elf/9.1.0/libfxengine.a(zbuffer.c.o)
.rodata 0x0000000000306008 0x14 /usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_thenan_df.o)
0x0000000000306008 __thenan_df
.rodata 0x000000000030601c 0x100 /usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_clz.o)
0x000000000030601c __clz_tab
.rela.dyn 0x0000000000305f24 0x0
.rela.dyn 0x000000000030611c 0x0
.rela.text.startup
0x0000000000305f24 0x0 build-fx/src/main.o
.rela.text 0x0000000000305f24 0x0 build-fx/src/main.o
0x000000000030611c 0x0 build-fx/src/main.o
.rela.text 0x000000000030611c 0x0 build-fx/src/main.o
.rela.pretext.entry
0x0000000000305f24 0x0 build-fx/src/main.o
0x000000000030611c 0x0 build-fx/src/main.o
0x0000000008100000 . = ORIGIN (ram)
.bss 0x0000000008100000 0x5b0
0x0000000008100000 _rbss = .
*(.bss COMMON)
.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 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(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(exch.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 0x114 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(stdio.c.o)
.bss 0x0000000008100544 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(exch.s.o)
.bss 0x0000000008100000 0x24 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(keysc.c.o)
.bss 0x0000000008100024 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(dclear.c.o)
.bss 0x0000000008100024 0x400 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(dupdate.c.o)
.bss 0x0000000008100424 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(tmu.c.o)
.bss 0x0000000008100424 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(gint.c.o)
.bss 0x0000000008100424 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(hardware.c.o)
.bss 0x0000000008100424 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(start.c.o)
.bss 0x0000000008100424 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(setup.c.o)
.bss 0x0000000008100424 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(exch.c.o)
.bss 0x0000000008100424 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(t6k11.c.o)
.bss 0x0000000008100424 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(memory.c.o)
.bss 0x0000000008100424 0x114 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(stdio.c.o)
.bss 0x0000000008100538 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(exch.s.o)
.bss 0x0000000008100538 0xc /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(getkey.c.o)
.bss 0x0000000008100544 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(iokbd.c.o)
.bss 0x0000000008100544 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(cpg.c.o)
.bss 0x0000000008100544 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(dtext.c.o)
@ -546,64 +561,64 @@ LOAD /usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a
.bss 0x0000000008100544 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(inth.S.o)
.bss 0x0000000008100544 0x4 /usr/lib/gcc/sh3eb-elf/9.1.0/liblog.a(liblog.c.o)
.bss 0x0000000008100548 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libfxengine.a(bitmap.c.o)
.bss 0x0000000008100548 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libfxengine.a(triangle.c.o)
.bss 0x0000000008100548 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libfxengine.a(object.c.o)
.bss 0x0000000008100548 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libfxengine.a(camera.c.o)
.bss 0x0000000008100548 0x48 /usr/lib/gcc/sh3eb-elf/9.1.0/libfxengine.a(space.c.o)
0x0000000008100548 fe_matrix
COMMON 0x0000000008100590 0xc /usr/lib/gcc/sh3eb-elf/9.1.0/libfxengine.a(space.c.o)
0x0000000008100590 fe_translate_delta
.bss 0x000000000810059c 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libfxengine.a(zbuffer.c.o)
.bss 0x000000000810059c 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(dpixel.c.o)
.bss 0x000000000810059c 0x10 /usr/lib/gcc/sh3eb-elf/9.1.0/libprof.a(libprof.c.o)
0x000000000810059c prof_tcnt
0x00000000081005a0 prof_elapsed
0x00000000081005a4 prof_rec
.bss 0x00000000081005ac 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_movmem.o)
.bss 0x00000000081005ac 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_sdivsi3.o)
.bss 0x00000000081005ac 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_udivsi3.o)
.bss 0x00000000081005ac 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_udivdi3.o)
.bss 0x00000000081005ac 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_addsub_df.o)
.bss 0x00000000081005ac 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_mul_df.o)
.bss 0x00000000081005ac 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_div_df.o)
.bss 0x00000000081005ac 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_gt_df.o)
.bss 0x00000000081005ac 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_ge_df.o)
.bss 0x00000000081005ac 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_lt_df.o)
.bss 0x00000000081005ac 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_le_df.o)
.bss 0x00000000081005ac 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_si_to_df.o)
.bss 0x00000000081005ac 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_df_to_si.o)
.bss 0x00000000081005ac 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_thenan_df.o)
.bss 0x00000000081005ac 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_udiv_qrnnd_16.o)
.bss 0x00000000081005ac 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_clz.o)
.bss 0x00000000081005ac 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_clzsi2.o)
.bss 0x00000000081005ac 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_pack_df.o)
.bss 0x00000000081005ac 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_unpack_df.o)
.bss 0x00000000081005ac 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_fpcmp_parts_df.o)
.bss 0x000000000810059c 0x4 /usr/lib/gcc/sh3eb-elf/9.1.0/libfxengine.a(fxengine.c.o)
.bss 0x00000000081005a0 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libfxengine.a(zbuffer.c.o)
.bss 0x00000000081005a0 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libfxengine.a(triangle.c.o)
.bss 0x00000000081005a0 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(dpixel.c.o)
.bss 0x00000000081005a0 0x10 /usr/lib/gcc/sh3eb-elf/9.1.0/libprof.a(libprof.c.o)
0x00000000081005a0 prof_tcnt
0x00000000081005a4 prof_elapsed
0x00000000081005a8 prof_rec
.bss 0x00000000081005b0 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_movmem.o)
.bss 0x00000000081005b0 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_sdivsi3.o)
.bss 0x00000000081005b0 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_udivsi3.o)
.bss 0x00000000081005b0 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_udivdi3.o)
.bss 0x00000000081005b0 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_addsub_df.o)
.bss 0x00000000081005b0 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_mul_df.o)
.bss 0x00000000081005b0 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_div_df.o)
.bss 0x00000000081005b0 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_gt_df.o)
.bss 0x00000000081005b0 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_ge_df.o)
.bss 0x00000000081005b0 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_lt_df.o)
.bss 0x00000000081005b0 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_le_df.o)
.bss 0x00000000081005b0 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_si_to_df.o)
.bss 0x00000000081005b0 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_df_to_si.o)
.bss 0x00000000081005b0 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_thenan_df.o)
.bss 0x00000000081005b0 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_udiv_qrnnd_16.o)
.bss 0x00000000081005b0 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_clz.o)
.bss 0x00000000081005b0 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_clzsi2.o)
.bss 0x00000000081005b0 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_pack_df.o)
.bss 0x00000000081005b0 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_unpack_df.o)
.bss 0x00000000081005b0 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_fpcmp_parts_df.o)
*(B R)
0x00000000081005b0 . = ALIGN (0x10)
*fill* 0x00000000081005ac 0x4
0x00000000000005b0 _sbss = SIZEOF (.bss)
.data 0x00000000081005b0 0x140 load address 0x0000000000305f24
0x0000000000305f24 _ldata = LOADADDR (.data)
.data 0x00000000081005b0 0x140 load address 0x000000000030611c
0x000000000030611c _ldata = LOADADDR (.data)
0x00000000081005b0 _rdata = .
*(.data .data.*)
.data 0x00000000081005b0 0x0 build-fx/src/main.o
.data 0x00000000081005b0 0x8 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(getkey.c.o)
.data 0x00000000081005b8 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(keysc.c.o)
.data 0x00000000081005b8 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(dclear.c.o)
.data 0x00000000081005b8 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(dupdate.c.o)
.data 0x00000000081005b8 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(tmu.c.o)
.data 0x00000000081005b8 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(gint.c.o)
.data 0x00000000081005b8 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(hardware.c.o)
.data 0x00000000081005b8 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(start.c.o)
.data 0x00000000081005b8 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(setup.c.o)
.data 0x00000000081005b8 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(exch.c.o)
.data 0x00000000081005b8 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(t6k11.c.o)
.data 0x00000000081005b8 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(memory.c.o)
.data 0x00000000081005b8 0x68 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(stdio.c.o)
0x00000000081005b8 kprint_formatters
.data 0x0000000008100620 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(exch.s.o)
.data 0x00000000081005b0 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(keysc.c.o)
.data 0x00000000081005b0 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(dclear.c.o)
.data 0x00000000081005b0 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(dupdate.c.o)
.data 0x00000000081005b0 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(tmu.c.o)
.data 0x00000000081005b0 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(gint.c.o)
.data 0x00000000081005b0 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(hardware.c.o)
.data 0x00000000081005b0 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(start.c.o)
.data 0x00000000081005b0 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(setup.c.o)
.data 0x00000000081005b0 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(exch.c.o)
.data 0x00000000081005b0 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(t6k11.c.o)
.data 0x00000000081005b0 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(memory.c.o)
.data 0x00000000081005b0 0x68 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(stdio.c.o)
0x00000000081005b0 kprint_formatters
.data 0x0000000008100618 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(exch.s.o)
.data 0x0000000008100618 0x8 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(getkey.c.o)
.data 0x0000000008100620 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(iokbd.c.o)
.data 0x0000000008100620 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(cpg.c.o)
.data 0x0000000008100620 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(dtext.c.o)
@ -620,11 +635,12 @@ LOAD /usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a
.data 0x0000000008100628 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(inth.S.o)
.data 0x0000000008100628 0xb8 /usr/lib/gcc/sh3eb-elf/9.1.0/liblog.a(liblog.c.o)
.data 0x00000000081006e0 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libfxengine.a(bitmap.c.o)
.data 0x00000000081006e0 0x8 /usr/lib/gcc/sh3eb-elf/9.1.0/libfxengine.a(triangle.c.o)
.data 0x00000000081006e8 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libfxengine.a(object.c.o)
.data 0x00000000081006e8 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libfxengine.a(camera.c.o)
.data 0x00000000081006e8 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libfxengine.a(space.c.o)
.data 0x00000000081006e0 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libfxengine.a(object.c.o)
.data 0x00000000081006e0 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libfxengine.a(camera.c.o)
.data 0x00000000081006e0 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libfxengine.a(space.c.o)
.data 0x00000000081006e0 0x8 /usr/lib/gcc/sh3eb-elf/9.1.0/libfxengine.a(fxengine.c.o)
.data 0x00000000081006e8 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libfxengine.a(zbuffer.c.o)
.data 0x00000000081006e8 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libfxengine.a(triangle.c.o)
.data 0x00000000081006e8 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(dpixel.c.o)
.data 0x00000000081006e8 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libprof.a(libprof.c.o)
.data 0x00000000081006e8 0x0 /usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_movmem.o)
@ -651,28 +667,28 @@ LOAD /usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a
0x00000000081006f0 . = ALIGN (0x10)
*fill* 0x00000000081006e8 0x8
.data.4 0x00000000081006f0 0x0 load address 0x0000000000306064
.data.4 0x00000000081006f0 0x0 load address 0x000000000030625c
*(.data.4)
0x00000000081006f0 . = ALIGN (0x10)
0x0000000000000140 _sdata = (SIZEOF (.data) + SIZEOF (.data.4))
0x00000000e5200000 . = ORIGIN (ilram)
.ilram 0x00000000e5200000 0x0 load address 0x0000000000306064
0x0000000000306064 _lilram = LOADADDR (.ilram)
.ilram 0x00000000e5200000 0x0 load address 0x000000000030625c
0x000000000030625c _lilram = LOADADDR (.ilram)
0x00000000e5200000 _rilram = .
*(.ilram)
0x00000000e5200000 . = ALIGN (0x10)
0x00000000e5007000 . = ORIGIN (xram)
.xram 0x00000000e5007000 0x0 load address 0x0000000000306064
0x0000000000306064 _lxram = LOADADDR (.xram)
.xram 0x00000000e5007000 0x0 load address 0x000000000030625c
0x000000000030625c _lxram = LOADADDR (.xram)
0x00000000e5007000 _rxram = .
*(.xram)
0x00000000e5007000 . = ALIGN (0x10)
0x00000000e5017000 . = ORIGIN (yram)
.yram 0x00000000e5017000 0x0 load address 0x0000000000306064
0x0000000000306064 _lyram = LOADADDR (.yram)
.yram 0x00000000e5017000 0x0 load address 0x000000000030625c
0x000000000030625c _lyram = LOADADDR (.yram)
0x00000000e5017000 _ryram = .
*(.yram)
0x00000000e5017000 . = ALIGN (0x10)
@ -682,8 +698,8 @@ LOAD /usr/lib/gcc/sh3eb-elf/9.1.0/libgcc.a
0x000000008800df00 _gint_vbr = 0x8800df00
0x000000008800f400 . = ORIGIN (rram)
.gint.data 0x000000008800f400 0x130 load address 0x0000000000306064
0x0000000000306064 _lgdata = LOADADDR (.gint.data)
.gint.data 0x000000008800f400 0x130 load address 0x000000000030625c
0x000000000030625c _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)
@ -703,7 +719,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 0x0000000000306194
.gint.bss 0x000000008800f530 0x210 load address 0x000000000030638c
*(.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)

Binary file not shown.

Binary file not shown.

View File

@ -51,11 +51,13 @@ int main(void)
#include <fxengine/camera.h>
#include <fxengine/object.h>
#include <fxengine/fxengine.h>
#include <liblog.h>
int main(void)
{
fe_custom_panic();
//init_controls();
dclear(C_WHITE);
//render_integer_point point[4]={{{10,0,0},{0,0,0}},{{10,10,0},{0,0,0}},{{10,0,10},{0,0,0}},{{10,10,10},{0,0,0}}};
@ -102,43 +104,110 @@ int main(void)
//fe_texture_debug(bmp);
fe_ivertex v[3]=
fe_ivertex v[4]=
{
{
{1,1,2},
{300,-100,-100},
{0,0,0}
},
{
{2,1,3},
{30,100,100},
{0,0,0}
},
{
{1,4,2},
{300,-100,100},
{0,0,0}
},
{
{300,100,-100},
{0,0,0}
}
};
fe_object object;
fe_object_init(&object);
fe_object_set_points(&object, &v, 3, 0);
fe_object_set_points(&object, &v, 4, 0);
fe_triangle triangle =
{
fe_object_get_vertex(&object, 0),
fe_object_get_vertex(&object, 1),
fe_object_get_vertex(&object, 2),
bmp,
0,
0
{
fe_object_get_vertex(&object, 0),
fe_object_get_vertex(&object, 1),
fe_object_get_vertex(&object, 2),
bmp,
1,
0
},
{
fe_object_get_vertex(&object, 0),
fe_object_get_vertex(&object, 1),
fe_object_get_vertex(&object, 3),
bmp,
0,
0
}
};
fe_object_set_faces(&object, &triangle, 1, 0);
fe_object_set_faces(&object, &triangle, 2, 0);
bool state=1;
//fe_object_debug(&object);
fe_camera cam = {{0,0,0},{0,0,0},0,0,0};
while (1)
{
label:;
key_event_t event = pollevent();
if (event.type!=KEYEV_NONE)
{
//ll_log(str);
if (event.key == KEY_LEFT)
cam.dh -= 0.01;
if (event.key == KEY_RIGHT)
cam.dh += 0.01;
cam.dh = fe_modulo_2pi(cam.dh);
int key = getkey().key;
char str[40];
if (event.key == KEY_UP)
cam.dv += 0.01;
if (event.key == KEY_DOWN)
cam.dv -= 0.01;
cam.dv = fe_modulo_2pi(cam.dv);
if (event.key == KEY_8)
{
cam.pos.x = cam.pos.x + (int32_t)(5*fe_sin(cam.dh));
cam.pos.y = cam.pos.y + (int32_t)(5*fe_cos(cam.dh));
}
if (event.key == KEY_2)
{
cam.pos.x = cam.pos.x + (int32_t)(5*fe_sin(cam.dh+pi));
cam.pos.y = cam.pos.y + (int32_t)(5*fe_cos(cam.dh+pi));
}
if (event.key == KEY_6)
{
cam.pos.x = cam.pos.x + (int32_t)(5*fe_sin(cam.dh+pi_sur_2));
cam.pos.y = cam.pos.y + (int32_t)(5*fe_cos(cam.dh+pi_sur_2));
}
if (event.key == KEY_4)
{
cam.pos.x = cam.pos.x + (int32_t)(5*fe_sin(cam.dh-pi_sur_2));
cam.pos.y = cam.pos.y + (int32_t)(5*fe_cos(cam.dh-pi_sur_2));
}
cam.dv = fe_modulo_2pi(cam.dv);
if (event.key == KEY_EXIT)
break;
if (event.key==KEY_F1 && event.type==KEYEV_DOWN)
state = !state;
goto label;
}
fe_view_set(&cam);
fe_object_display(&object);
char str[1000];
/* sprintf(str, "S1 %d %d %d",
fe_object_get_vertex(&object, 0)->x,
fe_object_get_vertex(&object, 0)->y,
@ -156,56 +225,27 @@ int main(void)
fe_object_get_vertex(&object, 2)->y,
fe_object_get_vertex(&object, 2)->z);
*/
sprintf(str, "cam %d %d %d",
sprintf(str, "Camera Settings :\n>> x %d; y %d; z %d\n>> dh %d; dv %d",
cam.pos.x,
cam.pos.y,
cam.pos.z);
cam.pos.z,
(int)(cam.dh*180/pi),
(int)(cam.dv*180/pi)
);
ll_log(str);
//ll_log(str);
if (key == KEY_LEFT)
cam.dh -= 0.1;
if (key == KEY_RIGHT)
cam.dh += 0.1;
cam.dh = fe_modulo_2pi(cam.dh);
if (key == KEY_UP)
cam.dv += 0.1;
if (key == KEY_DOWN)
cam.dv -= 0.1;
cam.dv = fe_modulo_2pi(cam.dv);
if (key == KEY_6)
if (state)
{
cam.pos.x = cam.pos.x + (int32_t)(5*fe_cos(cam.dh));
cam.pos.y = cam.pos.y + (int32_t)(5*fe_sin(cam.dh));
fe_display(1);
}
if (key == KEY_4)
{
cam.pos.x = cam.pos.x + (int32_t)(5*fe_cos(cam.dh+pi));
cam.pos.y = cam.pos.y + (int32_t)(5*fe_sin(cam.dh+pi));
}
if (key == KEY_8)
{
cam.pos.x = cam.pos.x + (int32_t)(5*fe_cos(cam.dh+pi_sur_2));
cam.pos.y = cam.pos.y + (int32_t)(5*fe_sin(cam.dh+pi_sur_2));
}
if (key == KEY_2)
{
cam.pos.x = cam.pos.x + (int32_t)(5*fe_cos(cam.dh-pi_sur_2));
cam.pos.y = cam.pos.y + (int32_t)(5*fe_sin(cam.dh-pi_sur_2));
}
cam.dv = fe_modulo_2pi(cam.dv);
fe_view_set(&cam);
fe_object_display(&object);
if (key == KEY_EXIT)
break;
if (key==KEY_F1)
ll_display_log();
else
fe_render_update(1);
{
fe_update(1);
ll_display_log();
}
}