Browse Source

add fps mesure stable

tags/v0.2
util1 2 months ago
parent
commit
81b4ff2f42

+ 3
- 3
1v13D.dlw View File

@@ -25,7 +25,7 @@ OptionB=15
[_3]
Type=6
Order=5
Order=3
Top=4740
Left=7800
Height=6390
@@ -36,7 +36,7 @@ OptionA=0
[_4]
Type=7
Order=4
Order=5
Top=4740
Left=2220
Height=3165
@@ -47,7 +47,7 @@ OptionA=0
[_5]
Type=8
Order=3
Order=4
Top=7905
Left=2220
Height=3225

BIN
1v13D.g1a View File


+ 100
- 0
Debug/Addin.mak View File

@@ -0,0 +1,100 @@
################################################
# Make file for CASIO fx-9860G SDK Addin
#
############################
# Directory defines
TCDIR = C:\CASIO\fx-9860G SDK\OS\SH
OSDIR = C:\CASIO\fx-9860G SDK\OS
APPDIR = Z:\home\util1\1v13d
OUTDIR = Z:\home\util1\1v13d\Debug
################
# Main Defines
SH_EXEDIR=$(TCDIR)\bin
# Hitachi SH C/C++ Compiler02 phase
SHCC02_EXE=shc.exe
SHCC02_DEP="$(OSDIR)\FX\include\fxlib.h"
# Hitachi SH Assembler03 phase
SHASM03_EXE=asmsh.exe
# Hitachi OptLinker04 phase
SHLINK04_EXE=Optlnk.exe
SHLINK04_DEP="$(OSDIR)\FX\lib\fx9860G_library.lib"
SHLINK04_DEP2="$(OSDIR)\FX\lib\setup.obj"
#######################
# Files to build
FILE0=1v13D
FILESRC0="$(APPDIR)\$(FILE0).c"
FILEOBJ0="$(OUTDIR)\$(FILE0).obj"
RFILE=FXADDINror
USERALLOBJ=$(FILEOBJ0)
#######################
# nmake "all" statement
ALL: SH_ENV \
$(USERALLOBJ) \
$(OUTDIR)\$(RFILE).bin \
####################
# Description blocks
!MESSAGE %3#C$z`&'0?
!MESSAGE
!MESSAGE Executing Hitachi SH C/C++ Compiler/Assembler phase
!MESSAGE
SH_ENV :
set SHC_INC=$(TCDIR)\include
set PATH=$(TCDIR)\bin
set SHC_LIB=$(TCDIR)\bin
set SHC_TMP=$(OUTDIR)
$(FILEOBJ0) : $(FILESRC0) $(SHCC02_DEP)
"$(SH_EXEDIR)\$(SHCC02_EXE)" -subcommand=<<
-cpu=sh3
-include="$(OSDIR)\FX\include","$(APPDIR)"
-objectfile=$(FILEOBJ0)
-show=source
-listfile="$(OUTDIR)\$(FILE0).lst"
-size
-noinline
-chgincpath
-errorpath
$(FILESRC0)
-lang=c
-nologo
-debug
<<
!MESSAGE
!MESSAGE Executing Hitachi OptLinker04 phase
!MESSAGE
"$(OUTDIR)\$(RFILE).bin" : $(USERALLOBJ) $(SHLINK04_DEP2) $(SHLINK04_DEP)
"$(SH_EXEDIR)\$(SHLINK04_EXE)" -subcommand=<<
noprelink
sdebug
rom D=R
nomessage
list "$(OUTDIR)\$(RFILE).map"
show symbol
nooptimize
start P_TOP,P,C,D,C$VTBL,C$INIT/0300200,B_BR_Size,B,R/08100000
fsymbol P
nologo
input $(USERALLOBJ)
input $(SHLINK04_DEP2)
library $(SHLINK04_DEP)
output "$(OUTDIR)\$(RFILE).abs"
-nomessage=1100
end
input "$(OUTDIR)\$(RFILE).abs"
form binary
output "$(OUTDIR)\$(RFILE).bin"
exit
<<

+ 1
- 1
FXSH_Build.bat View File

