Open taylus opened 4 years ago
Something is definitely wrong w/ the MBC1 implementation...!
Compare behavior of ROM from https://github.com/taylus/gameboy-dev/pull/1 in bgb vs gbdotnet:
https://github.com/taylus/gbdotnet/commit/fe67163d7ce02adaf8046cea7180242f7fb568af fixes the issue above, making the test ROM work as expected.
Super Mario Land 2 still crashes at the title screen, though... further research required.
Suspect #37 may be caused by a mapper issue, but haven’t isolated it yet. Find or create minimal test ROMs to exercise memory banking. (blargg? mooneye?)
Consider: display the current ROM bank on screen and advance it on a timer or with button presses. Should be able to load all appropriate banks for each mapper if it’s working correctly.