diff --git a/.gitmodules b/.gitmodules index 260ccee..c2f8f36 100644 --- a/.gitmodules +++ b/.gitmodules @@ -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 diff --git a/chip8Archive b/chip8Archive new file mode 160000 index 0000000..483a642 --- /dev/null +++ b/chip8Archive @@ -0,0 +1 @@ +Subproject commit 483a642595b025a863f2e4304384a370098a3344 diff --git a/src/cpu/tests.rs b/src/cpu/tests.rs index deed2c1..630e02d 100644 --- a/src/cpu/tests.rs +++ b/src/cpu/tests.rs @@ -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"), }, ) }