*BSD News Article 48888


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!swidir.switch.ch!scsing.switch.ch!news.belwue.de!fu-berlin.de!zrz.TU-Berlin.DE!zib-berlin.de!news.tu-chemnitz.de!irz401!uriah.heep!bonnie.heep!not-for-mail
From: j@bonnie.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: FreeBSD Hardware Status
Date: 17 Aug 1995 10:33:01 +0200
Organization: Private U**x site, Dresden.
Lines: 37
Message-ID: <40uurt$8mt@bonnie.tcd-dresden.de>
References: <DDAL0I.D75@seas.ucla.edu> <40orni$6os@park.uvsc.edu> <jcaron-1508951330120001@mon2-09.planete.net> <40rpom$sa1@park.uvsc.edu>
Reply-To: joerg_wunsch@uriah.heep.sax.de
NNTP-Posting-Host: 192.109.108.139
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit

Terry Lambert  <terry@cs.weber.edu> wrote:

>] I guess I'll have to learn to read 80x86 code... [and find a disassembler].
>
>No need to do that.
>
>They examine the equipment word at 40:10h.  For all systems after
>the XT, bits are decoded as:
>
>0	Boot diskette drive installed
>1	math coprocessor
>2	mouse port on system board		<-- XXXXXXXXXXXX

Well, that's an excellent idea!

>This information is filled in via the post routine and would be
>retrived in a VM86() environment (which we don't have one of) by
>calling INT 11h (post code is returned in AX).

We don't need vm86() for this.  The BIOS data area is being preserved.

>It's also amusing to not that by examining words 40:00, 40:02,
>40:04, and 40:06, one can find the serial port address ranges
>for the first four serial ports, and 40:08, 40:0A, 40:0C for
>the first three printer ports (both convolutes operations in
>the probe code for the respective drivers).

It's also amusing to note that the lpt driver is just examining the
40:08 ff. fields if the `port' tag in the config file is being
specified as `?'.

:^)
-- 
cheers, J"org                      private:   joerg_wunsch@uriah.heep.sax.de
                                   http://www.sax.de/~joerg/

Never trust an operating system you don't have sources for. ;-)