The first release in that thread was rather bare bones and wasn't 100% working correctly, I've fixed most of the major issues with that version, and added a few improvements, firstly you can now specify the ROM image to load on the command line, and secondly you can reset the current ROM by pressing F9.
Controls are a little strange because it uses a HEX keypad, however lots of games use it as a direction pad so it makes more sense to map it to a grid of keys as follows:
Code: Select all
Original Simulator
1 2 3 C -> 1 2 3 4
4 5 6 D -> Q W E R
7 8 9 E -> A S D F
A 0 B F -> Z X C V
Code: Select all
*CHIP8 G.<gamename>
Pressing F0 will enter debugging mode which allows any keypress to single step through the code.
The graphics may be a little flickery, this is because the CHIP-8 systems run on a 60hz timer, including VSync and all sprite draw routines wait on that vsync, I felt that if I tried to wait for the 50hz BBC vsync then games would run noticably slower. A better solution might be to write the graphics to an offscreen buffer and copy that during the normal BBC vsync, but that would require a much more complex solution.
I will make the source available for the simulator shortly once I've sorted out everything.