floooh / v6502r

visual6502 remixed
297 stars 30 forks source link

Reminder: Z80 tracelog disassembly is confused by DD+CB/FD+CB ops #1

Open floooh opened 2 years ago

floooh commented 2 years ago

In DD+CB or FD+CB instructions (e.g. SET 1,(IX+1)) the disassembly in the tracelog and timing winow doesn't detect the end of the instruction and "leaks" into the next instrucion.

Probably related to the "fake" opcode fetch machine cycle in those instructions (the opcode after the DD+DB prefixes is loaded with a regular memory read machine cycle).