mirror of
https://github.com/MoleskiCoder/EightBitNet.git
synced 2026-04-25 09:16:41 +00:00
Port of EightBit library to .Net (unworking!)
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
namespace EightBit
|
||||
{
|
||||
public class Ram : Rom
|
||||
{
|
||||
public Ram(int size = 0)
|
||||
: base(size)
|
||||
{
|
||||
}
|
||||
|
||||
public override sealed ref byte Reference(ushort address) {
|
||||
return ref Bytes()[address];
|
||||
}
|
||||
|
||||
public new void Poke(ushort address, byte value)
|
||||
{
|
||||
base.Poke(address, value);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user