trunk/src/mame/machine/pgmprot_igs027a_type3.c
| r26150 | r26151 | |
| 265 | 265 | // behavior is basically the same as killing blade plus here, this code |
| 266 | 266 | // could be very wrong |
| 267 | 267 | base = 0x30; |
| 268 | | temp16[(base) /2] = 0x00D3; base += 2; |
| 269 | | temp16[(base) /2] = 0xE3A0; base += 2; |
| 270 | | temp16[(base) /2] = 0xF000; base += 2; |
| 271 | | temp16[(base) /2] = 0xE121; base += 2; |
| 272 | | temp16[(base) /2] = 0x1A01; base += 2; |
| 273 | | temp16[(base) /2] = 0xE3A0; base += 2; |
| 274 | | temp16[(base) /2] = 0x2B01; base += 2; |
| 275 | | temp16[(base) /2] = 0xE3A0; base += 2; |
| 276 | | temp16[(base) /2] = 0xD801; base += 2; |
| 277 | | temp16[(base) /2] = 0xE082; base += 2; |
| 268 | |
| 278 | 269 | temp16[(base) /2] = 0x00D2; base += 2; |
| 279 | 270 | temp16[(base) /2] = 0xE3A0; base += 2; |
| 280 | 271 | temp16[(base) /2] = 0xF000; base += 2; |
| r26150 | r26151 | |
| 348 | 339 | temp16[(base) /2] = 0x6000; base += 2; |
| 349 | 340 | temp16[(base) /2] = 0xE587; base += 2; |
| 350 | 341 | |
| 351 | | |
| 352 | | temp16[(base) /2] = 0x002b; base += 2; // jump to 0x184 |
| 342 | // set the SR13 to something sensible |
| 343 | temp16[(base) /2] = 0x00D3; base += 2; |
| 344 | temp16[(base) /2] = 0xE3A0; base += 2; |
| 345 | temp16[(base) /2] = 0xF000; base += 2; |
| 346 | temp16[(base) /2] = 0xE121; base += 2; |
| 347 | temp16[(base) /2] = 0x4001; base += 2; |
| 348 | temp16[(base) /2] = 0xE3A0; base += 2; |
| 349 | temp16[(base) /2] = 0x4B06; base += 2; |
| 350 | temp16[(base) /2] = 0xE284; base += 2; |
| 351 | temp16[(base) /2] = 0x0CF2; base += 2; |
| 352 | temp16[(base) /2] = 0xE3A0; base += 2; |
| 353 | temp16[(base) /2] = 0xD804; base += 2; |
| 354 | temp16[(base) /2] = 0xE080; base += 2; |
| 355 | |
| 356 | temp16[(base) /2] = 0x0013; base += 2; |
| 357 | temp16[(base) /2] = 0xE3A0; base += 2; |
| 358 | temp16[(base) /2] = 0xF000; base += 2; |
| 359 | temp16[(base) /2] = 0xE121; base += 2; |
| 360 | |
| 361 | |
| 362 | |
| 363 | temp16[(base) /2] = 0x0028; base += 2; // jump to 0x184 |
| 353 | 364 | temp16[(base) /2] = 0xEA00; base += 2; |
| 354 | 365 | |
| 355 | 366 | |
| r26150 | r26151 | |
| 412 | 423 | |
| 413 | 424 | // this is the location of the region in the internal rom, for some reaosn Japan doesn't play attract music (original game feature? bad code flow?) |
| 414 | 425 | base = 0x3316; |
| 415 | | temp16[(base) / 2] = 0x0005; base += 2; |
| 426 | temp16[(base) / 2] = 0x0006; base += 2; |
| 416 | 427 | |
| 417 | 428 | |
| 418 | 429 | #if 0 |