--- np2/nevent.c 2003/10/19 14:56:15 1.2 +++ np2/nevent.c 2003/12/01 17:13:36 1.5 @@ -85,13 +85,14 @@ void nevent_progress(void) { } item->flag |= NEVENT_SETEVENT; item->flag &= ~(NEVENT_ENABLE); +// TRACEOUT(("event = %x", curid)); } } nevent.readyevents = eventnum; I286_BASECLOCK = nextbase; I286_REMCLOCK += nextbase; nevent_execute(); -// TRACEOUT((buf, "nextbase = %d (%d)", nextbase, I286_REMCLOCK)); +// TRACEOUT(("nextbase = %d (%d)", nextbase, I286_REMCLOCK)); } @@ -142,6 +143,8 @@ void nevent_set(UINT id, SINT32 eventclo UINT eventid; UINT i; +// TRACEOUT(("event %d - %xclocks", id, eventclock)); + clock = I286_BASECLOCK - I286_REMCLOCK; item = &nevent.item[id]; item->proc = proc; @@ -208,7 +211,7 @@ SINT32 nevent_getremain(UINT id) { // 現在進行してるイベントを検索 for (i=0; i