From a40ee944997585be1576ccd92e34f769e2f6f3d6 Mon Sep 17 00:00:00 2001 From: John Breaux Date: Mon, 27 Mar 2023 17:21:23 -0500 Subject: [PATCH] cpu/tests: Add chip8-test-suite, organize tests --- .gitmodules | 3 +++ src/cpu/tests/chip8-test-suite | 1 + .../1dcell.ch8/123342.bin} | Bin .../1dcell.ch8/2391162.bin} | Bin .../BC_test.ch8/197.bin} | Bin .../IBM Logo.ch8/20.bin} | Bin src/cpu/tests/screens/chip8-test-suite.ch8/64.bin | Bin 0 -> 256 bytes .../tests/screens/chip8-test-suite.ch8/flags.bin | Bin 0 -> 256 bytes .../tests/screens/chip8-test-suite.ch8/quirks.bin | Bin 0 -> 256 bytes .../tests/screens/chip8-test-suite.ch8/splash.bin | Bin 0 -> 256 bytes 10 files changed, 4 insertions(+) create mode 100644 .gitmodules create mode 160000 src/cpu/tests/chip8-test-suite rename src/cpu/tests/{1dcell.ch8_123342.bin => screens/1dcell.ch8/123342.bin} (100%) rename src/cpu/tests/{1dcell.ch8_2391162.bin => screens/1dcell.ch8/2391162.bin} (100%) rename src/cpu/tests/{BC_test.ch8_197.bin => screens/BC_test.ch8/197.bin} (100%) rename src/cpu/tests/{IBM Logo.ch8_20.bin => screens/IBM Logo.ch8/20.bin} (100%) create mode 100644 src/cpu/tests/screens/chip8-test-suite.ch8/64.bin create mode 100644 src/cpu/tests/screens/chip8-test-suite.ch8/flags.bin create mode 100644 src/cpu/tests/screens/chip8-test-suite.ch8/quirks.bin create mode 100644 src/cpu/tests/screens/chip8-test-suite.ch8/splash.bin diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..800ce73 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "src/cpu/tests/chip8-test-suite"] + path = src/cpu/tests/chip8-test-suite + url = https://github.com/Timendus/chip8-test-suite.git diff --git a/src/cpu/tests/chip8-test-suite b/src/cpu/tests/chip8-test-suite new file mode 160000 index 0000000..af78298 --- /dev/null +++ b/src/cpu/tests/chip8-test-suite @@ -0,0 +1 @@ +Subproject commit af7829841b4c9b043febbd37a4d4114e0ac948ec diff --git a/src/cpu/tests/1dcell.ch8_123342.bin b/src/cpu/tests/screens/1dcell.ch8/123342.bin similarity index 100% rename from src/cpu/tests/1dcell.ch8_123342.bin rename to src/cpu/tests/screens/1dcell.ch8/123342.bin diff --git a/src/cpu/tests/1dcell.ch8_2391162.bin b/src/cpu/tests/screens/1dcell.ch8/2391162.bin similarity index 100% rename from src/cpu/tests/1dcell.ch8_2391162.bin rename to src/cpu/tests/screens/1dcell.ch8/2391162.bin diff --git a/src/cpu/tests/BC_test.ch8_197.bin b/src/cpu/tests/screens/BC_test.ch8/197.bin similarity index 100% rename from src/cpu/tests/BC_test.ch8_197.bin rename to src/cpu/tests/screens/BC_test.ch8/197.bin diff --git a/src/cpu/tests/IBM Logo.ch8_20.bin b/src/cpu/tests/screens/IBM Logo.ch8/20.bin similarity index 100% rename from src/cpu/tests/IBM Logo.ch8_20.bin rename to src/cpu/tests/screens/IBM Logo.ch8/20.bin diff --git a/src/cpu/tests/screens/chip8-test-suite.ch8/64.bin b/src/cpu/tests/screens/chip8-test-suite.ch8/64.bin new file mode 100644 index 0000000000000000000000000000000000000000..30bcf0f1de8db12eb6d35042144303ba166867ae GIT binary patch literal 256 zcmZQzpb+qX|5L;G0bvOL_y2XwNPOml$K}}%Amo`3{*k|r%9s6%!apwa6NwKruci>m OJdk~gNPL9JWU&C`IU7I# literal 0 HcmV?d00001 diff --git a/src/cpu/tests/screens/chip8-test-suite.ch8/flags.bin b/src/cpu/tests/screens/chip8-test-suite.ch8/flags.bin new file mode 100644 index 0000000000000000000000000000000000000000..465b334916e9e1734fc62e5507ff770e212433a4 GIT binary patch literal 256 zcmZ2-X7L6Fz6T7iRxO?w>ZcmI?u^sKnO(=yR&_Y<6y$s2!T<&D7?@Xp)IAFg-Wlq5 zG;~o~Qs>MrwX}CG&YgmMN08O+0I7Qs8r%s|w+^hX4XO@d9?aY)XBLCa?OL@MY;NBf oC$PD%R#9f|yLE?mfb3ZEW|4sih+c76K>|oWS+~eS03-ng0IR}MTL1t6 literal 0 HcmV?d00001 diff --git a/src/cpu/tests/screens/chip8-test-suite.ch8/quirks.bin b/src/cpu/tests/screens/chip8-test-suite.ch8/quirks.bin new file mode 100644 index 0000000000000000000000000000000000000000..3b9739dd3f24b860e251c98b8ac33c7007cc1f71 GIT binary patch literal 256 zcmZQzfPiqe;&KMQ0}LUoX-N!R3q-=$9G!r)gbHg}5d+@>0jM&D^72#$kh-$cPzI2? zkkBL$EfF3b1QbW8OE+UxF950wN@WdF0ICZTV=n^I66q=G;R;CVO3KocLFT!r28Dpk zb5TnQ1({b~;vS4_o@seGP~AI*bQL9_x(*RhH6@_BGZLvK>OgfJaQB&(l^KB4iI%E5 VfYpVm27uHhhm-=v5$a(60RSx7F4X`4 literal 0 HcmV?d00001 diff --git a/src/cpu/tests/screens/chip8-test-suite.ch8/splash.bin b/src/cpu/tests/screens/chip8-test-suite.ch8/splash.bin new file mode 100644 index 0000000000000000000000000000000000000000..1d6794a5280352542352b74f1e77746fe204f974 GIT binary patch literal 256 zcmZQzfCByn42%p03=B-XlE*zK0BNnInqELTCXKzCo?v>Rrbh#aKUduvst1{pm*Dxq z@Q;DPeuwNI#^VeOg*#-=F*h?XJg{Iq2BM!@@Pg?F_Oizqk1;U3*gyB!hd&Gq&n@qs z`*;qd?(QGvb};>eof%9YI1Z)Nfpp=HyQkcN^7cSl8EB8Z#oZ$Zf%?$_yWs)@jRc@O gy)0b%K>nyyP+9Q-NINVLSh($ literal 0 HcmV?d00001