Previous 15994 Revisions Next

r1567 Sunday 20th January, 2008 at 17:31:46 UTC by Wilbert Pol
[NES] Added partial support for mapper 193 (not working).
[docs]messnew.txt
[src/mess/machine]nes_mmc.c

src/mess/machine/nes_mmc.c
r1566r1567
1010   . 82 has chr-rom banking problems. Also mapper is in the middle of sram, which is unemulated.
1111   . 96 is preliminary.
1212   . 118 mirroring is a guess, chr-rom banking is likely different
13   . 193 Missing PPU feature?
1314   . 228 seems wrong
1415   . 229 is preliminary
1516
r1566r1567
43204321   prg16_89ab( data ^ 0x08 );
43214322}
43224323
4324static WRITE8_HANDLER( mapper193_m_w )
4325{
4326   LOG_MMC(("mapper193_m_w, offset: %04x, data: %02x\n", offset, data ));
4327
4328   switch( offset & 0x03 ) {
4329   case 0:
4330      chr4_0( data >> 2 );
4331      break;
4332   case 1:
4333      chr2_4( data >> 1 );
4334      break;
4335   case 2:
4336      chr2_6( data >> 1 );
4337      break;
4338   case 3:
4339      prg16_89ab( data );
4340      break;
4341   }
4342}
4343
43234344static WRITE8_HANDLER( mapper206_w )
43244345{
43254346   if ( (offset & 0x6001) == 0x2000 )
r1566r1567
49064927         prg16_89ab( 0 );
49074928         prg16_cdef( ( nes.prg_chunks - 1 ) ^ 0x08 );
49084929         break;
4930      case 193:
4931         prg32( ( nes.prg_chunks - 1 ) >> 1 );
4932         break;
49094933      case 225:
49104934      case 226:
49114935      case 227:
r1566r1567
50215045   { 182, "Super games",         NULL, NULL, NULL, mapper182_w, NULL, NULL, mapper182_irq },
50225046   { 184, "Sunsoft VROM/4K",      NULL, NULL, mapper184_m_w, NULL, NULL, NULL, NULL },
50235047   { 188, "UNROM reversed",      NULL, NULL, NULL, mapper188_w, NULL, NULL, NULL },
5048   { 193, "Fighting Hero",         NULL, NULL, mapper193_m_w, NULL, NULL, NULL, NULL },
50245049   { 206, "MMC3 no mirror",      NULL, NULL, NULL, mapper206_w, NULL, NULL, mapper4_irq },
50255050   { 225, "72-in-1 bootleg",      NULL, NULL, NULL, mapper225_w, NULL, NULL, NULL },
50265051   { 226, "76-in-1 bootleg",      NULL, NULL, NULL, mapper226_w, NULL, NULL, NULL },
docs/messnew.txt
r1566r1567
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, 206.
24  51 (partial), 57, 58, 61, 62, 112, 182, 188, 193 (not working), 206.
2525  [Wilbert Pol]
2626
2727- [ORIC] Fixed tape loading.  (bug #241) [Wilbert Pol]

Previous 15994 Revisions Next


© 1998-2018 The MESS Team