Lot's of small niggles corrected across the EightBit libraries

This commit is contained in:
Adrian Conlon committed 2024-03-18 13:03:41 +00:00
1 parent 739ce39360
commit 8b6c4a205e
21 files changed
+44 -66

No files matched your search

+3 -2
View File
@@ -23,8 +23,8 @@ public:
void initialise() final;
protected:
virtual EightBit::MemoryMapping mapping(uint16_t address) noexcept final {
return { m_ram, 0x0000, 0xffff, EightBit::MemoryMapping::AccessLevel::ReadWrite };
virtual constexpr EightBit::MemoryMapping mapping(uint16_t address) noexcept final {
return m_mapping;
}
private:
@@ -33,6 +33,7 @@ private:
EightBit::MOS6502 m_cpu = *this;
EightBit::Symbols m_symbols;
EightBit::Disassembly m_disassembler = { *this, m_cpu, m_symbols };
const EightBit::MemoryMapping m_mapping = { m_ram, 0x0000, 0xffff, EightBit::MemoryMapping::AccessLevel::ReadWrite };
EightBit::register16_t m_oldPC = EightBit::Chip::Mask16;
bool m_stopped = false;