home *** CD-ROM | disk | FTP | other *** search
- //
- // **************************************************************
- // JdeBP C++ Library Routines General Public Licence v1.00
- // Copyright (c) 1991,1992 Jonathan de Boyne Pollard
- // **************************************************************
- //
- // BIOS FUNCTIONS (MS-DOS)
- //
-
- //
- // Note that bios calls will *not* work in either Windows 3.x or OS/2 2.x.
- //
- // You must use the equivalent calls from the family API library.
- //
-
- #if !defined(___STDDEF_H_INCLUDED)
- #include <_stddef.h>
- #endif
- #if !defined(___PORTINT_H_INCLUDED)
- #include <_portint.h> // PORT and INTERRUPT FUNCTIONS
- #endif
-
- #ifndef _BIOS_H_INCLUDED
-
- #ifndef _DISKINFO_T_DEFINED
- struct diskinfo_t {
- unsigned drive;
- unsigned head;
- unsigned track;
- unsigned sector;
- unsigned nsectors;
- void _far *buffer;
- };
- #define _DISKINFO_T_DEFINED
- #endif
-
- unsigned _CDECL _bios_disk(unsigned, struct diskinfo_t *);
- unsigned _CDECL _bios_equiplist(void);
- unsigned _CDECL _bios_keybrd(unsigned);
- unsigned _CDECL _bios_memsize(void);
- unsigned _CDECL _bios_printer(unsigned, unsigned, unsigned);
- unsigned _CDECL _bios_serialcom(unsigned, unsigned, unsigned);
- unsigned _CDECL _bios_timeofday(unsigned, long *);
-
- #define _BIOS_H_INCLUDED
- #endif
-