From acfe2c63b8c02a2a51b9da3a1739d731258f3d6d Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Sun, 8 Dec 2019 22:34:19 -0500 Subject: [PATCH] Adds an assert to verify the interrupt line is clear after a full reset. --- Components/6850/6850.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Components/6850/6850.cpp b/Components/6850/6850.cpp index 6c1c9b1b4..dfc71a61b 100644 --- a/Components/6850/6850.cpp +++ b/Components/6850/6850.cpp @@ -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) {