A whole bunch of consistency changes. No functional changes.

Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
This commit is contained in:
Adrian Conlon
2017-11-03 22:05:01 +00:00
parent ff2f44bbd2
commit c292fb552e
24 changed files with 349 additions and 328 deletions
+2 -2
View File
@@ -3,14 +3,14 @@
uint8_t EightBit::InputOutput::readInputPort(uint8_t port) {
OnReadingPort(port);
const auto value = input[port];
const auto value = m_input[port];
OnReadPort(port);
return value;
}
void EightBit::InputOutput::writeOutputPort(uint8_t port, uint8_t value) {
OnWritingPort(port);
output[port] = value;
m_output[port] = value;
OnWrittenPort(port);
}
+1 -1
View File
@@ -3,7 +3,7 @@
EightBit::Processor::Processor(Bus& bus)
: m_bus(bus),
cycles(0),
m_cycles(0),
m_halted(false),
m_power(false) {
PC().word = MEMPTR().word = 0;