2019-02-04 23:52:21 +00:00
|
|
|
|
// <copyright file="MemoryMapping.cs" company="Adrian Conlon">
|
|
|
|
|
// Copyright (c) Adrian Conlon. All rights reserved.
|
|
|
|
|
// </copyright>
|
|
|
|
|
|
|
|
|
|
namespace EightBit
|
2019-02-02 15:12:51 +00:00
|
|
|
|
{
|
|
|
|
|
public class MemoryMapping
|
|
|
|
|
{
|
|
|
|
|
public MemoryMapping(Memory memory, ushort begin, ushort mask, AccessLevel access)
|
|
|
|
|
{
|
2019-02-06 23:41:56 +00:00
|
|
|
|
this.Memory = memory;
|
|
|
|
|
this.Begin = begin;
|
|
|
|
|
this.Mask = mask;
|
|
|
|
|
this.Access = access;
|
2019-02-02 15:12:51 +00:00
|
|
|
|
}
|
|
|
|
|
|
2019-02-06 23:41:56 +00:00
|
|
|
|
public Memory Memory { get; set; }
|
2019-02-04 23:52:21 +00:00
|
|
|
|
|
2019-02-06 23:41:56 +00:00
|
|
|
|
public ushort Begin { get; set; }
|
2019-02-04 23:52:21 +00:00
|
|
|
|
|
2019-02-06 23:41:56 +00:00
|
|
|
|
public ushort Mask { get; set; }
|
2019-02-04 23:52:21 +00:00
|
|
|
|
|
2019-02-06 23:41:56 +00:00
|
|
|
|
public AccessLevel Access { get; set; }
|
2019-02-02 15:12:51 +00:00
|
|
|
|
}
|
|
|
|
|
}
|