Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
./program speed scale rom
|
|
|
|
|
|
|
|
a good few roms work now, many glitches and such though. some roms wont work
|
|
these instructions are mostly untested at the moment, i need to test them
|
|
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
|
|
screen clearing and loading bytes into registers implemented currently
|
|
|
|
hex keypad is mapped to keys 1234,qwer,asdf,zxcv
|
|
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
|
|
begin implementing sprite drawing, currently draws the chip8 fontset well, no idead about other sprites yet
|
|
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
|
|
|