(06-24-2009, 12:30 AM)gergep Wrote: how do you tell how to sort the opcodes under 0x0, 0x1, 0x2 ....
and if the opcode is 1nnn how would you convert that to hex
I suggest you get some clean code for reference. I just tried to port a Chip8 emu over to C and it barely even works...
Mine flickers, the DXYN or whatever opcode doesn't get called except on the Pong game, and everything else is blank. I don't know.But try searching around for some open source chip8 emu, and write it so you can understand which opcodes go where.
Also, 1NNN is just the "name" of the opcode, it means "jump to the address NNN"