Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!elroy.jpl.nasa.gov!decwrl!ucbvax!agate!usenet.ins.cwru.edu!abvax!sgtech!sgtech.UUCP From: jjr@sgtech.UUCP (John Radigan) Newsgroups: comp.os.os2.misc Subject: Re: MicroChannel Determination in OS/2 Message-ID: <78@sgtech.UUCP> Date: 12 Apr 91 15:39:37 GMT References: <6634@gssc.UUCP> Sender: news@sgtech.UUCP Distribution: usa Lines: 21 From article <6634@gssc.UUCP>, by timo@gssc.UUCP (Timo Wilson): > I am currently involved in writing a small OS/2 bound application that must > determine if it is running on a MicroChannel or ISA bus. The application > does have one segment that has IOPL privilages. I can determine this under > DOS using INT 15, Ah=0xC0, but can't use it in OS/2. Has anyone else done > anything like this in OS/2? > > Thanks in advance for any help offered. > > -timo > timo@gss.com I saw a device driver that did this by issuing an ABIOS call. I guess ABIOS is only implemented on IBM PS/2 MCA machines. This driver assumed that if the ABIOS call returned an error of some sort, that ABIOS was not present, and it must be running on a non-MCA box. I don't have the code around to get any more details. I would imagine you could make this call from an IOPL code segment. Hope this helps. -- John Radigan, Star Gate Technologies, Inc., Solon, Ohio Email: jjr@sgtech.uucp Telephone: (216) 349-1860 x666