mirror of
https://github.com/MoleskiCoder/EightBit.git
synced 2026-03-15 01:16:39 +00:00
Add the concept of a clocked chip
This commit is contained in:
@@ -118,7 +118,9 @@ void Board::updateAciaPins(const EightBit::Chip::PinLevel rw) {
|
||||
|
||||
bool Board::accessAcia() {
|
||||
ACIA().raise(ACIA().E());
|
||||
const bool accessed = ACIA().tick();
|
||||
const bool activated = ACIA().activated();
|
||||
if (activated)
|
||||
ACIA().step();
|
||||
ACIA().lower(ACIA().E());
|
||||
return accessed;
|
||||
return activated;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user