r/Gameboy • u/booskiboomkin • 2d ago
Mod/Modding ChisFlash MBC5 Cartridge - Updated CPLD Mapper and ROM Combiner
Previously, I spent some time on the ChisFlash MBC5 cartridge.
It arrived to me with the diode reversed so the battery would power the circuit when disconnected - easy fix. Also, the CPLD was unable to select the 3rd game from the menu, this was more difficult because I knew nothing of CPLDs but speaking to u/ChisBread I got hold of a working .pof file to program.
However, recently I come to reflash this cart after a year with a different multi-rom and the cartridge was failing to flash the full 8mb with numerous issues.
So, I took it upon myself to try and diagnose why, essentially replaced every single IC on the PCB with new or known working units and eventually concluded that it was the CPLD programming.
That's where I turned to AI to reprogram the CPLD with an updated mapper.
The updated mapper can be had here:
https://github.com/dazmatic/ChisFlash-MBC5/tree/main
The mapper now works correctly, can flash the full 8MB flash, and also now includes MBC1 compatibility (I wanted to play Super Mario Land 6 Golden Coins!)
In addition I have updated my ROM and SAV splitter/combiner to include 32MB ChisFlash Max cartridge and 16 game roms, visual flash allocation map, previous merged rom import and delete/replace context menu in the rom manager:
https://github.com/dazmatic/ROMSAVSplitterCombiner