biosequip() Check Equipment
#include <bios.h>
int biosequip(void);
biosequip() uses BIOS interrupt 0x11 to return an integer describing
the equipment connected to the system.
Returns: A collection of bit-sized fields:
bit 15 Numbers of printers
bit 14 Numbers of printers
bit 13 Not used
bit 12 Game I/O attached
bit 11 Number of RS232 ports
bit 8 Not used
bit 7 Number of diskettes
bit 6 Number of diskettes
00 = 1 drive
01 = 2 drives
10 = 3 drives
11 = 4 drives, only if bit 0 is 1
bit 5 Initial
bit 4 Video mode
00 = Unused
01 = 40x25 BW with color card
10 = 80x25 BW with color card
11 = 80x25 BW with mono card
bit 3 Motherboard
bit 2 RAM size
00 = 16K
01 = 32K
10 = 48K
11 = 64K
bit 1 Floating-point coprocessor
bit 0 Boot from diskette
This page last updated on Fri Nov 30 10:48:32 MSK 2001
Copyright © 1992-2001, Vitaly Filatov, Moscow, Russia
Webmaster