Break io into chirp-minifb, and refactor to use Results in more places

This commit is contained in:
2023-04-01 00:14:15 -05:00
parent 3cc3aa534c
commit 7173b9e39b
12 changed files with 486 additions and 434 deletions

View File

@@ -1,10 +1,17 @@
# Some common commands for working on this stuff
test:
# Run All Tests
rat:
cargo test --doc && cargo nextest run
test:
cargo nextest run
chirp:
cargo run --bin chirp-minifb -- tests/chip8-test-suite/bin/chip8-test-suite.ch8
# Run at 2100000 instructions per frame, and output per-frame runtime statistics
bench:
cargo run --bin chirp-minifb --release -- chip-8/1dcell.ch8 -xP -s10 -S2100000
cover:
cargo llvm-cov --open --doctests