Page 1 of 1

Detecting AT,PS/2 or PC...

Posted: Mon Jul 29, 2002 5:43 pm
by Peter_Vigren
Can I detect if the computer is AT, PS/2 or if it is a PC without reading one byte at F000:FFFE (or using Int 15,C0h)? Because the AT,PS/2 disabled NMI in one way and PC in another and it's quite good to know which one to use. :)

Also, it would be nice to be able to detect if the computer is a XT. Plus some information that explain some differences between and general information about these computer types...

Re:Detecting AT,PS/2 or PC...

Posted: Tue Jul 30, 2002 3:59 am
by Pype.Clicker
why exactly do you need to disable NMI ? if this is for the sake of pmode switching, then you can safely assume your computer is at least an AT (never saw an PC or XT with some processor higher than 80286 :)

Re:Detecting AT,PS/2 or PC...

Posted: Tue Jul 30, 2002 5:08 pm
by Peter_Vigren
Pype.Clicker wrote: why exactly do you need to disable NMI ? if this is for the sake of pmode switching, then you can safely assume your computer is at least an AT (never saw an PC or XT with some processor higher than 80286 :)
Yes it is for pmode switching... Oki then I will use the CMOS ports to disable/enable NMI...