mirror of
https://github.com/MoleskiCoder/EightBitNet.git
synced 2024-12-24 09:30:40 +00:00
24 lines
718 B
C#
24 lines
718 B
C#
|
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; }
|
|||
|
}
|
|||
|
}
|