Showing changes from revision #1 to #2:
Added | Removed | Changed
Entry | |
---|---|
R0 | 3 (Reason code) |
R2 | File name |
Exit | |
---|---|
All registers preserved |
This call loads the contents of a sprite file into the current graphics window.
The first sprite within the sprite file will be used; the name is irrelevant.
If the sprite has a palette, it will replace the screen’s current palette.
If the sprite was created in a different screen mode to the current screen mode, an attempt will be made to switch to the same screen mode the sprite was created in. This will reset the graphics window to default. If loading a new-style (i.e. RISC OS 3.5 or RISC OS 5) sprite then the sprite width and height will be used to select the mode width and height.