Mail Archives: djgpp/1994/07/01/09:14:35
roger034 AT gold DOT tc DOT umn DOT edu writes:
>
> I have a dumb question about IO ports. We want to talk to a Highspeed
> bidirectional parallel port (similar to a printer port) using input
> and output instructions. I thought because djgpp is protected mode
> that I need to do something different than a simple outp() [which is a
> microsoft C macro anyway].
>
I wrote my own little assembly routine to execute the IN and OUT x86
instruction to replace inp and outp. It works fine. I believe there
are similar functions in one of the libraries that came with djgpp too.
Rehards,
==============================================================
Hung Bui Internet: hvb AT netrix DOT com
Netrix Corporation Phone: +1 703 793 1016
13595 Dulles Technology Drive Fax: +1 703 713 3805
Herndon Va 22071
==============================================================
- Raw text -