tzlion / hhugboy

A Game Boy (Color) emulator for Windows, based on GEST v1.1.1 by TM, with added support for unlicensed mappers, Unicode filenames, screenshots and some other stuff.
http://hhug.me/
GNU General Public License v2.0
77 stars 10 forks source link

Add support for optional bootstrap ROM files, add and improve mapper support #42

Closed NRS-NewRisingSun closed 4 years ago

NRS-NewRisingSun commented 4 years ago
  1. Adds support for optional bootstrap ROMs. They must be named cgb_boot.bin and dmg_boot.bin (same as with other emulators, such as SameBoy), and be placed into the same directory as the emulator executable. If they exist, they will be loaded when the emulator launches, and used when the new menu option "System->Use Bootstrap ROM if available" is checked.
  2. Rewrites the MMM01 mapper emulation, providing full support, but only for correctly-dumped ROM images with the menu at the end of the ROM file, as they are found in the No-Intro set.
  3. Adds support for the new mappers Sachen MMC1 ("SAM1"), Sachen MMC2 ("SAM2"), "M161" (used on the first Mani 4-in-1), Rocket Games ("ROCK") and Wisdom Tree ("WISD"), along with their corresponding GBX mapper FourCCs. All games appear to work correctly, except for:
    • Rocman X (Taiwanese version): Fails some internal checksum check; "Thunder Blaster Man" version works.
    • Space Invasion: Hangs before the start of a level for reasons unrelated to mapper support -- the homebrew release of the game, which uses a normal MBC mapper, has the same problem.

Accurate logo substitution by the Sachen Mapper is emulated. The Rocket Games mapper's actual logo substitution method is unknown; I tentatively replicate the logic from the Sachen MMC2 and use a XOR table (rather than the actual logo data) to return the Nintendo logo when necessary.