mirror of
https://github.com/MoleskiCoder/EightBitNet.git
synced 2026-04-20 21:16:29 +00:00
Introduce a little consistency with regards to pin naming and usage.
Signed-off-by: Adrian Conlon <adrian.conlon@gmail.com>
This commit is contained in:
@@ -60,9 +60,9 @@ namespace EightBit
|
||||
|
||||
public byte L { get => this.HL.Low; set => this.HL.Low = value; }
|
||||
|
||||
protected bool Halted => this.HALT().Lowered();
|
||||
public ref PinLevel HALT => ref this.haltLine;
|
||||
|
||||
public ref PinLevel HALT() => ref this.haltLine;
|
||||
protected bool Halted => this.HALT.Lowered();
|
||||
|
||||
public IntelOpCodeDecoded GetDecodedOpCode(byte opCode) => this.decodedOpCodes[opCode];
|
||||
|
||||
@@ -76,14 +76,14 @@ namespace EightBit
|
||||
public virtual void RaiseHALT()
|
||||
{
|
||||
this.OnRaisingHALT();
|
||||
this.HALT().Raise();
|
||||
this.HALT.Raise();
|
||||
this.OnRaisedHALT();
|
||||
}
|
||||
|
||||
public virtual void LowerHALT()
|
||||
{
|
||||
this.OnLoweringHALT();
|
||||
this.HALT().Lower();
|
||||
this.HALT.Lower();
|
||||
this.OnLoweredHALT();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user