Skip to content
gthvn1Public

About

CHIP-8 emulator in Odin

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

40 Commits

Folders and files

Repository files navigation

CHIP-8 emulator in Odin

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 emu and 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 R to reset the state (useful for hot reload)

CHIP-8 Emulator: IBM logo

About

CHIP-8 emulator in Odin

Resources

Stars

0 stars

Watchers

0 watching

Forks

Contributors

Languages