PORTIO.H 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. /*
  2. ** Command & Conquer Red Alert(tm)
  3. ** Copyright 2025 Electronic Arts Inc.
  4. **
  5. ** This program is free software: you can redistribute it and/or modify
  6. ** it under the terms of the GNU General Public License as published by
  7. ** the Free Software Foundation, either version 3 of the License, or
  8. ** (at your option) any later version.
  9. **
  10. ** This program is distributed in the hope that it will be useful,
  11. ** but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. ** GNU General Public License for more details.
  14. **
  15. ** You should have received a copy of the GNU General Public License
  16. ** along with this program. If not, see <http://www.gnu.org/licenses/>.
  17. */
  18. #ifndef VQMPORTIO_H
  19. #define VQMPORTIO_H
  20. /****************************************************************************
  21. *
  22. * C O N F I D E N T I A L -- W E S T W O O D S T U D I O S
  23. *
  24. *----------------------------------------------------------------------------
  25. *
  26. * FILE
  27. * Portio.h (32-Bit protected mode)
  28. *
  29. * DESCRIPTION
  30. * Hardware port I/O
  31. *
  32. * PROGRAMMER
  33. * Denzil E. Long, Jr.
  34. *
  35. * DATE
  36. * Febuary 3, 1995
  37. *
  38. ****************************************************************************/
  39. #ifdef __BORLANDC__
  40. #ifdef __cplusplus
  41. extern "C" {
  42. #endif
  43. short cdecl inp(unsigned short portid);
  44. void cdecl outp(unsigned short portid, short value);
  45. #ifdef __cplusplus
  46. }
  47. #endif
  48. #endif /* __BORLANDC__ */
  49. #endif /* VQMPORTIO_H */