First post, by DrH
- Rank
- Newbie
Happy new year all,
I'm developing a Chip-8 emulator just to fun and learning. This is my first one, so I'm learning a lot in the process.
Recently I was able to run the first test rom [1] where the author says that we should run it for 39 cycles otherwise we would get into an infinite loop.
My question is, how do we know we finished the execution of a rom? Checking the Chip-8 opcode table [2] it seems that there is not "halt" like opcode.
I'm looking forward to hearing your thoughts on this.
Thank you.
[1] https://github.com/Timendus/chip8-test-suite? … 8-splash-screen
[2] https://en.wikipedia.org/wiki/CHIP-8#Opcode_table