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

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);
}