Browse Source

optimization

tags/v0.2
util1 2 months ago
parent
commit
91933f5bcb
5 changed files with 11 additions and 27 deletions
  1. 7
    7
      1v13D.dlw
  2. 0
    3
      1v13D.g1w
  3. BIN
      INIT/CasioRAM.mem
  4. 2
    2
      src/FxEngine/FxEngine.c
  5. 2
    15
      src/main.c

+ 7
- 7
1v13D.dlw View File

@@ -2,7 +2,7 @@
[_1]
Type=5
Order=0
Order=2
Top=15
Left=2235
Height=4740
@@ -13,7 +13,7 @@ OptionA=0
[_2]
Type=1
Order=1
Order=0
Top=15
Left=7800
Height=4740
@@ -25,7 +25,7 @@ OptionB=15
[_3]
Type=6
Order=3
Order=4
Top=4740
Left=7800
Height=6390
@@ -36,7 +36,7 @@ OptionA=0
[_4]
Type=7
Order=5
Order=6
Top=4740
Left=2220
Height=3165
@@ -47,7 +47,7 @@ OptionA=0
[_5]
Type=8
Order=4
Order=5
Top=7905
Left=2220
Height=3225
@@ -80,7 +80,7 @@ OptionA=0
[_8]
Type=17
Order=6
Order=1
Top=15
Left=-15
Height=11115
@@ -91,7 +91,7 @@ OptionA=0
[_9]
Type=15
Order=2
Order=3
Top=4740
Left=2235
Height=6345

+ 0
- 3
1v13D.g1w View File

@@ -10,6 +10,3 @@ MemCardPath=SDCard
Program=1V13D.G1A
Debug=Debug\FXADDINror.dbg
LoadAddress=80000000:90100000
[Files]
SourceFile=:1v13D.c

BIN
INIT/CasioRAM.mem View File


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

@@ -37,8 +37,8 @@ void FE_new_frame(void)
FE_set_matrice();
//FE_zbuffer_clear(); // Not implemented yet !
//dupdate();
//dclear();
dupdate();
dclear();
}

int FE_get_fps(void)

+ 2
- 15
src/main.c View File

@@ -9,22 +9,9 @@ int main(void)
dclear(C_WHITE);
dtext(1, 1, "patience !", C_BLACK, C_NONE);
char fps_ch[10];
while (1)
{
FE_new_frame();
FE_new_frame();
uint32_t fps=FE_get_fps();
dclear(C_WHITE);
sprintf(fps_ch,"%d",fps);
dtext(1, 1, fps_ch, C_BLACK,C_NONE);
dupdate();
}

dupdate();

getkey();
return 1;
}

}

Loading…
Cancel
Save