Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Jul 2009 00:43:20 +0200 (CEST)
From:      Alexander Best <alexbestms@math.uni-muenster.de>
To:        <freebsd-hackers@FreeBSD.org>
Subject:   checking number of parallel ports installed and their port adresses
Message-ID:  <permail-20090721224320f7e55a9d0000715f-a_best01@message-id.uni-muenster.de>

next in thread | raw e-mail | index | archive | help
hi there,

i've written an app in c (and a bit of asm) which needs to do raw parallel
port io using the i386 opcodes in/out. to get the number of available parallel
ports installed and their addresses i open and mmap /dev/mem and read the
address-values from the BIOS area @ 0x408. is there a better way to find out
the number of parallel ports installed and their addresses?

cheers.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?permail-20090721224320f7e55a9d0000715f-a_best01>