diff options
Diffstat (limited to 'bootblocks/monitor.h')
-rw-r--r-- | bootblocks/monitor.h | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/bootblocks/monitor.h b/bootblocks/monitor.h index de42a20..7674afd 100644 --- a/bootblocks/monitor.h +++ b/bootblocks/monitor.h @@ -2,7 +2,7 @@ #include <stdio.h> #include <errno.h> #include <ctype.h> -#include <dos.h> +#include <bios.h> #include <malloc.h> #include "i86_funcs.h" #include "readfs.h" @@ -11,14 +11,12 @@ #define X_DOSFLOPPY #define X_CALC_CRC - #ifdef __STANDALONE__ #define COLOUR extern union REGS __argr; #endif - #ifdef TARFLOPPY #define SINGLEFS #define NOMONITOR @@ -45,3 +43,11 @@ extern union REGS __argr; #define file_length dos_file_length #define read_block dos_read_block #endif + +#if 1 +#undef putchar +#define putchar cputchar +#define printf cprintf +#define fflush(x) +#endif + |