LLTPHack with SA-1

apfel
Posts: 3
Joined: Thu Dec 09, 2021 11:56 am
Has thanked: 1 time
Been thanked: 1 time

LLTPHack with SA-1

Unread post 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.
PikWik
Posts: 279
Joined: Sat May 30, 2020 7:00 pm
Has thanked: 208 times
Been thanked: 74 times

Re: LLTPHack with SA-1

Unread post 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
ExCyber
Posts: 232
Joined: Sun May 24, 2020 3:33 pm
Has thanked: 12 times
Been thanked: 77 times

Re: LLTPHack with SA-1

Unread post 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
Post Reply