AMOSi:Cop Wait

From Amiga Coding
Revision as of 01:51, 17 November 2007 by Spellcoder (talk | contribs) (1 revision(s))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

an example can be found on AMOSPro_Examples:Examples/H-6/Help_62.AMOS


Enters a "WAIT" instruction at the current point in your copper list.


Cop Wait x,y

x can be a hardware coordinate from 0 to 448.
y can be any value from 0 to 312.


Cop Wait x,y,xmask,ymask


xmask and ymask are bitmasks which allow you to wait until the screen coordinates satisfy a specific combination of bits. They default to $1FF.