instead of CLS you can replace it with these inside your rendering loop
Code: Select all
#include "crt.bi"
'
'
'
SCREENLOCK
Memset SCREENPTR, 0, w * h * bpp '(1/2/4) depending on BPP
'
' rendering
'
SCREENUNLOCK
Average FPS is (sum of 10 sec FPS) / 10
640x480 16
- Fullscreen
Average FPS : 426 Frame - NORMAL CLS WITH 2 PAGE
Average FPS : 534 Frame - CUSTOM 2 PAGE [+108]
Average FPS : 544 Frame - CUSTOM [+118]
- Windowed
Average FPS : 325 Frame - NORMAL CLS WITH 2 PAGE
Average FPS : 436 Frame - CUSTOM 2 PAGE [+111]
Average FPS : 418 Frame - CUSTOM [+93]