@@ -1,7 +1,7 @@
@echo off
rem Do not edit! This batch file is created by CASIO fx-9860G SDK.
if exist debug\*.obj del debug\*.obj
if exist 1V13D.G1A del 1V13D.G1A
cd debug

BIN
INIT/CasioRAM.mem View File


+ 188
- 187
build-fx/map View File

@@ -244,7 +244,7 @@ LOAD build-fx/src/main.o
LOAD /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a
LOAD /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a
0x0000000000300000 _brom = 0x300000
0x000000000000389c _srom = ((((0x200 + SIZEOF (.text)) + SIZEOF (.rodata)) + SIZEOF (.gint.drivers)) + SIZEOF (.gint.blocks))
0x00000000000038a4 _srom = ((((0x200 + SIZEOF (.text)) + SIZEOF (.rodata)) + SIZEOF (.gint.drivers)) + SIZEOF (.gint.blocks))

.pretext 0x0000000000300200 0x890
*(.pretext.entry)
@@ -283,7 +283,7 @@ LOAD /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a
*(.dtors .dtors.*)
0x0000000000300a90 _etors = .

.text 0x0000000000300a90 0x2f60
.text 0x0000000000300a90 0x2f68
*(.text .text.*)
.text 0x0000000000300a90 0x154 build-fx/src/FxEngine/libprof.o
0x0000000000300a90 _prof_time
@@ -292,211 +292,212 @@ LOAD /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a
.text 0x0000000000300be4 0x64 build-fx/src/FxEngine/coord.o
0x0000000000300be4 _FE_calc
0x0000000000300bf2 _FE_set_matrice
.text 0x0000000000300c48 0xc0 build-fx/src/FxEngine/FxEngine.o
.text 0x0000000000300c48 0xb8 build-fx/src/FxEngine/FxEngine.o
0x0000000000300c48 _FE_new_frame
0x0000000000300cec _FE_get_fps
.text 0x0000000000300d08 0x1b0 build-fx/src/FxEngine/functions.o
0x0000000000300d08 _FE_cos
0x0000000000300e90 _FE_sin
.text 0x0000000000300eb8 0x8c build-fx/src/FxEngine/zbuffer.o
0x0000000000300eb8 _FE_zbuffer_clear
0x0000000000300ef4 _FE_zbuffer_set_dist
.text 0x0000000000300f44 0x0 build-fx/src/main.o
.text.startup 0x0000000000300f44 0x78 build-fx/src/main.o
0x0000000000300f44 _main
.text 0x0000000000300fbc 0x150 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(cpg.c.o)
0x0000000000301100 _clock_freq
.text 0x000000000030110c 0x0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(hardware.c.o)
.text 0x000000000030110c 0x0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(syscalls.S.o)
.text 0x000000000030110c 0x0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(start.c.o)
.text 0x000000000030110c 0x1f4 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(mmu.c.o)
0x000000000030110c _tlb_addr
0x0000000000301120 _tlb_data
0x0000000000301134 _tlb_mapped_memory
0x0000000000301208 _utlb_addr
0x0000000000301218 _utlb_data
0x0000000000301228 _utlb_mapped_memory
.text 0x0000000000301300 0x56c /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(tmu.c.o)
0x0000000000301620 _timer_setup
0x00000000003016b0 _timer_delay
0x0000000000301710 _timer_start
0x0000000000301744 _timer_reload
0x0000000000301764 _timer_pause
0x0000000000301798 _timer_stop
0x00000000003017f4 _timer_timeout
0x0000000000301800 _timer_address
0x000000000030183c _timer_clear
.text 0x000000000030186c 0x24 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(dupdate.c.o)
0x000000000030186c _dupdate
0x0000000000301884 _dupdate_noint
.text 0x0000000000301890 0x4c /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(dclear.c.o)
0x0000000000301890 _dclear
.text 0x00000000003018dc 0x0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(topti.c.o)
.text 0x00000000003018dc 0xc00 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(stdio.c.o)
0x0000000000302204 _kprint_opt
0x000000000030233c _kprint
0x0000000000302414 _kvsprint
0x000000000030245c _sprintf
0x0000000000302484 _vsprintf
0x00000000003024a4 _snprintf
0x00000000003024c4 _vsnprintf
.text 0x00000000003024dc 0xdc /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(memory.c.o)
0x00000000003024dc _memcpy
0x0000000000302596 __memmove
0x000000000030259a __memcmp
0x000000000030259e _memset
.text 0x00000000003025b8 0x1d8 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(t6k11.c.o)
0x0000000000302650 _t6k11_display
0x0000000000302724 _t6k11_contrast
0x0000000000302750 _t6k11_backlight
.text 0x0000000000302790 0x170 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(setup.c.o)
0x0000000000302844 _gint_install
0x00000000003028e8 _gint_unload
.text 0x0000000000302900 0x2c /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(vbr.s.o)
0x0000000000302900 _gint_setvbr
.text 0x000000000030292c 0x78 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(gint.c.o)
0x000000000030292c _gint_intlevel
0x0000000000302980 _gint_inthandler
.text 0x00000000003029a4 0x0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(inth.S.o)
.text 0x00000000003029a4 0x0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(exch.S.o)
.text 0x00000000003029a4 0x0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(inth.s.o)
.text 0x00000000003029a4 0x9c /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(topti.c.o)
0x00000000003029a4 _dsize
.text 0x0000000000302a40 0x0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(topti-asm.s.o)
.text 0x0000000000302a40 0x78 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_movmem.o)
0x0000000000302a40 ___movstr
0x0000000000302a40 ___movmem
0x0000000000302a74 ___movmemSI64
0x0000000000302a74 ___movstrSI64
0x0000000000302a78 ___movstrSI60
0x0000000000302a78 ___movmemSI60
0x0000000000302a7c ___movmemSI56
0x0000000000302a7c ___movstrSI56
0x0000000000302a80 ___movstrSI52
0x0000000000302a80 ___movmemSI52
0x0000000000302a84 ___movstrSI48
0x0000000000302a84 ___movmemSI48
0x0000000000302a88 ___movstrSI44
0x0000000000302a88 ___movmemSI44
0x0000000000302a8c ___movstrSI40
0x0000000000302a8c ___movmemSI40
0x0000000000302a90 ___movstrSI36
0x0000000000302a90 ___movmemSI36
0x0000000000302a94 ___movmemSI32
0x0000000000302a94 ___movstrSI32
0x0000000000302a98 ___movmemSI28
0x0000000000302a98 ___movstrSI28
0x0000000000302a9c ___movstrSI24
0x0000000000302a9c ___movmemSI24
0x0000000000302aa0 ___movmemSI20
0x0000000000302aa0 ___movstrSI20
0x0000000000302aa4 ___movstrSI16
0x0000000000302aa4 ___movmemSI16
0x0000000000302aa8 ___movmemSI12
0x0000000000302aa8 ___movstrSI12
0x0000000000302aac ___movmemSI8
0x0000000000302aac ___movstrSI8
0x0000000000302ab0 ___movmemSI4
0x0000000000302ab0 ___movstrSI4
.text 0x0000000000302ab8 0x6c /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_udivsi3.o)
0x0000000000302ada ___udivsi3
.text 0x0000000000302b24 0x1f0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_udivdi3.o)
0x0000000000302b24 ___udivdi3
.text 0x0000000000302d14 0x348 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_addsub_df.o)
0x0000000000302fb8 ___adddf3
0x0000000000303008 ___subdf3
.text 0x000000000030305c 0x208 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_mul_df.o)
0x000000000030305c ___muldf3
.text 0x0000000000303264 0x130 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_div_df.o)
0x0000000000303264 ___divdf3
.text 0x0000000000303394 0x58 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_gt_df.o)
0x0000000000303394 ___gtdf2
.text 0x00000000003033ec 0x58 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_le_df.o)
0x00000000003033ec ___ledf2
.text 0x0000000000303444 0x98 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_si_to_df.o)
0x0000000000303444 ___floatsidf
.text 0x00000000003034dc 0x8c /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_df_to_si.o)
0x00000000003034dc ___fixdfsi
.text 0x0000000000303568 0x0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_thenan_df.o)
.text 0x0000000000303568 0x60 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_udiv_qrnnd_16.o)
0x0000000000303568 ___udiv_qrnnd_16
.text 0x00000000003035c8 0x0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_clz.o)
.text 0x00000000003035c8 0x54 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_clzsi2.o)
0x00000000003035c8 ___clzsi2
.text 0x000000000030361c 0x240 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_pack_df.o)
0x000000000030361c ___pack_d
.text 0x000000000030385c 0xcc /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_unpack_df.o)
0x000000000030385c ___unpack_d
.text 0x0000000000303928 0xc8 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_fpcmp_parts_df.o)
0x0000000000303928 ___fpcmp_parts_d
0x0000000000300ce0 _FE_get_fps
.text 0x0000000000300d00 0x1b0 build-fx/src/FxEngine/functions.o
0x0000000000300d00 _FE_cos
0x0000000000300e88 _FE_sin
.text 0x0000000000300eb0 0x8c build-fx/src/FxEngine/zbuffer.o
0x0000000000300eb0 _FE_zbuffer_clear
0x0000000000300eec _FE_zbuffer_set_dist
.text 0x0000000000300f3c 0x0 build-fx/src/main.o
.text.startup 0x0000000000300f3c 0x84 build-fx/src/main.o
0x0000000000300f3c _main
.text 0x0000000000300fc0 0x150 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(cpg.c.o)
0x0000000000301104 _clock_freq
.text 0x0000000000301110 0x0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(hardware.c.o)
.text 0x0000000000301110 0x0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(syscalls.S.o)
.text 0x0000000000301110 0x0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(start.c.o)
.text 0x0000000000301110 0x1f4 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(mmu.c.o)
0x0000000000301110 _tlb_addr
0x0000000000301124 _tlb_data
0x0000000000301138 _tlb_mapped_memory
0x000000000030120c _utlb_addr
0x000000000030121c _utlb_data
0x000000000030122c _utlb_mapped_memory
.text 0x0000000000301304 0x56c /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(tmu.c.o)
0x0000000000301624 _timer_setup
0x00000000003016b4 _timer_delay
0x0000000000301714 _timer_start
0x0000000000301748 _timer_reload
0x0000000000301768 _timer_pause
0x000000000030179c _timer_stop
0x00000000003017f8 _timer_timeout
0x0000000000301804 _timer_address
0x0000000000301840 _timer_clear
.text 0x0000000000301870 0x24 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(dupdate.c.o)
0x0000000000301870 _dupdate
0x0000000000301888 _dupdate_noint
.text 0x0000000000301894 0x4c /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(dclear.c.o)
0x0000000000301894 _dclear
.text 0x00000000003018e0 0x0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(topti.c.o)
.text 0x00000000003018e0 0xc00 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(stdio.c.o)
0x0000000000302208 _kprint_opt
0x0000000000302340 _kprint
0x0000000000302418 _kvsprint
0x0000000000302460 _sprintf
0x0000000000302488 _vsprintf
0x00000000003024a8 _snprintf
0x00000000003024c8 _vsnprintf
.text 0x00000000003024e0 0xdc /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(memory.c.o)
0x00000000003024e0 _memcpy
0x000000000030259a __memmove
0x000000000030259e __memcmp
0x00000000003025a2 _memset
.text 0x00000000003025bc 0x1d8 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(t6k11.c.o)
0x0000000000302654 _t6k11_display
0x0000000000302728 _t6k11_contrast
0x0000000000302754 _t6k11_backlight
.text 0x0000000000302794 0x170 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(setup.c.o)
0x0000000000302848 _gint_install
0x00000000003028ec _gint_unload
.text 0x0000000000302904 0x2c /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(vbr.s.o)
0x0000000000302904 _gint_setvbr
.text 0x0000000000302930 0x78 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(gint.c.o)
0x0000000000302930 _gint_intlevel
0x0000000000302984 _gint_inthandler
.text 0x00000000003029a8 0x0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(inth.S.o)
.text 0x00000000003029a8 0x0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(exch.S.o)
.text 0x00000000003029a8 0x0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(inth.s.o)
.text 0x00000000003029a8 0x9c /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(topti.c.o)
0x00000000003029a8 _dsize
.text 0x0000000000302a44 0x0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(topti-asm.s.o)
.text 0x0000000000302a44 0x78 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_movmem.o)
0x0000000000302a44 ___movstr
0x0000000000302a44 ___movmem
0x0000000000302a78 ___movmemSI64
0x0000000000302a78 ___movstrSI64
0x0000000000302a7c ___movstrSI60
0x0000000000302a7c ___movmemSI60
0x0000000000302a80 ___movmemSI56
0x0000000000302a80 ___movstrSI56
0x0000000000302a84 ___movstrSI52
0x0000000000302a84 ___movmemSI52
0x0000000000302a88 ___movstrSI48
0x0000000000302a88 ___movmemSI48
0x0000000000302a8c ___movstrSI44
0x0000000000302a8c ___movmemSI44
0x0000000000302a90 ___movstrSI40
0x0000000000302a90 ___movmemSI40
0x0000000000302a94 ___movstrSI36
0x0000000000302a94 ___movmemSI36
0x0000000000302a98 ___movmemSI32
0x0000000000302a98 ___movstrSI32
0x0000000000302a9c ___movmemSI28
0x0000000000302a9c ___movstrSI28
0x0000000000302aa0 ___movstrSI24
0x0000000000302aa0 ___movmemSI24
0x0000000000302aa4 ___movmemSI20
0x0000000000302aa4 ___movstrSI20
0x0000000000302aa8 ___movstrSI16
0x0000000000302aa8 ___movmemSI16
0x0000000000302aac ___movmemSI12
0x0000000000302aac ___movstrSI12
0x0000000000302ab0 ___movmemSI8
0x0000000000302ab0 ___movstrSI8
0x0000000000302ab4 ___movmemSI4
0x0000000000302ab4 ___movstrSI4
.text 0x0000000000302abc 0x6c /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_udivsi3.o)
0x0000000000302ade ___udivsi3
.text 0x0000000000302b28 0x1f0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_udivdi3.o)
0x0000000000302b28 ___udivdi3
.text 0x0000000000302d18 0x348 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_addsub_df.o)
0x0000000000302fbc ___adddf3
0x000000000030300c ___subdf3
.text 0x0000000000303060 0x208 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_mul_df.o)
0x0000000000303060 ___muldf3
.text 0x0000000000303268 0x130 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_div_df.o)
0x0000000000303268 ___divdf3
.text 0x0000000000303398 0x58 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_gt_df.o)
0x0000000000303398 ___gtdf2
.text 0x00000000003033f0 0x58 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_le_df.o)
0x00000000003033f0 ___ledf2
.text 0x0000000000303448 0x98 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_si_to_df.o)
0x0000000000303448 ___floatsidf
.text 0x00000000003034e0 0x8c /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_df_to_si.o)
0x00000000003034e0 ___fixdfsi
.text 0x000000000030356c 0x0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_thenan_df.o)
*fill* 0x000000000030356c 0x4
.text 0x0000000000303570 0x60 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_udiv_qrnnd_16.o)
0x0000000000303570 ___udiv_qrnnd_16
.text 0x00000000003035d0 0x0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_clz.o)
.text 0x00000000003035d0 0x54 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_clzsi2.o)
0x00000000003035d0 ___clzsi2
.text 0x0000000000303624 0x240 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_pack_df.o)
0x0000000000303624 ___pack_d
.text 0x0000000000303864 0xcc /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_unpack_df.o)
0x0000000000303864 ___unpack_d
.text 0x0000000000303930 0xc8 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_fpcmp_parts_df.o)
0x0000000000303930 ___fpcmp_parts_d
*(C P)

