EightBit/inc/MemoryMapping.h
Adrian Conlon 5530522f11 Correct a couple of small issues
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2018-11-16 23:49:52 +00:00

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;
};
}