John Breaux
cc3bc3a7fe
- Rewrote the instruction decoder as an enum - Used imperative_rs to auto-generate the bit twiddling logic - Implemented Display on that enum, for disassembly - Rewrote CPU::tick - Now >10x faster - Disassembly mode is still 5x slower though - Implemented time-based benchmarking - (use option -S to set the number of instructions per epoch)
15 lines
287 B
Makefile
15 lines
287 B
Makefile
# Some common commands for working on this stuff
|
|
|
|
test:
|
|
cargo test --doc && cargo nextest run
|
|
|
|
chirp:
|
|
cargo run --bin chirp-minifb -- tests/chip8-test-suite/bin/chip8-test-suite.ch8
|
|
|
|
cover:
|
|
cargo llvm-cov --open --doctests
|
|
|
|
tokei:
|
|
tokei --exclude tests/chip8-test-suite
|
|
|