mirror of
https://github.com/MoleskiCoder/EightBit.git
synced 2025-08-03 08:25:56 +00:00
Apply the concept of powered components to the "board"
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
This commit is contained in:
@@ -17,9 +17,11 @@ public:
|
||||
|
||||
EightBit::MOS6502& CPU() { return m_cpu; }
|
||||
|
||||
void initialise();
|
||||
virtual void powerOn() final;
|
||||
virtual void powerOff() final;
|
||||
|
||||
protected:
|
||||
virtual void initialise() final;
|
||||
virtual EightBit::MemoryMapping mapping(uint16_t address) final {
|
||||
return { m_ram, 0x0000, 0xffff, EightBit::MemoryMapping::ReadWrite };
|
||||
}
|
||||
|
Reference in New Issue
Block a user