Contributor: HELGE HELGESEN 
{> Does anyone know how to get the hard drive type(s) from CMOS ?
}
Function GetFixedDrive(DriveNum : Byte) : Byte; Assembler;
Asm
 mov al, DriveNum
 and al, 1
 add al, 19ドル
 out 70,ドル al
 in al, 71ドル
end;
{
You specify what drive you want (0/1) and you'll get the
disk type as specified in CMOS.
}
begin
 Writeln(GetFixedDrive(3));
end. 

AltStyle によって変換されたページ (->オリジナル) /