summaryrefslogtreecommitdiffstats
path: root/contrib/syslinux/latest/core/console.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/syslinux/latest/core/console.c')
-rw-r--r--contrib/syslinux/latest/core/console.c22
1 files changed, 0 insertions, 22 deletions
diff --git a/contrib/syslinux/latest/core/console.c b/contrib/syslinux/latest/core/console.c
deleted file mode 100644
index 282c57f..0000000
--- a/contrib/syslinux/latest/core/console.c
+++ /dev/null
@@ -1,22 +0,0 @@
-#include <stddef.h>
-#include <com32.h>
-#include <stdio.h>
-#include <string.h>
-
-void myputchar(int c)
-{
- static com32sys_t ireg;
-
- if (c == '\n')
- myputchar('\r');
-
- ireg.eax.b[1] = 0x02;
- ireg.edx.b[0] = c;
- __intcall(0x21, &ireg, NULL);
-}
-
-void myputs(const char *str)
-{
- while (*str)
- myputchar(*str++);
-}