blob: 01cb47a00c27445cee7918a2245cc37d5a61ae4c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
--- low.c.orig Wed Dec 11 22:44:43 2002
+++ low.c Wed Dec 11 22:44:56 2002
@@ -18,11 +18,10 @@
* space-invaders-type game working, I think it was. :-) -rjm
*/
+#include <sys/types.h>
#include "cpmemu.h"
#include <ctype.h>
#include <unistd.h>
-#include <sys/perm.h> /* needed for ioperm() -rjm */
-#include <sys/types.h>
#include <sys/time.h>
#include <signal.h>
#include <sys/mman.h>
@@ -88,10 +87,8 @@
/* get access to sound port */
cptr = NULL;
- if (ioperm(0x61, 1, 1)) {
hardware_access = 0; /* no access to speaker port */
return;
- }
/* install signal handler */
sa.sa_handler = tickerint;
|