summaryrefslogtreecommitdiff
path: root/main.c
AgeCommit message (Collapse)AuthorFilesLines
2020-08-21added license informationDaniel Jones1-29/+16
2020-08-21correct Fx55 and fx6 opcodesDaniel Jones1-1/+1
2020-08-21more instructions implementedDaniel Jones1-3/+3
a good few roms work now, many glitches and such though. some roms wont work
2020-08-19instructions and debugging featuresDaniel Jones1-7/+39
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 Jones1-3/+32
screen clearing and loading bytes into registers implemented currently
2020-08-18replace magic numbers with constantsDaniel Jones1-2/+4
2020-08-18move sdl event handling to own functionDaniel Jones1-28/+31
2020-08-18implemented keypadDaniel Jones1-13/+75
hex keypad is mapped to keys 1234,qwer,asdf,zxcv
2020-08-17implement pixel XORing and wrappingDaniel Jones1-2/+11
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 Jones1-2/+23
begin implementing sprite drawing, currently draws the chip8 fontset well, no idead about other sprites yet
2020-08-16began chip8 interpreter, reading rom fileDaniel Jones1-5/+26
2020-08-16SDL init stuff, test codeDaniel Jones1-0/+105