mirror of
https://github.com/TomHarte/CLK.git
synced 2024-12-25 03:32:01 +00:00
Adds an assert to verify the interrupt line is clear after a full reset.
This commit is contained in:
parent
b192381928
commit
acfe2c63b8
@ -41,6 +41,7 @@ void ACIA::reset() {
|
|||||||
next_transmission_ = received_data_ = NoValueMask;
|
next_transmission_ = received_data_ = NoValueMask;
|
||||||
|
|
||||||
update_interrupt_line();
|
update_interrupt_line();
|
||||||
|
assert(!interrupt_line_);
|
||||||
}
|
}
|
||||||
|
|
||||||
void ACIA::write(int address, uint8_t value) {
|
void ACIA::write(int address, uint8_t value) {
|
||||||
|
Loading…
Reference in New Issue
Block a user