home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 2 / DATAFILE_PDCD2.iso / utilities2 / desklib / Libraries / Misc / s / MonoTime < prev   
Encoding:
Text File  |  1993-05-14  |  1006 b   |  28 lines

  1. ;   ####             #    #     # #
  2. ;   #   #            #    #       #          The FreeWare C library for
  3. ;   #   #  ##   ###  #  # #     # ###             RISC OS machines
  4. ;   #   # #  # #     # #  #     # #  #   ___________________________________
  5. ;   #   # ####  ###  ##   #     # #  #
  6. ;   #   # #        # # #  #     # #  #    Please refer to the accompanying
  7. ;   ####   ### ####  #  # ##### # ###    documentation for conditions of use
  8. ;   ________________________________________________________________________
  9. ;
  10. ;   File:    Misc.MonoTime.s
  11. ;   Author:  Copyright © 1993 Jason Williams
  12. ;   Version: 1.00 (14 May 1993)
  13. ;   Purpose: Read time since startup in centiseconds (OS_ReadMonotonicTime)
  14. ;            (This is used in conjunction with Wimp_PollIdle)
  15.  
  16.         GET     h.regdefs
  17.         GET     h.swinos
  18.         GET     h.macros
  19.  
  20.         PREAMBLE
  21.         STARTCODE Time_Monotonic
  22. ;
  23.         STMFD sp!, {lr}
  24.         SWI SWI_OS_ReadMonotonicTime + XOS_Bit
  25.         LDMFD sp!, {pc}^
  26. ;
  27.         END
  28.