Previous 199869 Revisions Next

r26122 Tuesday 12th November, 2013 at 18:52:59 UTC by David Haywood
idle skip for theglad .. still don't understand current behavior tho, code is very similar in places to killbldp.. (nw)
[src/mame/includes]pgm.h
[src/mame/machine]pgmprot_igs027a_type3.c

trunk/src/mame/includes/pgm.h
r26121r26122
382382   DECLARE_READ32_MEMBER( dmnfrnt_speedup_r );
383383   DECLARE_READ16_MEMBER( dmnfrnt_main_speedup_r );
384384   DECLARE_READ32_MEMBER( killbldp_speedup_r );
385   DECLARE_READ32_MEMBER( theglad_speedup_r );
385386};
386387
387388
trunk/src/mame/machine/pgmprot_igs027a_type3.c
r26121r26122
216216   save_item(NAME(m_svg_latchdata_arm_w));
217217}
218218
219READ32_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}
219226
227
220228DRIVER_INIT_MEMBER(pgm_arm_type3_state,theglad)
221229{
222230   svg_basic_init();
r26121r26122
368376      share16[i / 2] = 0x0002;
369377   }
370378#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));
371381}
372382
373383DRIVER_INIT_MEMBER(pgm_arm_type3_state,svg)

Previous 199869 Revisions Next


© 1997-2024 The MAME Team