ports.pp 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. {
  2. This file is part of the Free Pascal run time library.
  3. and implements some stuff for protected mode programming
  4. Copyright (c) 1999-2000 by the Free Pascal development team.
  5. These files adds support for TP styled port accesses
  6. See the file COPYING.FPC, included in this distribution,
  7. for details about the copyright.
  8. This program is distributed in the hope that it will be useful,
  9. but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  11. **********************************************************************}
  12. unit ports;
  13. interface
  14. { Since this platform has port access built into the System unit, this unit just
  15. creates aliases, for compatibility for programs, that already use the ports
  16. unit. }
  17. type
  18. tport = System.tport;
  19. tportw = System.tportw;
  20. tportl = System.tportl;
  21. var
  22. port : tport absolute System.port;
  23. portb : tport absolute System.portb;
  24. portw : tportw absolute System.portw;
  25. portl : tportl absolute System.portl;
  26. implementation
  27. end.