X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Fdos%2Ftimer.c;fp=src%2Fdos%2Ftimer.c;h=5492f0b654242fd454dc4ed9ffd9680548bb0350;hb=eac1e3782f789d71fe6e232065bf363def77ddf1;hp=2440bd581130294c134c1545bf96d99c11986bdb;hpb=41ed01ac9da8048d41bb030e75e93a4358963f59;p=dosdemo diff --git a/src/dos/timer.c b/src/dos/timer.c index 2440bd5..5492f0b 100644 --- a/src/dos/timer.c +++ b/src/dos/timer.c @@ -22,6 +22,7 @@ #include "pit8254.h" #include "inttypes.h" #include "util.h" +#include "dosutil.h" #define PIT_TIMER_INTR 8 #define DOS_TIMER_INTR 0x1c @@ -45,8 +46,6 @@ static void (INTERRUPT *prev_timer_intr)(); #define INTERRUPT static _go32_dpmi_seginfo intr, prev_intr; - -#define outp(p, v) outportb(p, v) #endif static void INTERRUPT timer_irq();