mirror of
https://github.com/MoleskiCoder/EightBitNet.git
synced 2026-10-25 05:02:14 +00:00
Make "Pop" more like "Read". i.e. don't return a result, just use the value placed on the "bus"
This commit is contained in:
1 parent
741feb4342
commit
dfd4d1928f
9 files changed
+40
-27
No files matched your search
@@ -22,12 +22,14 @@ namespace LR35902.FuseTest
|
||||
private readonly Test<T> test = test;
|
||||
private readonly Result<T> result = result;
|
||||
private readonly EightBit.Ram ram = new(0x10000);
|
||||
private EightBit.MemoryMapping? mapping;
|
||||
|
||||
public bool Failed { get; private set; } = false;
|
||||
|
||||
public bool Unimplemented { get; private set; } = false;
|
||||
|
||||
public override EightBit.MemoryMapping Mapping(ushort address) => new(this.ram, 0, EightBit.Mask.Sixteen, EightBit.AccessLevel.ReadWrite);
|
||||
public override EightBit.MemoryMapping Mapping(ushort address) =>
|
||||
this.mapping ??= new EightBit.MemoryMapping(this.ram, 0, EightBit.Mask.Sixteen, EightBit.AccessLevel.ReadWrite);
|
||||
|
||||
public void Run()
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user