Add chip8Archive as a submodule, for testing

This commit is contained in:
John 2023-04-02 14:21:43 -05:00
parent f27537b3b8
commit 89f66c3d5b
3 changed files with 5 additions and 1 deletions

3
.gitmodules vendored
View File

@ -1,3 +1,6 @@
[submodule "tests/chip8-test-suite"]
path = tests/chip8-test-suite
url = https://github.com/Timendus/chip8-test-suite.git
[submodule "chip8Archive"]
path = chip8Archive
url = https://github.com/JohnEarnest/chip8Archive.git

1
chip8Archive Submodule

@ -0,0 +1 @@
Subproject commit 483a642595b025a863f2e4304384a370098a3344

View File

@ -37,7 +37,7 @@ fn setup_environment() -> (CPU, Bus) {
// Load the ROM file into RAM (dummy binary which contains nothing but `jmp pc+2`)
Program [0x0200..0x1000] = include_bytes!("tests/roms/jumptest.ch8"),
// Create a screen
Screen [0x0F00..0x1000] = include_bytes!("../../chip-8/IBM Logo.ch8"),
Screen [0x0F00..0x1000] = include_bytes!("../../tests/chip8Archive/roms/1dcell.ch8"),
},
)
}