Make the 6502 a little more compatible with other processor implementations.

Signed-off-by: Adrian.Conlon <adrian.conlon@gmail.com>
This commit is contained in:
Adrian.Conlon
2017-07-17 13:46:06 +01:00
parent 867b0d5260
commit 4f491f110e
5 changed files with 123 additions and 159 deletions

View File

@@ -14,6 +14,9 @@ EightBit::Memory::Memory(uint16_t addressMask)
m_data = &(m_bus[m_address.word]);
}
EightBit::Memory::~Memory() {
}
uint8_t EightBit::Memory::peek(uint16_t address) const {
return m_bus[address];
}