;   ####             #    #     # #
;   #   #            #    #       #          The FreeWare C library for
;   #   #  ##   ###  #  # #     # ###             RISC OS machines
;   #   # #  # #     # #  #     # #  #   ___________________________________
;   #   # ####  ###  ##   #     # #  #
;   #   # #        # # #  #     # #  #    Please refer to the accompanying
;   ####   ### ####  #  # ##### # ###    documentation for conditions of use
;   ________________________________________________________________________
;
;   File:    Misc.MonoTime.s
;   Author:  Copyright  1993 Jason Williams
;   Version: 1.00 (14 May 1993)
;   Purpose: Read time since startup in centiseconds (Desk_OS_ReadMonotonicTime)
;            (This is used in conjunction with Desk_Wimp_PollIdle)

        GET     Desk.sh.regdefs
        GET     ^.h.swinos
        GET     Desk.sh.macros

        PREAMBLE
        STARTCODE Desk_Time_Monotonic
;
        MOV  ip, lr
        SWI  Desk_SWI_OS_ReadMonotonicTime + Desk_XOS_Bit
        Desk_Error2_CheckV
        MOVS pc, ip
;
        END
