r/Gameboy • u/MG42611 • 7d ago
Troubleshooting Retropixel freezing/glitching
Bought a Retropixel gameboy last night and it freezes and plays a single tone sound every time I try to save. It also has black lines for my sprite and freezes during battles. Is this common with store bought Retropixels? Same glitches on the green and silver reproductions, troubleshooted on a GBA SP with no issues so I know it’s the Retropixel.
0
Upvotes


7
u/Shot-Onion3322 7d ago
it's probably a problem with your repro cart
2
u/MG42611 7d ago
Video of save freezing for context
14
u/Tricky_Tourist5691 7d ago
FPGBCs dont have 100% compatibility with genuine cartridges, and probably even less with repro carts.
4
u/GameboyGenius 6d ago edited 6d ago
Repros like this write back the save data to flash every time you save. (The same flash chip that the ROM is in.) Normally the music can freeze for maybe 1-2 seconds while this happens. If it freezes, it means the write to the flash chip failed so the code sits there forever trying to verify the data that was written. It doesn't say anything about the exact cause. Maybe it's a voltage issue causing the write to fail. Maybe the FPGBC is outputting invalid signal that cause specifically the write to flash, to fail.
The striped pattern comes from the CPU crashing. The technical explanation is that something happens that's causing to get stuck in a function that calls itself. This is the instruction rst 38, encoded by the hexadecimal byte FF. This calls the address 0038, which often contains the byte FF as padding. This was never meant to be code, but the CPU doesn't know that of course. When the CPU rubs this instruction, it keeps pushing the value 0039 (the return address after 0038). The pattern is the binary representation of hexadecimal 39: 00111001 where zeros are white pixels and ones black pixels.
Just like in the previous case this doesn't tell you about the underlying reason. There's a thousand things that could initially cause the CPU to end up in this infinite recursive loop.
1
u/AutoModerator 7d ago
Troubleshooting post. Please check the Game Boy Wiki's common problems page here: https://gbwiki.org/en/other/commonissues and please be sure to post pictures of the issue if you haven't already so that users are better able to assist.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
1
u/CaptainCurly95 7d ago
I'm not familiar with this handheld. Is it a modded GBC or is it a handheld made to look like a GBC? A lot of third-party handhelds that play carts don't actually play the cart but rather dump the carts contents into its own memory and run off that. If it's not a real GBC playing the cart then I'd imagine it's the handheld having issue processing the reproductions contents. Like it's trying to send the save data to a place that doesn't exist and breaks everything.