home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1994 #1
/
monster.zip
/
monster
/
PROG_PAS
/
XLIB_TP5.ZIP
/
DEMO
/
DEMO3_TP.PAS
< prev
next >
Wrap
Pascal/Delphi Source File
|
1993-08-08
|
1KB
|
28 lines
uses X_Detect;
begin;
WriteLn('Hardware detection demo...');
WriteLn;
WriteLn('Graphics Card : ',VideoNames[x_graphics_card]);
WriteLn('Processor : ',pzNames[x_processor]);
WriteLn('Math Co-Processor: ',cpNames[x_coprocessor]);
Write ('Mouse Driver : ');
case x_mousedriver of
false : WriteLn('not installed');
true : begin;
WriteLn('installed (Mouse Driver vers ',MouseVersion div $100,
'.',MouseVersion mod $100,')');
Write(' ');
case MouseType of
BUS_MOUSE : write('Bus Mouse on IRQ ');
SERIAL_MOUSE : write('Serial Mouse on IRQ ');
INPORT_MOUSE : write('Inport Mouse on IRQ ');
PS2_MOUSE : write('PS/2 Mouse on IRQ ');
HP_MOUSE : write('HP Mouse on IRQ ');
else write('Unknown Mouse on IRQ ');
end;
WriteLn(MouseIRQ,' with ',MouseButtonCount,' buttons.');
end;
end;
end.