Implemented IM0 and ED45
This commit is contained in:
@@ -1434,6 +1434,10 @@ namespace Core.Cpu
|
|||||||
}
|
}
|
||||||
// --- SBC HL, rr ---
|
// --- SBC HL, rr ---
|
||||||
case 0x42: SbcHl(BC.Word); return 15;
|
case 0x42: SbcHl(BC.Word); return 15;
|
||||||
|
case 0x45: // RETN (Return from NMI)
|
||||||
|
IFF1 = IFF2; // Restore the interrupt state
|
||||||
|
PC = Pop(); // Jump back to where we came from
|
||||||
|
return 14;
|
||||||
case 0x52: SbcHl(DE.Word); return 15;
|
case 0x52: SbcHl(DE.Word); return 15;
|
||||||
case 0x62: SbcHl(HL.Word); return 15;
|
case 0x62: SbcHl(HL.Word); return 15;
|
||||||
case 0x72: SbcHl(SP); return 15;
|
case 0x72: SbcHl(SP); return 15;
|
||||||
|
|||||||
Reference in New Issue
Block a user