Chip8 emulation project in Rust, for learning purposes.
Find a file
2017-05-12 23:58:55 +02:00
src Added CLR, DRW, fixed video a little bit. 2017-05-12 23:58:55 +02:00
.gitignore Added CLR, DRW, fixed video a little bit. 2017-05-12 23:58:55 +02:00
Cargo.lock Added CLR, DRW, fixed video a little bit. 2017-05-12 23:58:55 +02:00
Cargo.toml Added CLR, DRW, fixed video a little bit. 2017-05-12 23:58:55 +02:00
README.md Started implementing instructions. 2017-03-02 22:58:24 +01:00

tw-chip8

What is this?

tw-chip8 is a chip-8 emulator/interpreter/disassembler I made for fun (and educational purposes!).
It currently only supports basic, non-ETI 660 chip-8 ROMs.

Usage

./tw-chip8 [--disassemble | [--run] [--dump=DUMP_FILE]]
The --dump option is used to dump the memory after the emulator ends.

Additional information

Because the interpreter doesn't live in the emulated memory, the 0x0000 - 0x0200 address space contains a few useful virtual routines that can be executed with a SYS call for debugging purposes:

  • SYS 0x100: exit the interpreter and dump the memory, if using --dump

Remember to remove those calls after debug for maximum compatibility.