mirror of
https://github.com/MoleskiCoder/EightBitNet.git
synced 2024-11-18 02:06:28 +00:00
0e8a530573
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
26 lines
621 B
C#
26 lines
621 B
C#
// <copyright file="MemoryMapping.cs" company="Adrian Conlon">
|
|
// Copyright (c) Adrian Conlon. All rights reserved.
|
|
// </copyright>
|
|
|
|
namespace EightBit
|
|
{
|
|
public class MemoryMapping
|
|
{
|
|
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; set; }
|
|
|
|
public ushort Begin { get; set; }
|
|
|
|
public ushort Mask { get; set; }
|
|
|
|
public AccessLevel Access { get; set; }
|
|
}
|
|
}
|