h6. [[OS SWI Calls]] h6(. » [[OS_SpriteOp]] h6((. » OS_SpriteOp 65 - Tile Sprite Scaled h2. OS_SpriteOp 65 - Tile Sprite Scaled h5. (SWI &2E) |_<^{width:4em}. Entry | | |<^. R0 |<^. 65 (Reason code) + [[OS_SpriteOp|Area value]]| |<^. R1 |<^. Unused/[[Format Of Sprite Area|Sprite area]] (as defined by area value in R0) | |<^. R2 |<^. Sprite name/[[Format Of Sprite|pointer]] (as defined by area value in R0) | |<^. R3 |<^. X coordinate | |<^. R4 |<^. Y coordinate | |<^. R5 |<^. [[OS_SpriteOp Scaled/Transformed Plot Flags|Flags]] | |<^. R6 |<^. Pointer to [[OS_SpriteOp Scale Factors|scaling factors]], or 0 for 1:1 scaling | |<^. R7 |<^. Pointer to pixel translation table / [[Colour Mapping Descriptor]], or 0 for no translation | |_<^{width:4em}. Exit | | |\2<^. All registers preserved| h4. Use This call paints multiple copies of a scaled sprite to the screen, tiling them in order to completely fill the current graphics window. Compared to calling [[OS_SpriteOp 52]] or [[OS_SpriteOp 34]] in a loop, this call has greater scope for hardware acceleration to be used, and is therefore the preferred method for drawing tiled sprites. h4. Notes Coordinates are in OS units, and specify the bottom-left corner of one of the tiles. Whether the coordinates specify a point inside or outside the graphics window is irrelevant, as the tiled area is effectively infinite, with the graphics window cropping it to a finite area. This call is a tiled version of [[OS_SpriteOp 52]], and therefore supports all the features of that call. h4. See also * [[Format Of Sprite]] * [[Format Of Sprite Area]] * [[OS_SpriteOp]] * [[OS_SpriteOp Scaled/Transformed Plot Flags]] * [[OS_SpriteOp Scale Factors]] * [[OS_SpriteOp 52|OS_SpriteOp 52 - Paint Sprite Scaled]]