This combines the SET and INST instructions into one SET instruction and adds DEBUG for opcode 10.
This is a breaking change, but the migration is very simple.
I ported the gui to the macroquad crate.
This has the following advantages:
We can easily draw text. This means we can show the number of instructions on screen.
The filter mode can be set to linear for a different look.
The dependencies are a lot cleaner now. Just depending on the latest stable version of macroquad makes it a lot more likely that the app builds properly on different platforms (and will continue to do so in the future).
I also use the gilrs crate directly for the gamepad input.
* Included utility buffer in sketch and reworked it.
* Included the new buffer and instruction changes in the README.
* Implemented the new buffer in the emulator
* Made the buffer clear since no expansion is active
* Added the new buffer and expansion card to the specification document
* Used more consistent wording and added expandability to the goals. Added more examples for expansions.
Using "pixels" instead of minifb allows for better window decorations and resizing.
I mostly copied their winit exampe.
The debug option has been removed and the scaling option is now a plain factor.
* Implemented additional input codes in the emulator
* Explained new inputs in the README
* Added additional inputs to the specification and changed the layout.
* Made a more advanced input-tester example that shows all keys.