Implement a CHIP-8 emulator in Odin, developed with hot reloading.
We start with an emulator that does nothing, then implement the opcodes one by one. The fun part: we see the progress live while coding! A nice project to learn Odin!!!
- To build everything:
./build.sh all - Once built, you can start the host in a terminal:
./temp/host ./temp/chip8.so - And in another terminal modify the code in
emulator/, rebuild it with./build.sh emuand you should see the change live - For a full live experience you can run in a terminal:
ls emulator/*.odin | entr -c ./build.sh emu. - Status
- We have implemented instruction to display the IBM-logo
- We only have a step mode and a reset:
- press
<SPACE>to execute a step - press
Rto reset the state (useful for hot reload)
- press
