Page 1 of 1

LLTPHack with SA-1

Posted: Thu Jan 27, 2022 6:56 am
by apfel
I'm trying to run the latest LLTPHack (https://spannerisms.github.io/lttphack/) and only get a black screen but I can hear the sounds when pressing some buttons. Did someone mange to get this hack up running on his Mister FPGA?
From the LTTPHack Homepage wrote:This version should be used by any system that can properly emulate the SA-1 with 256kb of BWRAM
Tested my hacked rom with snes9x and in snes9x it's working.

Re: LLTPHack with SA-1

Posted: Sat Jan 29, 2022 2:33 am
by PikWik
same here. applied the romhack and getting a black screen

i do think this could be fixed with a header edit. but im not 100% on what header to add, or remove

Re: LLTPHack with SA-1

Posted: Sat Jan 29, 2022 5:11 am
by ExCyber
It appears that the core is only built with 128 KB of cartridge SRAM. There are further dependencies on this address width in the SA1 code, and I have no idea whether the design would still fit if the size were increased:

Code: Select all

localparam  BSRAM_BITS = 17; // 1Mbits
edit: I managed to bodge out the SA1 dependencies, and it looks like 256 KB of cartridge SRAM will not fit as-is:

Code: Select all

Error (170048): Selected device has 553 RAM location(s) of type M10K block.  However, the current design needs more than 553 to successfully fit