private void timer_event(kmevent.KMEVENT _event, UInt32 curid, HESHES THIS_) { if (THIS_.hestim_START != 0 && THIS_.hestim_COUNTER-- == 0) { THIS_.hestim_COUNTER = THIS_.hestim_RELOAD; THIS_.ctx.iRequest |= (Int32)km6280.K6280_IRQ.K6280_TIMER; //Console.WriteLine("timerEvent"); THIS_.breaked = 0; } timer_setup(THIS_); }
public void vsync_event(kmevent.KMEVENT _event, UInt32 curid, HESHES THIS_) { vsync_setup(THIS_); if ((THIS_.hesvdc_CR & 8) != 0) { THIS_.ctx.iRequest |= (Int32)km6280.K6280_IRQ.K6280_INT1; //Console.WriteLine("vsyncEvent"); THIS_.breaked = 0; } THIS_.hesvdc_STATUS = 1; }