=> R0 = 9, &9 (Initialise area)
R1 = Sprite area
This SWI clears all sprites from the sprite area specified by setting the number of sprites to 0 (at +4) and copying the first sprite pointer (at +8) to the first free pointer (at +12).
Therefore to start using a sprite area, assuming no extension area, call this SWI having set the area block to:
+0 Size of area in bytes
+8 16
See PRM 1, page 767
|
|
|