.gint.blocks 0x00000000003039f0 0x140
.gint.blocks 0x0000000000303a00 0x140
*(.gint.blocks)
.gint.blocks 0x00000000003039f0 0x40 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(inth.S.o)
0x00000000003039f0 _inth_entry_7305
0x0000000000303a10 _inth_entry_7705
.gint.blocks 0x0000000000303a30 0x20 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(exch.S.o)
0x0000000000303a30 _exch_entry_7705
0x0000000000303a30 _exch_entry_7305
.gint.blocks 0x0000000000303a50 0xe0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(inth.s.o)
0x0000000000303a50 _inth_tmu
0x0000000000303ad0 _inth_etmu2
0x0000000000303af0 _inth_etmu_help
0x0000000000303b10 _inth_etmux
.gint.blocks 0x0000000000303a00 0x40 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(inth.S.o)
0x0000000000303a00 _inth_entry_7305
0x0000000000303a20 _inth_entry_7705
.gint.blocks 0x0000000000303a40 0x20 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(exch.S.o)
0x0000000000303a40 _exch_entry_7705
0x0000000000303a40 _exch_entry_7305
.gint.blocks 0x0000000000303a60 0xe0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(inth.s.o)
0x0000000000303a60 _inth_tmu
0x0000000000303ae0 _inth_etmu2
0x0000000000303b00 _inth_etmu_help
0x0000000000303b20 _inth_etmux

