Path: utzoo!utgpu!watserv1!watmath!uunet!wuarchive!mailrus!tut.cis.ohio-state.edu!uccba!uceng!kamat From: kamat@uceng.UC.EDU (Govind N. Kamat) Newsgroups: unix-pc.general Subject: Accessing ports on ATT PC6300 PLUS Summary: How does one perform IN and OUT using UNIX? Message-ID: Date: 8 Dec 89 14:38:09 GMT Sender: kamat@uceng.UC.EDU Organization: College of Engg., University of Cincinnati Lines: 21 Distribution: unix-pc I need to read from/write to the I/O ports on an AT&T PC6300 PLUS. This 80286 machine runs UNIX and has a DOS compatiblity mode in which it can run DOS software. Now, in the DOS mode, using the Microsoft C compiler, I can use the functions inp() and outp() to perform the assembler IN and OUT instructions. It isn't clear whether the UNIX end has similar functions available. I thought maybe ioctl(2) might help, but that manual page just refers me to section 7 which doesn't seem to exist in my copy of the documentation. If someone out in Netland has any information on ioctl() devices, or even better, knows how to do port I/O, I would be most grateful if you could e-mail. Also, I'm not sure whether this is the correct group for postings related to the PC6300. If not, please accept my apologies. -- Govind Kamat University of Cincinnati, Engineering