delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/07/24/21:45:28

Xref: news2.mv.net comp.os.msdos.djgpp:6372
From: bmorgan AT sdcc3 DOT ucsd DOT edu (Brent Morgan)
Newsgroups: comp.os.msdos.djgpp
Subject: to inportb() or not?
Date: 24 Jul 1996 17:40:14 GMT
Organization: University of California, San Diego
Lines: 18
Message-ID: <4t5n5u$8si@sdcc12.ucsd.edu>
NNTP-Posting-Host: sdcc3.ucsd.edu
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

I'm writing a device driver for a multipurpose I/O card (RTI815) and
I've been using inportb() and outportb() to write to the card (it's an
8-bit card).  So far it's worked fine, but having just read the FAQ, I
didn't see anything mentioned about these calls.  The FAQ instead
mentioned breaking the memory mapped address space of the card into
segmet+offset and calling a different routine (the name of which I do
not remember).  Why is my method working?  Should I use the alternate
routines mentioned in the FAQ?

Just for the record, I'm using V2 and Rhide (which are both
_excellent_).


Brent
-- 
Brent A. Morgan

- Raw text -


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