schip: Add preliminary SuperChip support (no test)

This commit is contained in:
2023-04-03 02:01:25 -05:00
parent 081dda9c8a
commit acc7629516
10 changed files with 384 additions and 87 deletions

View File

@@ -7,11 +7,14 @@ rat:
test:
cargo nextest run
chirp:
cargo run --bin chirp-minifb -- chip8-test-suite/bin/chip8-test-suite.ch8
run rom:
cargo run --bin chirp-minifb -- '{{rom}}'
debug rom:
cargo run --bin chirp-minifb -- -d '{{rom}}'
# Run at 2100000 instructions per frame, and output per-frame runtime statistics
bench:
cargo run --bin chirp-minifb --release -- chip8Archive/roms/1dcell.ch8 -xP -s10 -S2100000
cargo run --bin chirp-minifb --release -- chip8Archive/roms/1dcell.ch8 -Ps10 -S2100000 -m xochip
flame rom:
CARGO_PROFILE_RELEASE_DEBUG=true cargo flamegraph -F 15300 --open --bin chirp-minifb -- '{{rom}}' -s10
@@ -23,5 +26,5 @@ cover:
cargo llvm-cov --open --doctests
tokei:
tokei --exclude tests/chip8-test-suite
tokei --exclude chip8-test-suite --exclude chip8Archive