[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
The following listing contains the interface of the Ports unit.
This unit provides access routines for the hardware ports on the IA32, as a partial replacement for BP's `Port' and `PortW' pseudo arrays.
Since port access is platform-specific, this unit cannot be used in code intended to be portable. Even on the IA32, its use can often be avoided -- e.g. Linux provides a number of `ioctl' functions, and DJGPP provides some routines to achieve things that would require port access under BP. Therefore, it is recommended to avoid using this unit whenever possible.
{ Access functions for I/O ports for GPC on an IA32 platform. This unit is *not* portable. It works only on IA32 platforms (tested under Linux and DJGPP). It is provided here only to serve as a replacement for BP's Port and PortW pseudo arrays. |
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |