nestopia icon indicating copy to clipboard operation
nestopia copied to clipboard

Mapper 227 : Bug with B-Wings

Open nb5846 opened this issue 3 years ago • 7 comments

For this rom that uses the mapper 227 : romMulticart.nes (md5sum => fcd14358d45211b5887b69be3405a1be)

It seems that there is a bug with the game B-Wings : Music ok but blue screen and no gamepad

It's probably necessary to add CHR RAM write-protection for fixing this bug.

Bug for the entry in the menu : 16 - B-Wings ...

I try this multicart dump with Nestopia UE 1.50. This B-Wings entry seems to work nearly correctly with libretro-fceumm (retroarch).

Could someone correct this bug ?

nb5846 avatar Mar 25 '23 18:03 nb5846

https://www.nesdev.org/wiki/INES_Mapper_227 It appears there has been a submapper assigned unofficially for this, in order to denote CHR RAM write protection. It should be trivial to add, but this is likely going to require a database entry.

carmiker avatar Mar 27 '23 02:03 carmiker

I have corrected the header of the dumpfile in my first message and set it to the submapper 1 as described in the wiki.

nb5846 avatar Mar 27 '23 16:03 nb5846

1679979853-732 I've gotten it working, but I will need to clean up some of the code to handle the difference between submapper 0 and 1 correctly.

carmiker avatar Mar 28 '23 05:03 carmiker

Here is the solution: https://gitlab.com/jgemu/nestopia/-/commit/de400b4f503d7681e2ec2c6db5b5ed96ff94ff94

carmiker avatar Mar 28 '23 11:03 carmiker

Thank you very much for your work. From which nestopia version number will your correction be available ?

nb5846 avatar Mar 28 '23 12:03 nb5846

This will be available in a tagged release of 1.52.1 or 1.53.0, depending on how many other things are added before the release. You can use it now by building Nestopia JG, which I have made quite easy for anyone with a development environment to do.

carmiker avatar Mar 28 '23 12:03 carmiker

OK. Thank you very much to you.

nb5846 avatar Mar 28 '23 13:03 nb5846