Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stuck on saving #4

Open
BramofDoom opened this issue Aug 15, 2023 · 2 comments
Open

Stuck on saving #4

BramofDoom opened this issue Aug 15, 2023 · 2 comments

Comments

@BramofDoom
Copy link

BramofDoom commented Aug 15, 2023

Love this port, a real throwback to playing this in highschool on the school computers!

I tried flashing this ROM to a cart to play on my Gameboy.

Everything seems to work, except for saving. The game freezes when trying to save.

My Joey Jr V2++ shows the following information for the flash cart:
Flash Detected.
D0:D1 swapped.
CFI Interrogation:
Flash Capacity:0x02000000
Buffer Size:0x0400
Number of Erase Block Regions:0x0001
Region 1 consists of:0x00FF Blocks each:0x00020000 bytes each.
Flash ID:0x897E
28EW256 Flash Detected

@Vulcalien
Copy link
Owner

Vulcalien commented Aug 20, 2023

I'm not familiar with that specific cartridge, so I don't know how the saving works in there.

I've heard that, when the save memory is erased, some flash cartridges do not set all the bytes to 0xff, unlike emulators (and, I think, officially released game cartridges) do. Now, Minicraft for GBA waits for a byte to change to 0xff indefinitely.

You can try this modified version, that removes the wait for 0xff and just assumes that the memory erasing went well.
minicraft-gba_1.2.1_modified.zip

@Vulcalien
Copy link
Owner

I made a few changes to the saving system, adding a checksum verification step that should tell the player if a save file was corrupted. If the checksum verification failed, next to 'LOAD GAME' there will be a (!) symbol.

minicraft_2023_12_24_exp_saving.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants