From 582def5b32b23fc127fab9b681ca703567d19720 Mon Sep 17 00:00:00 2001 From: Zane Kaminski Date: Tue, 8 Oct 2024 07:32:06 -0400 Subject: [PATCH] Gate writes to motherboard RAM/ROM into reads. --- cpld/IOBS.v | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cpld/IOBS.v b/cpld/IOBS.v index 7d9cafa..58a15f8 100644 --- a/cpld/IOBS.v +++ b/cpld/IOBS.v @@ -51,7 +51,7 @@ module IOBS( // I/O selected, and FIFO secondary level empty if (BACT && IOPWCS && !ALE1 && !Sent && TS!=0) begin // Latch R/W now but latch address and LDS/UDS next cycle - IORW1 <= nWE; + IORW1 <= nWE || !IORealCS; Load1 <= 1; end else Load1 <= 0; end @@ -87,7 +87,7 @@ module IOBS( IOL0 <= IOL1; IOU0 <= IOU1; end else begin // FSB request - IORW <= nWE; + IORW <= nWE || !IORealCS; IOL0 <= !nLDS; IOU0 <= !nUDS; end