commanderx16 / x16-emulator

Emulator for the Commander X16 8-bit computer
383 stars 60 forks source link

Update disasm.c #454

Closed indigodarkwolf closed 1 year ago

indigodarkwolf commented 1 year ago

The WDC datasheet states that a BRK instruction is actually two bytes long, with the CPU skipping the second byte by incrementing the program counter past it. The CPU emulation is already doing this, it was just being disassembled incorrectly by the emulator.

indigodarkwolf commented 1 year ago

The failed builds seem to be temporary 404s from the apt-get install process grabbing SDL2 dependencies. I'll try re-running the failed build processes later.