EightBit/inc/Mapper.h
Adrian Conlon f38d326ca7 Improve the flexibility of the BUS mapping/read/write architecture.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2018-12-29 19:17:36 +00:00

15 lines
215 B
C++

#pragma once
#include <cstdint>
#include "MemoryMapping.h"
namespace EightBit {
class Mapper {
public:
virtual ~Mapper() = default;
[[nodiscard]] virtual MemoryMapping mapping(uint16_t address) = 0;
};
}