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...
Detecting AT,PS/2 or PC...
- Pype.Clicker
- Member
- Posts: 5964
- Joined: Wed Oct 18, 2006 2:31 am
- Location: In a galaxy, far, far away
- Contact:
Re:Detecting AT,PS/2 or PC...
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...
Yes it is for pmode switching... Oki then I will use the CMOS ports to disable/enable NMI...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