Changed event and ticker handlers.
Removed the micro timers. Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1657
This commit is contained in:
parent
3001a346b2
commit
44464a2a53
9 changed files with 51 additions and 97 deletions
|
@ -26,7 +26,7 @@ extern Bits CPU_CycleLeft;
|
|||
extern Bits CPU_CycleMax;
|
||||
|
||||
typedef void (PIC_EOIHandler) (void);
|
||||
typedef void (* PIC_EventHandler)(void);
|
||||
typedef void (* PIC_EventHandler)(Bitu val);
|
||||
|
||||
|
||||
#define PIC_MAXIRQ 15
|
||||
|
@ -59,7 +59,7 @@ void PIC_RegisterIRQ(Bitu irq,PIC_EOIHandler handler,char * name);
|
|||
void PIC_FreeIRQ(Bitu irq);
|
||||
bool PIC_RunQueue(void);
|
||||
|
||||
void PIC_AddEvent(PIC_EventHandler handler,Bitu delay);
|
||||
void PIC_AddEvent(PIC_EventHandler handler,Bitu delay,Bitu val=0);
|
||||
|
||||
void PIC_RemoveEvents(PIC_EventHandler handler);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue