Previous 199869 Revisions Next

r32676 Sunday 12th October, 2014 at 04:49:51 UTC by David Haywood
better (nw)
[src/mame/drivers]seicross.c

trunk/src/mame/drivers/seicross.c
r32675r32676
591591   UINT8 *ROM = memregion("mcu")->base();
592592   address_space &space = m_mcu->space(AS_PROGRAM);
593593   // this code is in ROM 6.3h, maps to MCU at dxxx
594   // if you cheat and use the code from another set it works
595594   for (int i = 0; i < 0x8000; i++)
596595   {
597      ROM[i] = BITSWAP8(ROM[i + 0x8000], 6, 7, 5, 4, 3, 2, 1, 0);
598   
599      int data = ROM[i];
600      if (data == 0x4e) data = 0x4d;
601      //else if (data == 0x41) data = 0x45;
602      else if (data == 0x46) data = 0x45;
603      else if (data == 0x57) data = 0x57;
604      //else if (data == 0x76) data = 0x7e;
605      else if (data == 0xce) data = 0xcd;
606      else if (data == 0xdf) data = 0xdf;
607
608      ROM[i] = data;
596      ROM[i] = BITSWAP8(ROM[i + 0x8000], 6, 7, 5, 4, 3, 2, 0, 1);
609597   }
610598
611599   space.set_decrypted_region(0x8000, 0xffff, ROM);
r32675r32676
614602
615603GAME( 1981, friskyt,  0,        nvram,    friskyt, driver_device,  0,        ROT0,  "Nichibutsu", "Frisky Tom (set 1)", GAME_NO_COCKTAIL )
616604GAME( 1981, friskyta, friskyt,  nvram,    friskyt, driver_device,  0,        ROT0,  "Nichibutsu", "Frisky Tom (set 2)", GAME_NO_COCKTAIL )
617GAME( 1981, friskytb, friskyt,  nvram,    friskyt, seicross_state, friskytb, ROT0,  "Nichibutsu", "Frisky Tom (set 3, encrypted?)", GAME_NOT_WORKING ) // protection code seems to be encrypted?
605GAME( 1981, friskytb, friskyt,  nvram,    friskyt, seicross_state, friskytb, ROT0,  "Nichibutsu", "Frisky Tom (set 3, encrypted)", GAME_NOT_WORKING ) // protection mcu runs encrypted opcodes
618606GAME( 1982, radrad,   0,        no_nvram, radrad, driver_device,   0,        ROT0,  "Nichibutsu USA", "Radical Radial", GAME_NO_COCKTAIL )
619607GAME( 1984, seicross, 0,        no_nvram, seicross, driver_device, 0,        ROT90, "Nichibutsu / Alice", "Seicross", GAME_NO_COCKTAIL )
620608GAME( 1984, sectrzon, seicross, no_nvram, seicross, driver_device, 0,        ROT90, "Nichibutsu / Alice", "Sector Zone", GAME_NO_COCKTAIL )

Previous 199869 Revisions Next


© 1997-2024 The MAME Team