trunk/src/mame/machine/pgmprot_igs027a_type3.c
| r26121 | r26122 | |
| 216 | 216 | save_item(NAME(m_svg_latchdata_arm_w)); |
| 217 | 217 | } |
| 218 | 218 | |
| 219 | READ32_MEMBER(pgm_arm_type3_state::theglad_speedup_r ) |
| 220 | { |
| 221 | int pc = space.device().safe_pc(); |
| 222 | if (pc == 0x7c4) space.device().execute().eat_cycles(500); |
| 223 | //else printf("theglad_speedup_r %08x\n", pc); |
| 224 | return m_arm_ram2[0x00c/4]; |
| 225 | } |
| 219 | 226 | |
| 227 | |
| 220 | 228 | DRIVER_INIT_MEMBER(pgm_arm_type3_state,theglad) |
| 221 | 229 | { |
| 222 | 230 | svg_basic_init(); |
| r26121 | r26122 | |
| 368 | 376 | share16[i / 2] = 0x0002; |
| 369 | 377 | } |
| 370 | 378 | #endif |
| 379 | |
| 380 | machine().device("prot")->memory().space(AS_PROGRAM).install_read_handler(0x1000000c, 0x1000000f, read32_delegate(FUNC(pgm_arm_type3_state::theglad_speedup_r),this)); |
| 371 | 381 | } |
| 372 | 382 | |
| 373 | 383 | DRIVER_INIT_MEMBER(pgm_arm_type3_state,svg) |