Hmm, too bad the PCB couldn't be white to match the HuCards
What happens on the USA Sea Port/Ken's Stage? Glitched graphics? Does the entire rest of the game work perfectly other than that stage?
Is there a chance that some other writes could be falsely triggering the bankswitch? Or that you aren't accepting some writes? I'm not sure that diagram on that page is correct. And I'm not sure your condition for accepting writes is correct.
Are you checking all the address lines from A12 to A2 for being set to their values that would represent $1FFx? Maybe the SF2 mapper expects mirroring to be possible or doesn't fully decode, maybe it supported an even bigger ROM. So maybe you should only check that A12 to A4 are all set (equal 1).
So that way any write to $1FF0 to $1FFF will trigger bankswitch. Give it a try, it might fix it.
Color doesn't matter to me - It'll be sitting nice and pretty under my hu-card door on my duo. I'm pumped for this one!
It seems like you should have it implemented fine, this is the source code from Mednafen.
static DECLFR(HuCSF2Read)
{
return(HuCROM[(A & 0x7FFFF) + 0x80000 + (HuCSF2Latch & HuCSF2BankMask) * 0x80000 ]);
}
static DECLFW(HuCSF2Write)
{
if((A & 0x1FF0) == 0x1FF0)
HuCSF2Latch = A & 0xF;
}
Are you making sure that the SF2Latch, set by writes to $1FFx is determining the 512Kb Bank correctly? Are you sure that $80000 - $FFFFF on the HuCard is banked to one of the last four 512kb banks of the SF2 ROM? You don't allow setting the first 512Kb bank of the SF2 ROM into $80000 correct?
Maybe the problem isn't related to the mapper implementation and the problem is coming from somewhere else then. Did you verify that the Flash is not corrupted? PC-Engine games don't usually if ever contain checksum routines to determine ROM integrity.
solved! it is just was flashing error
99% of game HuCards are just a ROM up to 1 Megabyte in size. SF2'CE is an exception as it is 2.5 Megabytes and to allow that a memory mapper was designed for it. I have heard Populous might have some extra (maybe battery backed) RAM but that is about it. So again, 99% of HuCard games should work perfectly on the EverDrive. Populous is the only game that will not work.
Great job!
I have 2 questions :
* is it possible, instead of having a switch for region, to detect automatically the region of the rom and make an internal switching? (Not a big deal, furthermore you can patch the rom to change the region)
* Is stoneage gamer plane to make a case for this everdrive or is it even possible (not as problematic as for snes or md everdrive anyway)?
Keep up the good work :encouragement:
i didn't said that switch for rom region select, switch only for console region select. switch should be tuned just once, and will stay in same state forever. one position for pce, another for TG16.