Port of EightBit library to .Net (unworking!)

Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
This commit is contained in:
Adrian Conlon
2019-02-02 15:12:51 +00:00
parent d693218618
commit 9a06b1743f
53 changed files with 16224 additions and 0 deletions

23
EightBit/MemoryMapping.cs Normal file
View File

@@ -0,0 +1,23 @@
namespace EightBit
{
public class MemoryMapping
{
private Memory memory;
private ushort begin;
private ushort mask;
private AccessLevel access;
public MemoryMapping(Memory memory, ushort begin, ushort mask, AccessLevel access)
{
this.memory = memory;
this.begin = begin;
this.mask = mask;
this.access = access;
}
public Memory Memory { get => memory; set => memory = value; }
public ushort Begin { get => begin; set => begin = value; }
public ushort Mask { get => mask; set => mask = value; }
public AccessLevel Access { get => access; set => access = value; }
}
}