From 492e55f50f4660d16be8e81466813096d492e67d Mon Sep 17 00:00:00 2001 From: Joshua Wise Date: Sat, 10 May 2008 06:01:45 -0400 Subject: [PATCH 1/1] RAM needs to be writable, I guess --- System.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/System.v b/System.v index 37ca872..02b424c 100644 --- a/System.v +++ b/System.v @@ -114,7 +114,7 @@ module CellularRAM( reg [8:0] rombank = 1; assign cr_nOE = decode ? ~rdlatch : 1; - assign cr_nWE = (decode && ((addrlatch == ADDR_PROGDATA) || (mbc_emul[6:0] == 0))) ? ~wrlatch : 1; + assign cr_nWE = (decode && ((addrlatch == ADDR_PROGDATA) || (mbc_emul[6:0] == 0) || (addrlatch[15:13] == 3'b101))) ? ~wrlatch : 1; assign cr_DQ = (~cr_nOE) ? 16'bzzzzzzzzzzzzzzzz : {8'b0, datalatch}; assign cr_A = (addrlatch[15:14] == 2'b00) ? /* extrom, home bank */ {9'b0,addrlatch[13:0]} : -- 2.43.0