home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 224a.lha / Includes / graphics / copper < prev    next >
Encoding:
Text File  |  1989-04-08  |  1.0 KB  |  56 lines

  1.  
  2. EQU COPPER_MOVE 0
  3. EQU COPPER_WAIT 1
  4. EQU CPRNXTBUF   2
  5. EQU CPR_NT_LOF  $8000
  6. EQU CPR_NT_SHT  $4000
  7.  
  8. {s CopIns
  9.       WORD  OpCode
  10.       LONGS 0 NXTLIST
  11.       WORDS 0 VWAITPOS
  12.       WORDS 1 DESTADDR
  13.       WORDS 0 HWAITPOS
  14.       WORDS 1 DESTDATA
  15.    s}
  16.  
  17. {s cprlist
  18.       APTR  Next
  19.       APTR  start
  20.       WORD  MaxCount
  21.    s}
  22.  
  23. {s CopList
  24.       APTR  Next
  25.       APTR  _CopList
  26.       APTR  _ViewPort
  27.       APTR  CopIns
  28.       APTR  CopPtr
  29.       APTR  CopLStart
  30.       APTR  CopSStart
  31.       WORD  Count
  32.       WORD  MaxCount
  33.       WORD  DyOffset
  34.    s}
  35.  
  36. {s UCopList
  37.       APTR     Next
  38.       APTR     FirstCopList
  39.       APTR     CopList
  40.    s}
  41.  
  42. {s copinit
  43.       WORDS    4 diagstrt
  44.       WORDS    ((2*8*2)+2+(2*2)+2) sprstrtup
  45.       WORDS    2 sprstop
  46.    s}
  47.  
  48.  
  49. >Graphics   -546 (r a0 r) FreeCopList (s coplist -- )
  50. >Graphics   -564 (r a0 r) FreeCprList (s cprlist -- )
  51.  
  52. >Graphics   -372 (r A1 D1 D0 r) CMove (s copperList data dest -- )
  53. >Graphics   -378 (r A1 D1 D0 r) CWait (s copperList Y X -- )
  54. >Graphics   -366 (r A1 r)       CBump (s copperList -- )
  55.  
  56.