Commits


more README


added TODOs in README


added the rest of the instructions (not all are implemented)


added instruction SNE for regs


fixed instruction matching bug


added instruction beginning with 0x8, mainly basic arithmetic


added added LD and ADD


added instruction SE for regs


extracted variables, fixed indexing for registers


added instruction SNE + fixed SE bug


incrementing pc per instruction to have better control


added instruction SE


added instruction CALL


added instruction JP


added RET instruction


instantiate stack with 0 length but 16 capacity, removing stack pointer


removed enum, save program in memory removed the previously added enum to instead store the program in memory. this is to avoid complications with addressing memory later in, which could be tedious when representing instructions as enums. no readability should have been lost if all the instructions are documented when decoded.


basic instruction stuff


changed arrays to vecs, video driver only holds vec


from_u8_rgb + formatting


switched from sdl2 to minifb


added README


initial commit