================================================================== MikeOS -- The Mike Operating System kernel MISCELLANEOUS ROUTINES ==================================================================


os_get_api_version

Return current version of MikeOS API

Example:

call os_get_api_version    ; al now contains version number

os_pause

Delay execution for specified microseconds

Example:

; Wait for 2 secs = 2 000 000 uS which is 0x01E8480 in hex.

        mov cx, 0x01E
        mov dx, 0x8480
        call os_pause


os_fatal_error

Display error message and halt execution

Example:

Error_Message   db 'That was a stupid thing to do....', 0

        mov ax, Error_Message
        call os_fatal_error

RETURN TO MAIN PAGE