delorie.com/archives/browse.cgi | search |
Xref: | news2.mv.net comp.os.msdos.djgpp:6597 |
From: | Roland Exler <R DOT Exler AT jk DOT uni-linz DOT ac DOT at> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: How to find printer port number? |
Date: | Wed, 31 Jul 1996 08:05:17 -0700 |
Organization: | Institute for el. Measurement, University of Linz, Austria |
Lines: | 19 |
Message-ID: | <31FF762D.6BAD@jk.uni-linz.ac.at> |
References: | <DvDpA4 DOT B13 AT ireq DOT hydro DOT qc DOT ca> |
NNTP-Posting-Host: | sensor4.emt.uni-linz.ac.at |
Mime-Version: | 1.0 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Jean Cote wrote: > I would like to know want is the port number to send > data to printer port of my PC. The io-adresses of the serial ports found by the bios are stored starting 0x0040:0x0000 (segment:offset), the printer-ports starting at 0x0040:0x0008 in physical (DOS) memory. Use some of the dosmemget or farpeek-functions to access this locations. Each adress is stored as 16 bit int. Use 'debug' 'd40:0' to take a look what your bios has found. Roland +---------------------------------------+---------------------------+ I Roland Exler I EMAIL: I I Universitaet Linz I R DOT Exler AT jk DOT uni-linz DOT ac DOT at I I Institut fuer Elektrische Messtechnik I I I Altenbergerstr. 69 I Phone: I I A-4040 Linz, AUSTRIA I + 43 732 2468 9205 I +---------------------------------------+---------------------------+
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |