This commit is contained in:
David Haywood 2014-09-09 13:28:21 +00:00
parent 29a5a0446c
commit 3336444452

View File

@ -2765,6 +2765,8 @@ DRIVER_INIT_MEMBER(vamphalf_state,wyvernwg)
DRIVER_INIT_MEMBER(vamphalf_state,yorizori)
{
// seesm close to Final Godori in terms of port mappings, possibly a SemiCom game?
m_palshift = 0;
m_flip_bit = 1;
@ -2772,6 +2774,11 @@ DRIVER_INIT_MEMBER(vamphalf_state,yorizori)
m_semicom_prot_data[0] = 2;
m_semicom_prot_data[1] = 1;
UINT8 *romx = (UINT8 *)memregion("user1")->base();
// prevent code dying after a trap 33 by patching it out, why?
romx[BYTE4_XOR_BE(0x8ff0)] = 3;
romx[BYTE4_XOR_BE(0x8ff1)] = 0;
// Configure the QS1000 ROM banking. Care must be taken not to overlap the 256b internal RAM
machine().device("qs1000:cpu")->memory().space(AS_IO).install_read_bank(0x0100, 0xffff, "data");
membank("qs1000:data")->configure_entries(0, 16, memregion("qs1000:cpu")->base()+0x100, 0x8000-0x100);