Previous 15994 Revisions Next

r1570 Sunday 20th January, 2008 at 17:48:10 UTC by Wilbert Pol
[NES] Added support for mapper 202.
[docs]messnew.txt
[src/mess/machine]nes_mmc.c

src/mess/machine/nes_mmc.c
r1569r1570
43654365   }
43664366}
43674367
4368static WRITE8_HANDLER( mapper202_w )
4369{
4370   int   bank = ( offset >> 1 ) & 0x07;
4371
4372   LOG_MMC(("mapper202_w, offset: %04x, data: %02x\n", offset, data));
4373
4374   prg16_89ab( bank );
4375   prg16_cdef( bank + ( ( ( bank & 0x06 ) == 0x06 ) ? 1 : 0 ) );
4376   chr8( bank );
4377
4378   ppu2c0x_set_mirroring( 0, ( offset & 0x01 ) ? PPU_MIRROR_HORZ: PPU_MIRROR_VERT );
4379}
4380
43684381static WRITE8_HANDLER( mapper206_w )
43694382{
43704383   if ( (offset & 0x6001) == 0x2000 )
r1569r1570
49624975         prg32( 0 );
49634976         chr8( 0 );
49644977         break;
4978      case 202:
4979         prg16_89ab( 0 );
4980         prg16_cdef( 0 );
4981         chr8( 0 );
4982         break;
49654983      case 225:
49664984      case 226:
49674985      case 227:
r1569r1570
50805098   { 193, "Fighting Hero",         NULL, NULL, mapper193_m_w, NULL, NULL, NULL, NULL },
50815099   { 200, "X-in-1",            NULL, NULL, NULL, mapper200_w, NULL, NULL, NULL },
50825100   { 201, "X-in-1",            NULL, NULL, NULL, mapper201_w, NULL, NULL, NULL },
5101   { 202, "150-in-1",            NULL, NULL, NULL, mapper202_w, NULL, NULL, NULL },
50835102   { 206, "MMC3 no mirror",      NULL, NULL, NULL, mapper206_w, NULL, NULL, mapper4_irq },
50845103   { 225, "72-in-1 bootleg",      NULL, NULL, NULL, mapper225_w, NULL, NULL, NULL },
50855104   { 226, "76-in-1 bootleg",      NULL, NULL, NULL, mapper226_w, NULL, NULL, NULL },
docs/messnew.txt
r1569r1570
2222
2323- [NES] Added support for mappers 42, 43, 44, 45 (partial), 46, 47, 49,
2424  51 (partial), 57, 58, 61, 62, 112, 182, 188, 193 (not working), 200, 201,
25  206.
25  202, 206.
2626  [Wilbert Pol]
2727
2828- [ORIC] Fixed tape loading.  (bug #241) [Wilbert Pol]

Previous 15994 Revisions Next


© 1998-2018 The MESS Team