home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 6 / AACD06.ISO / AACD / Emulation / Atari800 / antic.h < prev    next >
C/C++ Source or Header  |  1998-02-24  |  1KB  |  55 lines

  1. #ifndef __ANTIC__
  2. #define __ANTIC__
  3.  
  4. #include "atari.h"
  5.  
  6. /*
  7.  * Offset to registers in custom relative to start of antic memory addresses.
  8.  */
  9.  
  10. #define _DMACTL 0x00
  11. #define _CHACTL 0x01
  12. #define _DLISTL 0x02
  13. #define _DLISTH 0x03
  14. #define _HSCROL 0x04
  15. #define _VSCROL 0x05
  16. #define _PMBASE 0x07
  17. #define _CHBASE 0x09
  18. #define _WSYNC 0x0a
  19. #define _VCOUNT 0x0b
  20. #define _PENH 0x0c
  21. #define _PENV 0x0d
  22. #define _NMIEN 0x0e
  23. #define _NMIRES 0x0f
  24. #define _NMIST 0x0f
  25.  
  26. extern UBYTE CHACTL;
  27. extern UBYTE CHBASE;
  28. extern UWORD DLIST,DLISTINIT;
  29. extern UBYTE DMACTL;
  30. extern UBYTE HSCROL;
  31. extern UBYTE NMIEN;
  32. extern UBYTE NMIST;
  33. extern UBYTE PMBASE;
  34. extern UBYTE VSCROL;
  35.  
  36. extern int ypos;
  37. extern int wsync_halt;
  38.  
  39. extern UBYTE *scrn_ptr;
  40. extern int xmin;
  41. extern int xmax;
  42. extern int dmactl_xmin_noscroll;
  43. extern int dmactl_xmax_noscroll;
  44. extern ULONG *atari_screen;
  45.  
  46. extern int cc_middle;
  47. extern int dli_delay;
  48. extern int after_wsync;
  49. extern int before_dma;
  50. extern int vsync_pos;
  51.  
  52. void Init_Antic (int *argc, char *argv[],int base);
  53. void ANTIC_RunDisplayList (void);
  54. #endif
  55.