trunk/src/mame/drivers/vamphalf.c
| r32021 | r32022 | |
| 2765 | 2765 | |
| 2766 | 2766 | DRIVER_INIT_MEMBER(vamphalf_state,yorizori) |
| 2767 | 2767 | { |
| 2768 | // seesm close to Final Godori in terms of port mappings, possibly a SemiCom game? |
| 2769 | |
| 2768 | 2770 | m_palshift = 0; |
| 2769 | 2771 | m_flip_bit = 1; |
| 2770 | 2772 | |
| r32021 | r32022 | |
| 2772 | 2774 | m_semicom_prot_data[0] = 2; |
| 2773 | 2775 | m_semicom_prot_data[1] = 1; |
| 2774 | 2776 | |
| 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 | |
| 2775 | 2782 | // Configure the QS1000 ROM banking. Care must be taken not to overlap the 256b internal RAM |
| 2776 | 2783 | machine().device("qs1000:cpu")->memory().space(AS_IO).install_read_bank(0x0100, 0xffff, "data"); |
| 2777 | 2784 | membank("qs1000:data")->configure_entries(0, 16, memregion("qs1000:cpu")->base()+0x100, 0x8000-0x100); |