home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 2 / DATAFILE_PDCD2.iso / utilities2 / desklib / Libraries / Sprite / s / 27Copy < prev    next >
Encoding:
Text File  |  1993-04-11  |  1.2 KB  |  48 lines

  1. ;
  2. ;       Title                  : Sprite 27N
  3. ;       System                 : Sprite Library
  4. ;       Version                : 1.0
  5. ;       Copyright              : (C) John Winters
  6. ;       Date                   : 9th February, 1992
  7. ;       Author                 : John H. Winters
  8. ;
  9. ;       Function               : Issues an OS_SpriteOp 27 for a user sprite.
  10. ;
  11. ;
  12. ;       Modification history.
  13. ;
  14. ;       Version                : (Reflect in header IDENT)
  15. ;       Date                   : 
  16. ;       Author                 : 
  17. ;       Changes                : 
  18. ;
  19. ;
  20. ;============================================================================
  21. ;
  22. ;  Include files.
  23. ;
  24. ;============================================================================
  25. ;
  26.         GET     h.regdefs
  27.         GET     h.swinos
  28.         GET     h.macros
  29. ;
  30. ;============================================================================
  31. ;
  32. ;  Code.
  33. ;
  34. ;============================================================================
  35. ;
  36.         PREAMBLE
  37.         STARTCODE Sprite_Copy
  38. ;
  39.         STMFD   sp!, {a1, a2, a3, lr}
  40.         LDMFD   sp!, {a2, a3, a4}
  41.         MOV     a1, #27
  42.         ADD     a1, a1, #256
  43.         SWI     OS_SpriteOp + XOS_Bit
  44.         MOVVC   a1, #0
  45.         LDMFD   sp!, {pc}^
  46. ;
  47.         END
  48.