Previous 15994 Revisions Next

r1575 Sunday 20th January, 2008 at 19:38:32 UTC by Wilbert Pol
[NES] Added support for mapper 242.
[docs]messnew.txt
[src/mess/machine]nes_mmc.c

src/mess/machine/nes_mmc.c
r1574r1575
46454645   prg32( data );
46464646}
46474647
4648static WRITE8_HANDLER( mapper242_w )
4649{
4650   LOG_MMC(("mapper242_w, offset: %04x, data: %02x\n", offset, data));
4651
4652   prg32( ( offset >> 3 ) & 0x0F );
4653
4654   switch( data & 0x03 ) {
4655   case 0:
4656      ppu2c0x_set_mirroring( 0, PPU_MIRROR_VERT );
4657      break;
4658   case 1:
4659      ppu2c0x_set_mirroring( 0, PPU_MIRROR_HORZ );
4660      break;
4661   case 2:
4662   case 3:
4663      /* TODO: other mirroring bits */
4664      break;
4665   }
4666}
4667
46484668/*
46494669// mapper_reset
46504670//
r1574r1575
50695089         break;
50705090      case 240:
50715091      case 241:
5092      case 242:
50725093         prg32(0);
50735094         break;
50745095      default:
r1574r1575
51925213// 234 - maxi-15
51935214   { 240, "Jing Ke Xin Zhuan",      mapper240_l_w, NULL, NULL, NULL, NULL, NULL, NULL },
51945215   { 241, "Education 18-in-1",      NULL, mapper241_l_r, NULL, mapper241_w, NULL, NULL, NULL },
5216   { 242, "Wai Xing Zhan Shi",      NULL, NULL, NULL, mapper242_w, NULL, NULL, NULL },
51955217};
51965218
51975219
docs/messnew.txt
r1574r1575
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  202, 203, 206, 240, 241 (partial).
25  202, 203, 206, 240, 241 (partial), 242.
2626  [Wilbert Pol]
2727
2828- [ORIC] Fixed tape loading.  (bug #241) [Wilbert Pol]

Previous 15994 Revisions Next


© 1998-2018 The MESS Team