BIOSINFO


BIOSINFO BIOS, , C0h BIOS INT15h:

BIOSINFO (C)A. Frolov, 1997

BIOS data: 04/18/97

BIOSINFO address: 0212:0190

BIOSINFO Size: 8

Model: FC

SubModel: 1

BIOS Revision: 0

Hardvare Cfg: 70

Reserved1: 00

Reserved2: 00

Hardware configuration

----------------------

Second IRQ Controller 8259

Real Time Clock

Used function 4Fh INT 15h

ISA Bus installed

1.2.

1.2. biosinfo\biosinfo.c

// =====================================================

// BIOS

//

// (C) ., 1997

//

// E-mail: frolov@glas.apc.org

// WWW: http://www.glasnet.ru/~frolov

// // http://www.dials.ccas.ru/frolov

// =====================================================

#include <stdio.h>

#include <conio.h>

#include <dos.h>

// BIOS

typedef struct _BIOSINFO

{

int nSize; //

unsigned char bModel; //

unsigned char bSubModel; //

unsigned char bBIOSRevision; //

// BIOS

unsigned char bHardwareCfg; //

int reserved1; //

int reserved2; //

} BIOSINFO;

int main(void)

{

union REGS rg;

struct SREGS srg;

int i;

BIOSINFO far *lpbi;

void far* lp;

unsigned char bHdwCfg;

printf("\nBIOSINFO (C)A. Frolov, 1997");

//

// BIOS. F000h:FFF5h

_FP_SEG(lp) = 0xf000;

_FP_OFF(lp) = 0xfff5;

//