summaryrefslogtreecommitdiff
path: root/bootblocks/i86_funcs.h
blob: 798b827700ca4122460c4e89d474d56eb449d43f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/*
 * These are bios and hardware functions for the 8086 IBM PC
 */

extern int   x86;		/* CPU major number (0-3) */
extern char *x86_name;		/* and it's name */
extern int   x86_emu;		/* Is this a PC emulator ? */
extern int   x86_fpu;
extern int   x86_test;		/* Running in test mode ? */

extern unsigned boot_mem_top;	/* Top of RAM below 1M */
extern long     main_mem_top;	/* Top of RAM above 1M */

void cpu_check();
void mem_check();
int  ext_put();
int  ext_get();