4 ms·
A common mistake when implementing a CHIP-8 emulator is to allow the nominally 12-bit "I" register to overflow, leading to out-of-bounds memory accesses. When t
by Retr0id 2y ago
A common mistake when implementing a CHIP-8 emulator is to allow the nominally 12-bit "I" register to overflow, leading to out-of-bounds memory accesses. When the emulator is written in a memory-unsafe language like C, this can lead to an emulator escape exploit - I wrote about one here: https://www.da.vidbuchanan.co.uk/blog/bggp3.html https://www.da.vidbuchanan.co.uk/blog/bggp3.html
- stevekemp 2y agoThat was a lovely writeup, thanks for sharing.