mirror of
https://github.com/garrettsworkshop/Warp-SE.git
synced 2024-11-21 17:31:47 +00:00
Gate writes to motherboard RAM/ROM into reads.
This commit is contained in:
parent
da1220315e
commit
582def5b32
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user