Supports only CHIP-8 instructions for now.
If you are lucky nix user, you can use flake in this repo.
chipi-chapa is also cached on our cachix
Use cabal idk
- Run chip-8 ROM:
chipi-chapa <path-to-rom>
- Set
CHIPI_CHAPA_DEBUGenv to anything, you will get additional output in stdout. - Press F1 when running a program, you will see a lot of info
n- go to the next instructionup-down- go +-2 addresses in memoryleft-right- go +-1 addresses in memorypgUp-pgDown- go +-8 addresses in memoryb- set/unset breakpoint in current cursor positionp- pause/continue (also continue when at breakpoint)+/-- control speed
Use nix-direnv or nix develop.