Date: Sun, 7 Jan 1996 09:32:44 +0200 (IST) From: Eli Zaretskii To: "Henri P. Gavin" Cc: djgpp AT delorie DOT com Subject: Re: read/write hardware registers? On 5 Jan 1996, Henri P. Gavin wrote: > Are there functions available in djgpp > similar to the turbo-c functions inport() and outport() > which can be used to read and write words and bytes to hardware register > addresses? Yes, there are. They are called `inportb', `inportw', etc. They are prototyped on the header file. You should append `-lpc' to your link command line to have the linker find them.