home *** CD-ROM | disk | FTP | other *** search
- ;
- ; Title : Sprite 34N
- ; System : Sprite Library
- ; Version : 1.0
- ; Copyright : (C) John Winters
- ; Date : 9th February, 1992
- ; Author : John H. Winters
- ;
- ; Function : Issues an OS_SpriteOp 34 for a user sprite.
- ;
- ;
- ; Modification history.
- ;
- ; Version : (Reflect in header IDENT)
- ; Date :
- ; Author :
- ; Changes :
- ;
- ;
- ;============================================================================
- ;
- ; Include files.
- ;
- ;============================================================================
- ;
- GET h.regdefs
- GET h.swinos
- GET h.macros
- ;
- ;============================================================================
- ;
- ; Code.
- ;
- ;============================================================================
- ;
- PREAMBLE
- STARTCODE Sprite_Plot
- ;
- MOV ip, sp
- STMFD sp!, {a1, a2, a3, a4, v1, v2, lr}
- LDMFD sp!, {a2, a3, a4, v1}
- LDR v2, [ip, #0]
- MOV a1, #34
- ADD a1, a1, #256
- SWI OS_SpriteOp + XOS_Bit
- MOVVC a1, #0
- LDMFD sp!, {v1, v2, pc}^
- ;
- END
-