mirror of
https://github.com/libretro/mame2003-plus-libretro.git
synced 2026-11-07 04:16:07 -10:00
Phase 2.2/5 of the Sega VDP / segac2.c clean-up: the Mega-Tech BIOS, memory maps, inputs, machine drivers, ROMs and game drivers move from drivers/segac2.c to drivers/megatech.c. The Mega Drive part stays shared with the other Mega Drive based boards (includes/segac2.h); genesis_base now starts from the plain cartridge map, each board sets its own. - Sets, ROM names and dumps as in current MAME (good dumps of mt_bbros, mt_ggolf, mt_gng and mt_tetri), the instruction ROMs in the cart at 0x300000, titles and years as in current MAME. - The Master System carts run on the Mega Drive in Mark III mode, as in current MAME: the 68000 is off, the sound Z80 runs the cart with the Sega mapper, 8KB of RAM, the PSG and the VDP in mode 4 (the 315-5313 variant of the 315-5124 core of MAME). Astro Warrior, Great Golf, Shinobi, After Burner and Parlour Games work; Great Soccer is a bad dump (as in MAME). - The BIOS cart slots as in current MAME (the CXD1095 port E slot select, the banked RAM per slot, the 0x6000 bank latch and the 0x8000 window into the cart): the menu lists the cart in slot 1 only, not in all 8. - The BIOS display: the 315-5246 224 line mode the menu uses (the MENU title was cut), drawn line by line, its own palette levels. - The Mega Drive VDP line timing and partial updates count its own lines below the BIOS screen (segavdp line_scale; 1 for the other boards). - The H32 games are centred in the 320 pixel screen. - Mega Play: the BIOS overlay is transparent on colour 0 of both its palettes and covers its borders, as in current MAME (the boot logo screen was behind a green background). - Crash fix: the 68000 writes to 0xa02000-0xa03fff went to the Mega Play BIOS RAM pointer, NULL on the other boards (Great Golf crashed). The Mega Play handler moves to drivers/megaplay.c. - Save states: the Mega-Tech BIOS, the slots and the Mark III mode state. - Metadata: mame2003-plus.xml (Mega-Tech entries regenerated), CHANGELOG.md. Claude-Session: https://claude.ai/code/session_01N3fzdsnzkQVtgYtYzqepjX Co-authored-by: Claude <[email protected]>