static READ8_HANDLER ( combasc_YM2203_status_port_0_r ) { static int boost = 1; int status = YM2203_status_port_0_r(machine,0); if (activecpu_get_pc() == 0x334) { if (boost) { boost = 0; timer_adjust_periodic(combasc_interleave_timer, attotime_zero, 0, ATTOTIME_IN_CYCLES(80,1)); } else if (status & 2) { boost = 1; timer_adjust_oneshot(combasc_interleave_timer, attotime_zero, 0); } } return(status); }
static READ8_HANDLER ( combasc_YM2203_status_port_0_r ) { static int boost = 1; int status = YM2203_status_port_0_r(0); if (activecpu_get_pc() == 0x334) { if (boost) { boost = 0; timer_adjust(combasc_interleave_timer, TIME_NOW, 0, TIME_IN_CYCLES(80,1)); } else if (status & 2) { boost = 1; timer_adjust(combasc_interleave_timer, TIME_NOW, 0, TIME_NEVER); } } return(status); }
static READ16_HANDLER( pkscramble_YM2203_r ) { return YM2203_status_port_0_r(0); }
static READ_HANDLER( kiki_2203_r ) { return YM2203_status_port_0_r(0) & 0x7f; }
//AT static READ8_HANDLER( kiki_2203_r ) { return(YM2203_status_port_0_r(0) & 0x7f); }