From 89f66c3d5b19c86d385e31279e176d7c5d37fc99 Mon Sep 17 00:00:00 2001 From: John Breaux Date: Sun, 2 Apr 2023 14:21:43 -0500 Subject: [PATCH] Add chip8Archive as a submodule, for testing --- .gitmodules | 3 +++ chip8Archive | 1 + src/cpu/tests.rs | 2 +- 3 files changed, 5 insertions(+), 1 deletion(-) create mode 160000 chip8Archive 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"), }, ) }