Gate writes to motherboard RAM/ROM into reads.

This commit is contained in:
Zane Kaminski 2024-10-08 07:32:06 -04:00
parent da1220315e
commit 582def5b32

View File

@ -51,7 +51,7 @@ module IOBS(
// I/O selected, and FIFO secondary level empty // I/O selected, and FIFO secondary level empty
if (BACT && IOPWCS && !ALE1 && !Sent && TS!=0) begin if (BACT && IOPWCS && !ALE1 && !Sent && TS!=0) begin
// Latch R/W now but latch address and LDS/UDS next cycle // Latch R/W now but latch address and LDS/UDS next cycle
IORW1 <= nWE; IORW1 <= nWE || !IORealCS;
Load1 <= 1; Load1 <= 1;
end else Load1 <= 0; end else Load1 <= 0;
end end
@ -87,7 +87,7 @@ module IOBS(
IOL0 <= IOL1; IOL0 <= IOL1;
IOU0 <= IOU1; IOU0 <= IOU1;
end else begin // FSB request end else begin // FSB request
IORW <= nWE; IORW <= nWE || !IORealCS;
IOL0 <= !nLDS; IOL0 <= !nLDS;
IOU0 <= !nUDS; IOU0 <= !nUDS;
end end