Previous 15994 Revisions Next

r1568 Sunday 20th January, 2008 at 17:37:33 UTC by Wilbert Pol
[NES] Added support for mapper 200.
[docs]messnew.txt
[src/mess/machine]nes_mmc.c

src/mess/machine/nes_mmc.c
r1567r1568
43414341   }
43424342}
43434343
4344static WRITE8_HANDLER( mapper200_w )
4345{
4346   LOG_MMC(("mapper200_w, offset: %04x, data: %02x\n", offset, data ));
4347
4348   prg16_89ab( offset & 0x07 );
4349   prg16_cdef( offset & 0x07 );
4350   chr8( offset & 0x07 );
4351   
4352   ppu2c0x_set_mirroring( 0, ( offset & 0x08 ) ? PPU_MIRROR_HORZ : PPU_MIRROR_VERT );
4353}
4354
43444355static WRITE8_HANDLER( mapper206_w )
43454356{
43464357   if ( (offset & 0x6001) == 0x2000 )
r1567r1568
49304941      case 193:
49314942         prg32( ( nes.prg_chunks - 1 ) >> 1 );
49324943         break;
4944      case 200:
4945         prg16_89ab( nes.prg_chunks - 1 );
4946         prg16_cdef( nes.prg_chunks - 1 );
4947         break;
49334948      case 225:
49344949      case 226:
49354950      case 227:
r1567r1568
50465061   { 184, "Sunsoft VROM/4K",      NULL, NULL, mapper184_m_w, NULL, NULL, NULL, NULL },
50475062   { 188, "UNROM reversed",      NULL, NULL, NULL, mapper188_w, NULL, NULL, NULL },
50485063   { 193, "Fighting Hero",         NULL, NULL, mapper193_m_w, NULL, NULL, NULL, NULL },
5064   { 200, "X-in-1",            NULL, NULL, NULL, mapper200_w, NULL, NULL, NULL },
50495065   { 206, "MMC3 no mirror",      NULL, NULL, NULL, mapper206_w, NULL, NULL, mapper4_irq },
50505066   { 225, "72-in-1 bootleg",      NULL, NULL, NULL, mapper225_w, NULL, NULL, NULL },
50515067   { 226, "76-in-1 bootleg",      NULL, NULL, NULL, mapper226_w, NULL, NULL, NULL },
docs/messnew.txt
r1567r1568
2121  palette.  [Dirk Best]
2222
2323- [NES] Added support for mappers 42, 43, 44, 45 (partial), 46, 47, 49,
24  51 (partial), 57, 58, 61, 62, 112, 182, 188, 193 (not working), 206.
24  51 (partial), 57, 58, 61, 62, 112, 182, 188, 193 (not working), 200, 206.
2525  [Wilbert Pol]
2626
2727- [ORIC] Fixed tape loading.  (bug #241) [Wilbert Pol]

Previous 15994 Revisions Next


© 1998-2018 The MESS Team