dale-8a

CHIP-8 emulator in POSIX AWK
git clone git://git.luxferre.top/dale-8a.git
Log | Files | Refs | README | LICENSE

commit 650453d358dd4ba319352b3d61b4b7c3850933d0
parent 9a0d4b961e24cbdb300f65cbadd36a1bc7c5df50
Author: Luxferre <lux@ferre>
Date:   Thu, 11 May 2023 18:37:29 +0300

fixed initial render scheduling

Diffstat:
Mdale8a.awk | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dale8a.awk b/dale8a.awk @@ -331,7 +331,7 @@ BEGIN { setterm(3) # enter the non-blocking input mode before the event loop pc = 512 # start at instruction 0x200 iReg = dtReg = stReg = skip = 0 # init I, DT and ST registers and skip flag - renderScheduled = 0 # only render the screen when necessary + renderScheduled = 1 # only render the screen when necessary b1 = b2 = d1 = d2 = d3 = d4 = nnn = sp = 0 # init different opcode parts while(1) { # our event loop is here for(i=0;i<clockFactor;i++) cpuLoop() # call main CPU loop CF times