From 7c2d9f3752c7d775ea8a65fb6216b06e50f8036c Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Tue, 22 Nov 2016 22:35:43 +0800 Subject: [PATCH] This seems to be right, per http://wiki.defence-force.org/doku.php?id=oric:hardware:floppy_disk_controller_wd1793 --- Machines/Oric/Microdisc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Machines/Oric/Microdisc.cpp b/Machines/Oric/Microdisc.cpp index 6612428aa..8aba1b4a8 100644 --- a/Machines/Oric/Microdisc.cpp +++ b/Machines/Oric/Microdisc.cpp @@ -48,7 +48,7 @@ void Microdisc::set_control_register(uint8_t control) // b7: EPROM select (0 = select) // b1: ROM disable (0 = disable) - int new_paging_flags = ((control & 0x02) ? 0 : BASICDisable) | ((control & 0x80) ? 0 : MicrodscDisable); + int new_paging_flags = ((control & 0x02) ? BASICDisable : 0) | ((control & 0x80) ? 0 : MicrodscDisable); if(new_paging_flags != paging_flags_) { paging_flags_ = new_paging_flags;