mirror of
https://github.com/MoleskiCoder/EightBit.git
synced 2025-02-08 18:30:32 +00:00
19 lines
275 B
C++
19 lines
275 B
C++
#pragma once
|
|
|
|
#include <cstdint>
|
|
|
|
namespace EightBit {
|
|
|
|
class MemoryInterface;
|
|
|
|
struct MemoryMapping {
|
|
|
|
enum AccessLevel { Unknown, ReadOnly, ReadWrite, };
|
|
|
|
MemoryInterface& memory;
|
|
uint16_t begin = 0xffff;
|
|
uint16_t mask = 0U;
|
|
AccessLevel access = Unknown;
|
|
};
|
|
}
|