1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-10-01 13:58:20 +00:00

Adds an assert to verify the interrupt line is clear after a full reset.

This commit is contained in:
Thomas Harte 2019-12-08 22:34:19 -05:00
parent b192381928
commit acfe2c63b8

View File

@ -41,6 +41,7 @@ void ACIA::reset() {
next_transmission_ = received_data_ = NoValueMask;
update_interrupt_line();
assert(!interrupt_line_);
}
void ACIA::write(int address, uint8_t value) {