From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,d0077c2a3f44fc09 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!news.maxwell.syr.edu!border1.nntp.dca.giganews.com!nntp.giganews.com!local1.nntp.dca.giganews.com!nntp.comcast.com!news.comcast.com.POSTED!not-for-mail NNTP-Posting-Date: Fri, 03 Dec 2004 12:43:40 -0600 From: tmoran@acm.org Newsgroups: comp.lang.ada Subject: Re: Port LPT + ADA References: X-Newsreader: Tom's custom newsreader Message-ID: Date: Fri, 03 Dec 2004 12:43:40 -0600 NNTP-Posting-Host: 67.161.24.234 X-Trace: sv3-Tu9QJyvkJeizRniQv23gEFlgPntMrkxp5F0WaVG/qn9Si9BHGZKE2cngnJbZir1tJS6CcFTElMO7aL2!klrWSaLpvuG+lADB3EvOUZXUCJHol4GYMeL4ICdhjt6as5U1MFUefriHXfGsJw== X-Complaints-To: abuse@comcast.net X-DMCA-Complaints-To: dmca@comcast.net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.20 Xref: g2news1.google.com comp.lang.ada:6741 Date: 2004-12-03T12:43:40-06:00 List-Id: >register is located in memmory address 379h, No it's not. It's located in IO address 379h, which can be referenced by an IN or OUT machine instruction. If you use Ada under MSDOS this is trivial, but current versions of Windows block direct access to IO ports so you'll have to call some kind of driver software. Windows is not designed for low level programming.