delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/05/28/11:15:25.1

From: Lars Erdmann <lars DOT erdmann AT arcor DOT de>
Newsgroups: comp.os.msdos.djgpp
Subject: farpeekw under Windows NT
Date: Wed, 29 May 2002 17:05:37 +0200
Organization: Arcor
Lines: 11
Message-ID: <3CF4EE40.19E44519@arcor.de>
NNTP-Posting-Host: dialin-145-254-255-214.arcor-ip.net
Mime-Version: 1.0
X-Trace: newsread1.arcor-online.net 28532 NG bGFycy5lcmRtYW5u
X-Complaints-To: abuse AT arcor-online DOT net
NNTP-Posting-Date: Tue, 28 May 2002 15:08:59 +0000 (UTC)
X-Priority: 1 (Highest)
X-Mailer: Mozilla 4.61 [de] (OS/2; U)
X-Accept-Language: de
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hi,

I want to find out the base address of my LPT port under Windows NT.
So I used farpeekw to read the bios data area.
Technically it works, but it returns the wrong base address.
It returns 0x3BC but my LPT is 0x378. It also returns 3 LPT I/O base
addresses but I only have 1 LPT installed in my system.
Is this a problem with NT or with the bios itself ?


Any help appreciated, Lars

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019