diff options
author | Robert de Bath <rdebath@poboxes.com> | 1997-07-20 12:16:17 +0200 |
---|---|---|
committer | Lubomir Rintel <lkundrak@v3.sk> | 2013-10-23 23:39:55 +0200 |
commit | 9d97bc3cb3aecd3416fb7c4be3ca2f436665b696 (patch) | |
tree | b1e5b67ef9e065efb6a4c9977ecfac8dedbad39b /bootblocks/i86_funcs.h | |
parent | e63c244cb22bf48ca1d2695784a072269d19ea96 (diff) | |
download | dev86-9d97bc3cb3aecd3416fb7c4be3ca2f436665b696.tar.gz |
Import Dev86src-0.12.4.tar.gzv0.12.4
Diffstat (limited to 'bootblocks/i86_funcs.h')
-rw-r--r-- | bootblocks/i86_funcs.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/bootblocks/i86_funcs.h b/bootblocks/i86_funcs.h new file mode 100644 index 0000000..9eb1b05 --- /dev/null +++ b/bootblocks/i86_funcs.h @@ -0,0 +1,21 @@ +/* + * 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_a20_closed; /* Is the A20 gate closed ? */ +extern int x86_test; /* In test mode */ +extern int x86_fpu; + +extern unsigned boot_mem_top; /* Top of RAM below 1M */ +extern long main_mem_top; /* Top of RAM above 1M */ + +int a20_closed(); +void open_a20(); +void bios_open_a20(); +void cpu_check(); +void mem_check(); +int ext_put(); +int ext_get(); |