frederic-mahe / Analogue-Pocket

An issue tracker for Analogue's Pocket, a handheld FPGA device released in December 2021
58 stars 1 forks source link

Sleep/Restore and Save States broken with Inside Gadgets MBC5 Rumble carts #131

Open bbbbbr opened 8 months ago

bbbbbr commented 8 months ago

(brought to my notice by Churchdill)

Using the physical Inside Gadgets MBC5 + Rumble cart:

Using a similar version of the ROM but targeted to 32K no save on a Catskull bare 32K cart with no save RAM:

Using the same ROM in the GB core (no cart):

More with the IG Rumble Cart:

So perhaps there is some problem with tracking or restoring the currently active bank for the upper 16K ROM region on this cart.

bbbbbr commented 8 months ago

Alex of Inside gadgets noted:

Looks like an aP thing, you have to trick it so it won't try and do other things. I just set the MBC to none and it seems to work now for sleep/wake. Same thing happened with MBC3 carts, it just overwrites the rtc data so you set the header to be MBC5 and then it doesn't overwrite the rtc data

rumble_cart_test_roms.zip