.gint.drivers 0x0000000000303b30 0x6c
0x0000000000303b30 _bdrv = .
.gint.drivers 0x0000000000303b40 0x6c
0x0000000000303b40 _bdrv = .
*(.gint.drivers.0)
*(.gint.drivers.1)
.gint.drivers.1
0x0000000000303b30 0x24 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(cpg.c.o)
0x0000000000303b30 _drv_cpg
0x0000000000303b40 0x24 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(cpg.c.o)
0x0000000000303b40 _drv_cpg
*(.gint.drivers.2)
.gint.drivers.2
0x0000000000303b54 0x24 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(tmu.c.o)
0x0000000000303b54 _drv_tmu
0x0000000000303b64 0x24 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(tmu.c.o)
0x0000000000303b64 _drv_tmu
*(.gint.drivers.3)
*(.gint.drivers.4)
*(.gint.drivers.5)
.gint.drivers.5
0x0000000000303b78 0x24 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(t6k11.c.o)
0x0000000000303b78 _drv_t6k11
0x0000000000303b88 0x24 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(t6k11.c.o)
0x0000000000303b88 _drv_t6k11
*(.gint.drivers.6)
0x0000000000303b9c _edrv = .
0x0000000000303bac _edrv = .

.rodata 0x0000000000303b9c 0x590
.rodata 0x0000000000303bac 0x590
*(.rodata .rodata.*)
.rodata 0x0000000000303b9c 0x8 build-fx/src/FxEngine/functions.o
0x0000000000303b9c _pi
.rodata 0x0000000000303bac 0x8 build-fx/src/FxEngine/functions.o
0x0000000000303bac _pi
.rodata.str1.4
0x0000000000303ba4 0xf build-fx/src/main.o
*fill* 0x0000000000303bb3 0x1
0x0000000000303bb4 0xf build-fx/src/main.o
*fill* 0x0000000000303bc3 0x1
.rodata.str1.4
0x0000000000303bb4 0x4 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(cpg.c.o)
0x0000000000303bc4 0x4 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(cpg.c.o)
.rodata.str1.4
0x0000000000303bb8 0x4 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(tmu.c.o)
0x0000000000303bc8 0x4 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(tmu.c.o)
.rodata.str1.4
0x0000000000303bbc 0x31 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(stdio.c.o)
*fill* 0x0000000000303bed 0x3
0x0000000000303bcc 0x31 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(stdio.c.o)
*fill* 0x0000000000303bfd 0x3
.rodata.str1.4
0x0000000000303bf0 0x8 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(t6k11.c.o)
0x0000000000303c00 0x8 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(t6k11.c.o)
0x6 (size before relaxing)
.rodata 0x0000000000303bf8 0x408 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(font5x7.png.o)
0x0000000000303bf8 _gint_font5x7
0x0000000000304000 _gint_font5x7_end
.rodata 0x0000000000304000 0x18 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(topti.c.o)
.rodata 0x0000000000304018 0x14 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_thenan_df.o)
0x0000000000304018 ___thenan_df
.rodata 0x000000000030402c 0x100 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_clz.o)
0x000000000030402c ___clz_tab
.rodata 0x0000000000303c08 0x408 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(font5x7.png.o)
0x0000000000303c08 _gint_font5x7
0x0000000000304010 _gint_font5x7_end
.rodata 0x0000000000304010 0x18 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(topti.c.o)
.rodata 0x0000000000304028 0x14 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_thenan_df.o)
0x0000000000304028 ___thenan_df
.rodata 0x000000000030403c 0x100 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_clz.o)
0x000000000030403c ___clz_tab

