A emulator for the 8080 CPU written in Rust. Based on the guide from Emulator 101. Handy links:
$ cargo run -- -e -f invaders.atari -l log4rs.yaml
Opening: invaders.atari
0000 NOP pc: 0 sp: 0 a: 0 b: 0 c: 0 d: 0 e: 0 h: 0 l: 0 ConditionCodes { z: false, s: false, p: false, cy: false, ac: false, pad: false }
...
$ cargo run -- -h
rusty8080 0.1.0
Andrew Hopkins <[email protected]>
Emulates programs for the Intel 8080
USAGE:
rusty8080 [OPTIONS] --file <PATH_TO_FILE> <--emulate|--disassemble>
FLAGS:
-d, --disassemble Disassemble the file for numOps commands
-e, --emulate Emulate the program
-h, --help Prints help information
-V, --version Prints version information
OPTIONS:
-f, --file <PATH_TO_FILE> The file to emulate
-l, --logFile <FILE> Sets the log config
-n, --numOps <numOps> Number of operations to disassemble [default: 10]