mirror of
https://github.com/MoleskiCoder/EightBit.git
synced 2024-11-19 17:30:56 +00:00
17 lines
238 B
C
17 lines
238 B
C
|
#pragma once
|
||
|
|
||
|
#include <cstdint>
|
||
|
|
||
|
#include "Memory.h"
|
||
|
|
||
|
namespace EightBit {
|
||
|
struct MemoryMapping {
|
||
|
|
||
|
enum AccessLevel { Unknown, ReadWrite, ReadOnly };
|
||
|
|
||
|
Memory& memory;
|
||
|
uint16_t begin = 0xffff;
|
||
|
AccessLevel access = Unknown;
|
||
|
};
|
||
|
}
|