.rela.dyn 0x000000000030412c 0x0
.rela.text 0x000000000030412c 0x0 build-fx/src/FxEngine/coord.o
.rela.dyn 0x000000000030413c 0x0
.rela.text 0x000000000030413c 0x0 build-fx/src/FxEngine/coord.o
.rela.text.startup
0x000000000030412c 0x0 build-fx/src/FxEngine/coord.o
0x000000000030413c 0x0 build-fx/src/FxEngine/coord.o
.rela.pretext.entry
0x000000000030412c 0x0 build-fx/src/FxEngine/coord.o
0x000000000030413c 0x0 build-fx/src/FxEngine/coord.o
0x0000000008100000 . = ORIGIN (ram)

.bss 0x0000000008100000 0x560
@@ -558,8 +559,8 @@ LOAD /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a
*fill* 0x0000000008100554 0xc
0x0000000000000560 _sbss = SIZEOF (.bss)

.data 0x0000000008100560 0x70 load address 0x000000000030412c
0x000000000030412c _ldata = LOADADDR (.data)
.data 0x0000000008100560 0x70 load address 0x000000000030413c
0x000000000030413c _ldata = LOADADDR (.data)
0x0000000008100560 _rdata = .
*(.data .data.*)
.data 0x0000000008100560 0x0 build-fx/src/FxEngine/libprof.o
@@ -611,15 +612,15 @@ LOAD /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a
*(D)
0x00000000081005d0 . = ALIGN (0x10)

