Adrian Conlon 9a06b1743f Port of EightBit library to .Net (unworking!)
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-02-02 15:12:51 +00:00

20 lines
373 B
C#

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);
}
}
}