Updated zig8's renderer to use streaming texture access to improve render performance.
Trying to deal with buffer over/under runs in zig8's rather simple audio system.
Whenever I adjust the cycle rate of the emulator the sound gets out of sync. And at least in the sound test demo if you hold the key down to let the sound run a long time it starts to introduce delay.
There's some stuttering, not keeping the buffers full enough but it's a start.
CHIP8 – writing emulator, assembler, example game and VHDL hardware impl
http://blog.dominikrudnik.pl/chip8-emulator-assembler-game-vhdl
#HackerNews #CHIP8 #Emulator #Assembler #VHDL #Game #Development
Shader compilation is coming along. Might be able to get it done and implement the shader tomorrow. For that retro feel.
I'm digging how easy it is to interface with C libraries in Zig.
We'll see how flexible the build system is when it comes time to do cross-platform releases.
Alright, updated zig8 to have discrete display resizing. You can adjust the size as a percentage from the default size. Updates the window to match the display width.
Just makes it easier to adjust the size of the display without having to deal with window manager events and async programming.
Worked out the last instructions of base CHIP-8 and fixed the bugs I could find. Tested out with several hefty Chip-8 ROMs. zig8 is shaping up!
I have more of a roadmap to explore. Working on updating the rendering code and enabling swap-able color palettes.
I want to experiment with input buffering to make the inputs feel more responsive at lower CPU speeds.
And then on to implementing the visual debugger. I'll probably experiment with bringing in IMGui.