Previous 199869 Revisions Next

r32022 Tuesday 9th September, 2014 at 13:28:21 UTC by David Haywood
(nw)
[src/mame/drivers]vamphalf.c

trunk/src/mame/drivers/vamphalf.c
r32021r32022
27652765
27662766DRIVER_INIT_MEMBER(vamphalf_state,yorizori)
27672767{
2768   // seesm close to Final Godori in terms of port mappings, possibly a SemiCom game?
2769
27682770   m_palshift = 0;
27692771   m_flip_bit = 1;
27702772
r32021r32022
27722774   m_semicom_prot_data[0] = 2;
27732775   m_semicom_prot_data[1] = 1;
27742776
2777   UINT8 *romx = (UINT8 *)memregion("user1")->base();
2778   // prevent code dying after a trap 33 by patching it out, why?
2779   romx[BYTE4_XOR_BE(0x8ff0)] = 3;
2780   romx[BYTE4_XOR_BE(0x8ff1)] = 0;
2781
27752782   // Configure the QS1000 ROM banking. Care must be taken not to overlap the 256b internal RAM
27762783   machine().device("qs1000:cpu")->memory().space(AS_IO).install_read_bank(0x0100, 0xffff, "data");
27772784   membank("qs1000:data")->configure_entries(0, 16, memregion("qs1000:cpu")->base()+0x100, 0x8000-0x100);

Previous 199869 Revisions Next


© 1997-2024 The MAME Team