mirror of
https://github.com/MoleskiCoder/EightBit.git
synced 2026-01-23 04:16:02 +00:00
Apply the concept of powered components to the "board"
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
This commit is contained in:
@@ -8,6 +8,12 @@
|
||||
#include <stdexcept>
|
||||
#include <cassert>
|
||||
|
||||
void EightBit::Bus::powerOn() {
|
||||
initialise();
|
||||
}
|
||||
|
||||
void EightBit::Bus::powerOff() {}
|
||||
|
||||
uint8_t EightBit::Bus::read() {
|
||||
ReadingByte.fire(EventArgs::empty());
|
||||
const auto returned = DATA() = reference();
|
||||
|
||||
Reference in New Issue
Block a user