Windows NT 4.0 source code leak
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

54 lines
1.0 KiB

#include "insignia.h"
#include "host_def.h"
/*
* SoftPC Revision 3.0
*
* Title : equipment.c
*
* Description : BIOS equipment function. Returns a word containing
* a bit pattern representing the equipment supported
* by the virtual bios.
*
* Author : Henry Nash / David Rees
*
* Notes : Now reads the word from the appropriate place within
* the BIOS data area (40:10H).
*/
/*
* static char SccsID[]="@(#)equipment.c 1.6 08/03/93 Copyright Insignia Solutions Ltd.";
*/
#ifdef SEGMENTATION
/*
* The following #include specifies the code segment into which this
* module will by placed by the MPW C compiler on the Mac II running
* MultiFinder.
*/
#include "SOFTPC_BIOS.seg"
#endif
/*
* O/S include files.
*/
#include <stdio.h>
#include TypesH
/*
* SoftPC include files
*/
#include "xt.h"
#include CpuH
#include "bios.h"
#include "sas.h"
#include "equip.h"
void equipment()
{
EQUIPMENT_WORD equip_flag;
sas_loadw(EQUIP_FLAG, &equip_flag.all);
setAX(equip_flag.all);
}