home *** CD-ROM | disk | FTP | other *** search
/ Magazyn Amiga 5 / MA_Cover_5.iso / ppc / atari / atari800-0.8.6 / pia.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-05-10  |  362 b   |  23 lines

  1. #ifndef __PIA__
  2. #define __PIA__
  3.  
  4. #include "atari.h"
  5.  
  6. #define _PORTA 0x00
  7. #define _PORTB 0x01
  8. #define _PACTL 0x02
  9. #define _PBCTL 0x03
  10.  
  11. extern UBYTE PACTL;
  12. extern UBYTE PBCTL;
  13. extern UBYTE PORTA;
  14. extern UBYTE PORTB;
  15.  
  16. extern int xe_bank;
  17.  
  18. void PIA_Initialise(int *argc, char *argv[]);
  19. UBYTE PIA_GetByte(UWORD addr);
  20. int PIA_PutByte(UWORD addr, UBYTE byte);
  21.  
  22. #endif
  23.