projects
/
retroray
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
stop appending repeat keys to the input buffer
[retroray]
/
src
/
dos
/
timer.c
diff --git
a/src/dos/timer.c
b/src/dos/timer.c
index
5492f0b
..
1bac207
100644
(file)
--- a/
src/dos/timer.c
+++ b/
src/dos/timer.c
@@
-1,8
+1,3
@@
-/* for sound we use MIDAS, which takes over the PIT and we can't use it
- * therefore only compile this file for NO_SOUND builds.
- */
-#ifdef NO_SOUND
-
#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
@@
-20,7
+15,7
@@
#endif
#include "pit8254.h"
#endif
#include "pit8254.h"
-#include "inttypes.h"
+#include "sizeint.h"
#include "util.h"
#include "dosutil.h"
#include "util.h"
#include "dosutil.h"
@@
-178,5
+173,3
@@
static void INTERRUPT timer_irq()
/* send EOI to the PIC */
outp(PIC1_CMD, OCW2_EOI);
}
/* send EOI to the PIC */
outp(PIC1_CMD, OCW2_EOI);
}
-
-#endif /* NO_SOUND */