Bytepusher VM in Raylib and Zig
| references | add non-working keyboard code | |
| roms | add non-working keyboard code | |
| src | keyboard support | |
| .gitignore | update to zig 0.16.0 | |
| .gitmodules | add non-working keyboard code | |
| build.zig | keyboard support | |
| build.zig.zon | update to zig 0.16.0 | |
| README.md | add readme | |
Bytepusher in Raylib and Zig
Small implementation of the bytepusher virtual machine using Raylib 6.0 and Zig 0.16. Build using zig, and run the resulting binary by providing a ROM file as the first argument.
$ zig build -Doptimize=ReleaseFast
$ zig-out/bin/bytepusher_zig roms/KeyboardTest.BytePusher
Implemented:
- CPU
- Display
- Keyboard
- Audio (seems to not actually work? But there is code to play audio. Lower your sound)
Will update once I figure out why audio doesn't work.
Reference implementations used are placed in the references directory.