mirror of
https://github.com/MoleskiCoder/EightBitNet.git
synced 2026-04-22 04:16:47 +00:00
Use the correct virtual methods: BusRead and BusWrite to control bus access for Z80 a la M6502 implementation.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
This commit is contained in:
@@ -118,9 +118,9 @@ namespace EightBit
|
||||
this.Jump(0);
|
||||
}
|
||||
|
||||
protected sealed override void Push(byte value) => this.Bus.Write(--this.SP.Word, value);
|
||||
protected sealed override void Push(byte value) => this.BusWrite(--this.SP.Word, value);
|
||||
|
||||
protected sealed override byte Pop() => this.Bus.Read(this.SP.Word++);
|
||||
protected sealed override byte Pop() => this.BusRead(this.SP.Word++);
|
||||
|
||||
protected sealed override Register16 GetWord()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user