mirror of
https://github.com/libretro/mame2003-plus-libretro.git
synced 2026-11-07 04:16:07 -10:00
- machine/megadriv.c / includes/megadriv.h: the Mega Drive part shared by the Mega-Tech, Mega Play, bootleg, Y-BOX and Sun Mixing boards (the VDP interrupts, also used by System C/C2, the sound Z80 and its bus, the I/O, the machine drivers), moved out of segac2.c; the Mega-Tech / Mega Play BIOS VDP ports go to megatech.c, its interrupt to megaplay.c; dead code removed (the unused cart maps, inputs and I/O init) - segac2.c: only System C/C2, with the sets, ROMs, titles, inputs and DIP switches of current MAME (57 sets instead of 32; puyopuyo/puyopuya/puyopuyb are now puyoj/puyoja/puyobl, columns2 and stkclmns (Japan) are now column2j and stkclmnsj, with the World sets as parents) - the protection chip as the EPM5032 logic of each game of current MAME (identical to the old tables where they were real; Ribbit!, Poto Poto and Puyo Puyo 2 had fake tables and workarounds) - the alternate palette mode of Ribbit! and Twin Squash (control bit 2), through palette lookups in the VDP, instead of watching Ribbit! ROM reads - the 68000 at XL2/6 (8.95 MHz) and the refresh at 59.92 Hz as in current MAME (it was XL2/7 and 60 Hz); V-INT and H-INT held until the 68000 acknowledges them, as on the board - YM2612/YM3438 (shared): the busy flag for 192 clocks after a data write, and a timer started long after its last overflow runs a whole period, as in current MAME - Mega Play: the BIOS VDP V-INT about 12 lines after the Mega Drive VBLANK, as in current MAME (Tecmo World Cup could stay on a black screen) - Mega Play / System E: the BIOS VDP tile lines read byte by byte (wrong colours on big-endian hosts) - the address mirrors, the battery-backed work RAM (0xff filled), the coin meters on the I/O chip, the Waku Waku Marine / Anpanman wheel - save states: the alternate palette mode and the Bloxeed YM3438 kludge - metadata/mame2003-plus.xml, CHANGELOG.md Claude-Session: https://claude.ai/code/session_01N3fzdsnzkQVtgYtYzqepjX Co-authored-by: Claude <[email protected]>