#pragma once #include #include #include #include class Board : public EightBit::Bus { public: Board(); EightBit::mc6809& CPU() { return m_cpu; } void initialise(); protected: virtual EightBit::MemoryMapping mapping(uint16_t address) final; private: EightBit::Ram m_ram = 0x10000; // 0000 - FFFF, 64K RAM EightBit::mc6809 m_cpu; EightBit::Disassembly m_disassembler; // The m_disassembleAt and m_ignoreDisassembly are used to skip pin events EightBit::register16_t m_disassembleAt = 0x0000; bool m_ignoreDisassembly = false; void Cpu_ExecutingInstruction_Debug(EightBit::mc6809&); void Cpu_ExecutedInstruction_Debug(EightBit::mc6809&); };