mirror of
https://github.com/MoleskiCoder/EightBitNet.git
synced 2025-11-23 23:18:12 +00:00
PC only proceeds when HALT pin is raised
This commit is contained in:
@@ -84,6 +84,14 @@ namespace EightBit
|
||||
}
|
||||
}
|
||||
|
||||
protected override void IncrementPC()
|
||||
{
|
||||
if (this.HALT.Raised())
|
||||
{
|
||||
base.IncrementPC();
|
||||
}
|
||||
}
|
||||
|
||||
protected void ResetWorkingRegisters()
|
||||
{
|
||||
this.AF.Word = this.BC.Word = this.DE.Word = this.HL.Word = (ushort)Mask.Sixteen;
|
||||
|
||||
Reference in New Issue
Block a user