trunk/src/mame/machine/stvprot.c
| r21069 | r21070 | |
| 113 | 113 | * |
| 114 | 114 | ************************/ |
| 115 | 115 | |
| 116 | /* |
| 117 | 0x200214 |
| 118 | 0x20de94 |
| 119 | wpset 0x200214,0x20de94-0x200214,r |
| 120 | dump twcup98.dmp,0x200214,0x20de94-0x200214,4,0,0 |
| 121 | protection tests the data 0x201220 at |
| 122 | bp 0x6009a9e |
| 123 | with 0x60651f8 |
| 124 | */ |
| 125 | |
| 126 | static UINT32 twcup_prot_data[8] = |
| 127 | { |
| 128 | 0x23232323, 0x23232323, 0x4c4c4c4c, 0x4c156301 |
| 129 | }; |
| 130 | |
| 116 | 131 | static READ32_HANDLER( twcup98_prot_r ) |
| 117 | 132 | { |
| 118 | 133 | UINT32 *ROM = (UINT32 *)space.machine().root_device().memregion("abus")->base(); |
| r21069 | r21070 | |
| 139 | 154 | res = ROM[ctrl_index / 4] & 0xffff0000; |
| 140 | 155 | res |= ROM[ctrl_index / 4] & 0xffff; |
| 141 | 156 | } |
| 157 | |
| 158 | if(ctrl_index >= 0xD215A4+0x100c && ctrl_index < 0xD215A4+0x100c+8*4) |
| 159 | res = twcup_prot_data[(ctrl_index-(0xD215A4+0x100c))/4]; |
| 160 | |
| 142 | 161 | ctrl_index+=4; |
| 143 | 162 | return res; |
| 144 | 163 | } |
trunk/src/mame/drivers/stv.c
| r21069 | r21070 | |
| 2835 | 2835 | GAME( 1997, znpwfv, stvbios, stv, stv, saturn_state, znpwfv, ROT0, "Sega", "Zen Nippon Pro-Wrestling Featuring Virtua (J 971123 V1.000)", GAME_IMPERFECT_SOUND | GAME_IMPERFECT_GRAPHICS ) |
| 2836 | 2836 | |
| 2837 | 2837 | /* Almost */ |
| 2838 | | GAME( 1998, twcup98, stvbios, stv, stv, saturn_state, twcup98, ROT0, "Tecmo", "Tecmo World Cup '98 (JUET 980410 V1.000)", GAME_UNEMULATED_PROTECTION | GAME_IMPERFECT_SOUND | GAME_IMPERFECT_GRAPHICS|GAME_NOT_WORKING ) // player movement |
| 2838 | GAME( 1998, twcup98, stvbios, stv, stv, saturn_state, twcup98, ROT0, "Tecmo", "Tecmo World Cup '98 (JUET 980410 V1.000)", GAME_UNEMULATED_PROTECTION | GAME_IMPERFECT_SOUND | GAME_IMPERFECT_GRAPHICS ) |
| 2839 | 2839 | GAME( 1998, elandore, stvbios, stv, stv6b, saturn_state, elandore, ROT0, "Sai-Mate", "Touryuu Densetsu Elan-Doree / Elan Doree - Legend of Dragoon (JUET 980922 V1.006)", GAME_NOT_WORKING | GAME_UNEMULATED_PROTECTION | GAME_IMPERFECT_SOUND | GAME_IMPERFECT_GRAPHICS ) |
| 2840 | 2840 | |
| 2841 | 2841 | /* Unemulated printer / camera devices */ |