Previous 15994 Revisions Next

r1552 Saturday 19th January, 2008 at 22:37:46 UTC by Wilbert Pol
[NES] Added support for mapper 47.
[docs]messnew.txt
[src/mess/machine]nes_mmc.c

src/mess/machine/nes_mmc.c
r1551r1552
30013001   chr8(MMC1_bank2);
30023002}
30033003
3004static WRITE8_HANDLER( mapper47_m_w )
3005{
3006   LOG_MMC(("mapper47_m_w, offset: %04x, data: %02x\n", offset, data ));
3007
3008   if ( offset == 0 ) {
3009      MMC3_prg_base = ( data & 0x01 ) << 4;
3010      MMC3_prg_mask = 0x0F;
3011      MMC3_chr_base = ( data & 0x01 ) << 7;
3012      MMC3_chr_mask = 0x7F;
3013      mapper4_set_prg();
3014      mapper4_set_chr();
3015   }
3016}
3017
30043018static WRITE8_HANDLER( mapper64_m_w )
30053019{
30063020   logerror("mapper64_m_w, offset: %04x, data: %02x\n", offset, data);
r1551r1552
44964510         memset( nes.wram, 0x2000, 0xFF );
44974511         break;
44984512      case 44:
4513      case 47:
44994514         IRQ_enable = 0;
45004515         IRQ_count = IRQ_count_latch = 0;
45014516         IRQ_reload = 0;
r1551r1552
46734688   { 42, "Mario Baby",            NULL, NULL, NULL, mapper42_w, NULL, NULL, NULL },
46744689   { 43, "150-in-1",            NULL, NULL, NULL, mapper43_w, NULL, NULL, NULL },
46754690   { 44, "7-in-1 MMC3",         NULL, NULL, NULL, mapper44_w, NULL, NULL, mapper4_irq },
4676   { 45, "X-in-1 MMC",            NULL, NULL, mapper45_m_w, mapper4_w, NULL, NULL, mapper4_irq },
4691   { 45, "X-in-1 MMC3",         NULL, NULL, mapper45_m_w, mapper4_w, NULL, NULL, mapper4_irq },
46774692   { 46, "15-in-1 Color Dreams",   NULL, NULL, mapper46_m_w, mapper46_w, NULL, NULL, NULL },
4693   { 47, "2-in-1 MMC3",         NULL, NULL, mapper47_m_w, mapper4_w, NULL, NULL, mapper4_irq },
46784694   { 64, "Tengen",               NULL, NULL, mapper64_m_w, mapper64_w, NULL, NULL, mapper4_irq },
46794695   { 65, "Irem H3001",            NULL, NULL, NULL, mapper65_w, NULL, NULL, irem_irq },
46804696   { 66, "74161/32 Jaleco",      NULL, NULL, NULL, mapper66_w, NULL, NULL, NULL },
docs/messnew.txt
r1551r1552
2020  instead of dip switches and updated it to use the default black and white
2121  palette.  [Dirk Best]
2222
23- [NES] Added support for mappers 42, 43, 44, 45 (partial), 46, 206.  [Wilbert Pol]
23- [NES] Added support for mappers 42, 43, 44, 45 (partial), 46, 47, 206.
24  [Wilbert Pol]
2425
2526- [ORIC] Fixed tape loading.  (bug #241) [Wilbert Pol]
2627

Previous 15994 Revisions Next


© 1998-2018 The MESS Team