home *** CD-ROM | disk | FTP | other *** search
/ Magazyn Amiga 14 / MA_Cover_14.iso / source / e / powerd / modules.lha / modules / graphics / copper.m < prev    next >
Encoding:
Text File  |  1999-06-23  |  1.2 KB  |  69 lines

  1. CONST    COPPER_MOVE=0,
  2.         COPPER_WAIT=1,
  3.         CPRNXTBUF=2,
  4.         CPR_NT_LOF=$8000,
  5.         CPR_NT_SHT=$4000,
  6.         CPR_NT_SYS=$2000
  7.  
  8. OBJECT CopIns
  9.     OpCode:INT,
  10. // a) next two INTs are unioned with "nxtlist:PTR TO coplist"
  11.     VWaitPos|DestAddr:INT,
  12.     HWaitPos|DestData:INT
  13.  
  14. /*
  15. #define VWAITPOS vwaitpos
  16. #define DESTADDR vwaitpos
  17. #define HWAITPOS hwaitpos
  18. #define DESTDATA hwaitpos
  19. */
  20.  
  21. OBJECT CprList
  22.     Next:PTR TO CprList,
  23.     Start:PTR TO UWORD,
  24.     MaxCount:INT
  25.  
  26. OBJECT CopList
  27.     Next:PTR TO CopList,
  28.     _coplist_:PTR TO CopList,
  29.     _viewport:PTR TO ViewPort,
  30.     CopIns:PTR TO CopIns,
  31.     CopPtr:PTR TO CopIns,
  32.     CopLStart:PTR TO UWORD,
  33.     CopSStart:PTR TO UWORD,
  34.     Count:INT,
  35.     MaxCount:INT,
  36.     DYOffset:INT,
  37. /*
  38. #ifdef V1_3
  39.     Cop2Start:PTR TO INT,
  40.     Cop3Start:PTR TO INT,
  41.     Cop4Start:PTR TO INT,
  42.     Cop5Start:PTR TO INT,
  43. #endif
  44. */
  45.     SLRepeat:UWORD,
  46.     Flags:UWORD
  47.  
  48. CONST    EXACT_LINE=1,
  49.         HALF_LINE=2
  50.  
  51. OBJECT UCopList
  52.     Next:PTR TO UCopList,
  53.     FirstCopList:PTR TO CopList,
  54.     CopList:PTR TO CopList
  55.  
  56. OBJECT CopInit
  57.     VSync_HBlank[2]:UWORD,
  58.     DiagStrt[12]:UWORD,
  59.     Fm0[2]:UWORD,
  60.     DiwStart[10]:UWORD,
  61.     BplCon2[2]:UWORD,
  62.     SprFix[16]:UWORD,
  63.     SprStrtUp[32]:UWORD,
  64.     Wait14[2]:UWORD,
  65.     Norm_HBlank[2]:UWORD,
  66.     Jump[2]:UWORD,
  67.     Wait_Forever[6]:UWORD,
  68.     SprStop[8]:UWORD
  69.