mirror of
https://github.com/MoleskiCoder/EightBit.git
synced 2024-09-01 00:28:55 +00:00
20 lines
281 B
C++
20 lines
281 B
C++
#pragma once
|
|
|
|
#include <cstdint>
|
|
#include "Chip.h"
|
|
|
|
namespace EightBit {
|
|
|
|
class Memory;
|
|
|
|
struct MemoryMapping {
|
|
|
|
enum AccessLevel { Unknown, ReadOnly, ReadWrite, };
|
|
|
|
Memory& memory;
|
|
uint16_t begin = Chip::Mask16;
|
|
uint16_t mask = 0U;
|
|
AccessLevel access = Unknown;
|
|
};
|
|
}
|