Above is a demo of my light_cycle game running in my Chip 8 interpreter modified to work with the Cheerpj runtime. I had to modify the code to embed the game code as Cheerpj didn’t want to load the raw file on its own, and it didn’t support 2D arrays or function calls with expressions in them. I packed this modified code into a jar which Cheerpj loads and runs in a javascript environment, providing all the operating system features which are required. The debug keybindings were remapped and the debugger panel was removed to fit better on a browser.
Full article about the making of this interpreter and a link to the github repository can be found here
>> Home