mirror of
https://github.com/MoleskiCoder/EightBitNet.git
synced 2026-01-22 16:16:17 +00:00
Actually, the refresh register is incremented halfway through M1, as the M1 pin is raised. i.e. just before the refresh phase of the M1 cycle.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
This commit is contained in:
12
Z80/Z80.cs
12
Z80/Z80.cs
@@ -442,15 +442,15 @@ namespace EightBit
|
||||
|
||||
protected virtual void OnRaisingM1() => this.RaisingM1?.Invoke(this, EventArgs.Empty);
|
||||
|
||||
protected virtual void OnRaisedM1() => this.RaisedM1?.Invoke(this, EventArgs.Empty);
|
||||
protected virtual void OnRaisedM1()
|
||||
{
|
||||
++this.REFRESH;
|
||||
this.RaisedM1?.Invoke(this, EventArgs.Empty);
|
||||
}
|
||||
|
||||
protected virtual void OnLoweringM1() => this.LoweringM1?.Invoke(this, EventArgs.Empty);
|
||||
|
||||
protected virtual void OnLoweredM1()
|
||||
{
|
||||
++this.REFRESH;
|
||||
this.LoweredM1?.Invoke(this, EventArgs.Empty);
|
||||
}
|
||||
protected virtual void OnLoweredM1() => this.LoweredM1?.Invoke(this, EventArgs.Empty);
|
||||
|
||||
protected virtual void OnRaisingRFSH() => this.RaisingRFSH?.Invoke(this, EventArgs.Empty);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user