summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2020-08-21correct Fx55 and fx6 opcodesDaniel Jones2-12/+5
2020-08-21more instructions implementedDaniel Jones3-18/+122
a good few roms work now, many glitches and such though. some roms wont work
2020-08-19implemented more instructionsDaniel Jones1-5/+71
these instructions are mostly untested at the moment, i need to test them
2020-08-19instructions and debugging featuresDaniel Jones2-12/+59
added some more instructions, particularly calling and returning from subroutines using the stack. also added stepping through the program using the '.' key to advance one cycle
2020-08-19begin implementing instructionsDaniel Jones3-4/+105
screen clearing and loading bytes into registers implemented currently
2020-08-18replace magic numbers with constantsDaniel Jones3-13/+21
2020-08-18move sdl event handling to own functionDaniel Jones1-28/+31
2020-08-18implemented keypadDaniel Jones3-13/+82
hex keypad is mapped to keys 1234,qwer,asdf,zxcv
2020-08-17implement pixel XORing and wrappingDaniel Jones3-16/+29
sprites are properly XOR'd to the display, setting the 0xF register as appropriate. sprites also wrap on the bottom and irght side of the screen. because you can't access negative video memory, wrpaping top to bottom and left to right isn't implemented
2020-08-17sprite drawing basic implementationDaniel Jones3-4/+62
begin implementing sprite drawing, currently draws the chip8 fontset well, no idead about other sprites yet
2020-08-16more initialisation and added the fontsetDaniel Jones2-4/+47
fontset also loaded into memory at 0x0, we have 0x0 to 0x1FF free for anything we want, that is where the interpreter is meant to be
2020-08-16began chip8 interpreter, reading rom fileDaniel Jones4-6/+87
2020-08-16SDL init stuff, test codeDaniel Jones4-0/+796