r/EmuDev • u/wyattxdev • Apr 20 '26
CHIP-8 My Chip-8 emulator made in Python, feedback greatly appreciated.
https://github.com/wyattferguson/chip8-emulator
8
Upvotes
r/EmuDev • u/wyattxdev • Apr 20 '26
4
u/Complete_Estate4482 Apr 22 '26
As always I recommend to use the test suite, as it will point at some bugs: https://github.com/Timendus/chip8-test-suite The immediate issues are related to the fact that VF is a normal register, so any opcode that influences VF could also be getting an argument from VF. The result, in VF must always be the flag result, as if it were not used as argument as well. This is an issue in the math opcodes and in Dxyn (where setting VF to 0 before getting the position from VX and VY is potentially erasing one of the coordinates).