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

  1. ;
  2. ;       Title                  : Sprite 34N
  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 34 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_Plot
  38. ;
  39.         MOV     ip, sp
  40.         STMFD   sp!, {a1, a2, a3, a4, v1, v2, lr}
  41.         LDMFD   sp!, {a2, a3, a4, v1}
  42.         LDR     v2, [ip, #0]
  43.         MOV     a1, #34
  44.         ADD     a1, a1, #256
  45.         SWI     OS_SpriteOp + XOS_Bit
  46.         MOVVC   a1, #0
  47.         LDMFD   sp!, {v1, v2, pc}^
  48. ;
  49.         END
  50.