mirror of
https://github.com/holub/mame
synced 2025-07-01 08:18:59 +03:00
(nw)
This commit is contained in:
parent
29a5a0446c
commit
3336444452
@ -2765,6 +2765,8 @@ DRIVER_INIT_MEMBER(vamphalf_state,wyvernwg)
|
|||||||
|
|
||||||
DRIVER_INIT_MEMBER(vamphalf_state,yorizori)
|
DRIVER_INIT_MEMBER(vamphalf_state,yorizori)
|
||||||
{
|
{
|
||||||
|
// seesm close to Final Godori in terms of port mappings, possibly a SemiCom game?
|
||||||
|
|
||||||
m_palshift = 0;
|
m_palshift = 0;
|
||||||
m_flip_bit = 1;
|
m_flip_bit = 1;
|
||||||
|
|
||||||
@ -2772,6 +2774,11 @@ DRIVER_INIT_MEMBER(vamphalf_state,yorizori)
|
|||||||
m_semicom_prot_data[0] = 2;
|
m_semicom_prot_data[0] = 2;
|
||||||
m_semicom_prot_data[1] = 1;
|
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
|
// 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");
|
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);
|
membank("qs1000:data")->configure_entries(0, 16, memregion("qs1000:cpu")->base()+0x100, 0x8000-0x100);
|
||||||
|
Loading…
Reference in New Issue
Block a user