trunk/src/mame/machine/pgmprot_igs027a_type3.c
| r26114 | r26115 | |
| 220 | 220 | pgm_theglad_decrypt(machine()); |
| 221 | 221 | svg_latch_init(); |
| 222 | 222 | pgm_create_dummy_internal_arm_region(0x188); |
| 223 | |
| 224 | UINT16 *temp16 = (UINT16 *)memregion("prot")->base(); |
| 225 | |
| 226 | temp16[(0xe8)/2] = 0xE004; // based on killbldp |
| 227 | temp16[(0xea)/2] = 0xE52D; |
| 228 | temp16[(0xec)/2] = 0x00D3; |
| 229 | temp16[(0xee)/2] = 0xE3A0; |
| 230 | temp16[(0xf0)/2] = 0xF000; |
| 231 | temp16[(0xf2)/2] = 0xE121; |
| 232 | temp16[(0xf4)/2] = 0xE004; |
| 233 | temp16[(0xf6)/2] = 0xE49D; |
| 234 | temp16[(0xf8)/2] = 0xFF1E; |
| 235 | temp16[(0xfa)/2] = 0xE12F; |
| 236 | |
| 237 | temp16[(0xfc) / 2] = 0xE004;// based on killbldp |
| 238 | temp16[(0xfe) / 2] = 0xE52D; |
| 239 | temp16[(0x100) / 2] = 0x0013; |
| 240 | temp16[(0x102) / 2] = 0xE3A0; |
| 241 | temp16[(0x104) / 2] = 0xF000; |
| 242 | temp16[(0x106) / 2] = 0xE121; |
| 243 | temp16[(0x108) / 2] = 0xE004; |
| 244 | temp16[(0x10a) / 2] = 0xE49D; |
| 245 | temp16[(0x10c) / 2] = 0xFF1E; |
| 246 | temp16[(0x10e) / 2] = 0xE12F; |
| 247 | |
| 248 | |
| 249 | // the interrupt code appears to be at 0x08000010 |
| 250 | // although this still crashes for now.. |
| 251 | |
| 252 | temp16[(0x14) / 2] = 0x0010; |
| 253 | temp16[(0x16) / 2] = 0x0800; |
| 254 | |
| 255 | temp16[(0x18) / 2] = 0x0014; |
| 256 | temp16[(0x1a) / 2] = 0x0000; |
| 257 | |
| 258 | |
| 259 | |
| 260 | |
| 261 | |
| 262 | temp16[(0x1c) / 2] = 0x500F; |
| 263 | temp16[(0x1e) / 2] = 0xE92D; |
| 264 | temp16[(0x20) / 2] = 0x0010; |
| 265 | temp16[(0x22) / 2] = 0xE51F; |
| 266 | temp16[(0x24) / 2] = 0x0000; |
| 267 | temp16[(0x26) / 2] = 0xE590; |
| 268 | temp16[(0x28) / 2] = 0xE00F; |
| 269 | temp16[(0x2a) / 2] = 0xE1A0; |
| 270 | temp16[(0x2c) / 2] = 0xFF10; |
| 271 | temp16[(0x2e) / 2] = 0xE12F; |
| 272 | |
| 273 | |
| 274 | |
| 275 | |
| 223 | 276 | } |
| 224 | 277 | |
| 225 | 278 | DRIVER_INIT_MEMBER(pgm_arm_type3_state,svg) |