taylus / gbdotnet

An incomplete Game Boy emulator written in .NET Core
4 stars 0 forks source link

Find (or create) memory mapper test ROMs #48

Open taylus opened 4 years ago

taylus commented 4 years ago

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.

taylus commented 4 years ago

https://github.com/Gekkio/mooneye-gb/tree/master/tests

taylus commented 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:

bgb gbdotnet

taylus commented 4 years ago

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.

image