This commit is contained in:
Adrian Conlon
2019-11-18 00:17:11 +00:00
14 changed files with 860 additions and 360 deletions
+3 -6
View File
@@ -86,10 +86,7 @@ namespace EightBit.GameBoy
}
else
{
if (this.Halted)
{
this.Proceed();
}
this.RaiseHALT();
}
}
@@ -101,7 +98,7 @@ namespace EightBit.GameBoy
{
this.HandleINT();
}
else if (this.Halted)
else if (this.HALT.Lowered())
{
this.Execute(0); // NOP
}
@@ -557,7 +554,7 @@ namespace EightBit.GameBoy
case 1: // 8-bit loading
if (z == 6 && y == 6)
{
this.Halt(); // Exception (replaces LD (HL), (HL))
this.LowerHALT(); // Exception (replaces LD (HL), (HL))
}
else
{