Adds gemmasdl2

-> needs work but starts and runs and steps through the 1-chip8
 -> has debugging level code for determining what buttons are being pushed
This commit is contained in:
2024-10-17 14:45:16 -04:00
parent a467c8e6b0
commit 902d5c1875
10 changed files with 867 additions and 311 deletions
-2
View File
@@ -681,8 +681,6 @@ impl Chip8CpuInstructions {
input.registers.poke(0xf, target);
}
Chip8CpuInstructions::SkpVx(x) => {
// Ex9E - SKP Vx
+2 -1
View File
@@ -10,4 +10,5 @@ pub const CHIP8_KEYBOARD: [[u8; 4]; 4] = [
[0x04, 0x05, 0x06, 0x0D],
[0x07, 0x08, 0x09, 0x0E],
[0x0A, 0x00, 0x0B, 0x0F]
];
];