.data.4 0x00000000081005d0 0x0 load address 0x000000000030419c
.data.4 0x00000000081005d0 0x0 load address 0x00000000003041ac
*(.data.4)
0x00000000081005d0 . = ALIGN (0x10)
0x0000000000000070 _sdata = (SIZEOF (.data) + SIZEOF (.data.4))
0x000000008800df00 _gint_vbr = 0x8800df00
0x000000008800f400 . = ORIGIN (rram)

.gint.data 0x000000008800f400 0x110 load address 0x000000000030419c
0x000000000030419c _lgdata = LOADADDR (.gint.data)
.gint.data 0x000000008800f400 0x110 load address 0x00000000003041ac
0x00000000003041ac _lgdata = LOADADDR (.gint.data)
0x000000008800f400 _rgdata = .
*(.gint.data .gint.data.*)
.gint.data 0x000000008800f400 0x70 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(tmu.c.o)
@@ -635,7 +636,7 @@ LOAD /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a
0x000000008800f510 . = ALIGN (0x10)
0x0000000000000110 _sgdata = SIZEOF (.gint.data)

.gint.bss 0x000000008800f510 0x110 load address 0x00000000003042ac
.gint.bss 0x000000008800f510 0x110 load address 0x00000000003042bc
*(.gint.bss .gint.bss.*)
.gint.bss 0x000000008800f510 0x24 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(cpg.c.o)
.gint.bss 0x000000008800f534 0x40 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(hardware.c.o)

BIN
build-fx/src/FxEngine/1v13D.bin View File


BIN
build-fx/src/FxEngine/1v13D.elf View File


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


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


+ 2
- 2
src/FxEngine/FxEngine.c View File

@@ -35,13 +35,13 @@ void FE_new_frame(void)

FE_move(); // Not implemented yet !
FE_set_matrice();
FE_zbuffer_clear(); // Not implemented yet !
//FE_zbuffer_clear(); // Not implemented yet !
//dupdate();
//dclear();
}

int FE_get_fps(void)
{return 1000/frame_interval;}
{return 1000000/frame_interval;}



+ 5
- 2
src/main.c View File

@@ -1,7 +1,7 @@
#include <gint/display.h>
#include <gint/keyboard.h>
#include <gint/std/stdio.h>
#include <gint/clock.h>
#include "FxEngine/FxEngine.h"

int main(void)
@@ -12,8 +12,11 @@ int main(void)
while (1)
{
FE_new_frame();
FE_new_frame();
uint32_t fps=FE_get_fps();
dclear(C_WHITE);
int fps=FE_get_fps();
sprintf(fps_ch,"%d",fps);
dtext(1, 1, fps_ch, C_BLACK,C_NONE);
dupdate();

Loading…
Cancel
Save