We are about to switch to a new forum software. Until then we have removed the registration on this forum.
I'm trying to write an emulator for learning experience. It's a chip8 emulator. The emulator also include video memory, which i would like to display.
The thing i haven't figured out yet is how to "loop" my emulation "outside" the draw loop? I want my emulator to process code between every call to draw(). Otherwise if, say i have a framerate at 60 fps, my emulator also processes instructions only 60 times per second, which would make it a pretty slow CPU. :)
To clarify, i still want the draw function to render the videomemory from the emulator at 60fps. But i also want the emulator parsing code at full speed "between" the rendered frames.
I doubt it would be good practice to crank the framerate up to 1000fps? :)
Hope you understand what i mean.