From 91c356c4ed16718c78b503a8fe3d7a14dfd73df6 Mon Sep 17 00:00:00 2001 From: David Hunter Date: Fri, 16 Jan 2026 23:11:06 -0800 Subject: [PATCH] Get internal SRAM working (really) Need to assert SZRQn to enable reads at A[1]=1 Now the BIOS decides the memory is writable, and checksums the first 128 bytes (twice). And then it hits a DIV instruction and throws an exception. --- rtl/fx_ga.sv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtl/fx_ga.sv b/rtl/fx_ga.sv index e670d70..dc2b1a9 100644 --- a/rtl/fx_ga.sv +++ b/rtl/fx_ga.sv @@ -76,7 +76,7 @@ logic unk_cen; logic io_readyn; assign READYn = unk_cen & ROM_READYn & RAM_READYn & SRAM_READYn & io_readyn; -assign SZRQn = ~unk_cen | (ROM_CEn & IO_CEn); +assign SZRQn = ~unk_cen | (ROM_CEn & IO_CEn & SRAM_CEn); ////////////////////////////////////////////////////////////////////// // Address decoder