home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
famapi.zip
/
INCLUDE.ZIP
/
BIOS.H
< prev
next >
Wrap
C/C++ Source or Header
|
1993-06-13
|
1KB
|
47 lines
//
// **************************************************************
// 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