Err... I'm not convinced that this is a PIC topic, but what the heck, it is interesting anyway. I have never seen any BIOS support for reading the parallel port. There are device drivers for Windows, etc... that implement the entire reverse protocols, but I've never seen one that was built into the BIOS and if it was, there is certainly NO standard for it. You just have to do inputs and outputs to the port address. You can use the BIOS to find what address the port is at, but there is no BIOS function for anything more than that. You may find http://www.piclist.com/techref/io/parallel/port useful for getting the different modes, timing and signals sorted out. Please consider sharing whatever you end up developing. --- James Newton, Admin #3 mailto:jamesnewton@piclist.com 1-619-652-0593 VM 1-208-279-8767 FAX PIC/PICList FAQ: http://www.piclist.com or .org -----Original Message----- From: pic microcontroller discussion list [mailto:PICLIST@MITVMA.MIT.EDU]On Behalf Of Harold M Hallikainen Sent: Tuesday, August 28, 2001 12:48 To: PICLIST@MITVMA.MIT.EDU Subject: Re: [PIC]: BIOS call to read from bidirectional parallel port? On Tue, 28 Aug 2001 12:19:09 -0500 Matt Pobursky writes: > Harold, > > I can recommend a very good reference book regarding parallel port > I/O and > usage: > > Jan Axelson's "Parallel Port Complete" > http://www.lvr.com/parprtib.htm > Thanks! I've got the book right here in front of me. While it covers the various modes of parallel port handshaking, However, it does not give the BIOS calls to access the ports. I'm trying to avoid "bit twiddling" in my code. For SPP output, I can just to a call of INT 0x17, function 0x00 and it does the whole SPP handshake. I'm now looking for a similar BIOS call for a byte mode read. Page 204 of the book says "Another IEEE committee is developing a standard BIOS, or API, for using the new modes." Anyone know what they are? Harold FCC Rules Online at http://hallikainen.com/FccRules Lighting control for theatre and television at http://www.dovesystems.com ________________________________________________________________ GET INTERNET ACCESS FROM JUNO! Juno offers FREE or PREMIUM Internet access for less! Join Juno today! For your FREE software, visit: http://dl.www.juno.com/get/tagj. -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body