|
|
| version 1.1, 2004/08/11 12:08:16 | version 1.3, 2005/02/04 06:42:07 |
|---|---|
| Line 4 enum { | Line 4 enum { |
| NEVENT_MAXCLOCK = 0x400000, | NEVENT_MAXCLOCK = 0x400000, |
| NEVENT_FRAMES = 0, | NEVENT_FRAMES = 0, |
| NEVENT_TIME = 1, | NEVENT_RTC = 1, |
| NEVENT_FDC = 2, | NEVENT_FDC = 2, |
| NEVENT_CTC0 = 3, | NEVENT_CTC0 = 3, |
| NEVENT_CTC1 = 4, | NEVENT_CTC1 = 4, |
| Line 20 typedef struct _neventitem _NEVENTITEM; | Line 20 typedef struct _neventitem _NEVENTITEM; |
| typedef struct _neventitem *NEVENTITEM; | typedef struct _neventitem *NEVENTITEM; |
| typedef void (*NEVENTCB)(UINT id); | typedef void (*NEVENTCB)(UINT id); |
| #define NEVENTITEM_NONE ((NEVENTITEM)-1) | |
| #define NEVENTITEM_TERM ((NEVENTITEM)0) | |
| struct _neventitem { | struct _neventitem { |
| NEVENTITEM next; | |
| SINT32 clock; | SINT32 clock; |
| SINT32 baseclock; | SINT32 baseclock; |
| NEVENTCB proc; | NEVENTCB proc; |
| UINT32 param; | |
| }; | }; |
| typedef struct { | typedef struct { |
| UINT readyevents; | |
| UINT level[NEVENT_MAXEVENTS]; | |
| _NEVENTITEM item[NEVENT_MAXEVENTS]; | _NEVENTITEM item[NEVENT_MAXEVENTS]; |
| NEVENTITEM first; | |
| } _NEVENT, *NEVENT; | } _NEVENT, *NEVENT; |