Opcode D6 is now an alias of opcode D7 (XLAT) on NEC Vx0, closes #5516.

This commit is contained in:
OBattler
2025-04-27 18:50:45 +02:00
parent f563b73768
commit 5b4db319bf

View File

@@ -3438,10 +3438,13 @@ execx86(int cycs)
set_pzs(8);
break;
case 0xD6: /*SALC*/
wait(1, 0);
AL = (cpu_state.flags & C_FLAG) ? 0xff : 0x00;
wait(1, 0);
break;
if (!is_nec) {
wait(1, 0);
AL = (cpu_state.flags & C_FLAG) ? 0xff : 0x00;
wait(1, 0);
break;
}
fallthrough;
case 0xD7: /*XLATB*/
cpu_state.eaaddr = (BX + AL) & 0xffff;
access(4, 8);