Virtual Devices (3.1) (vdag31qh.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
Update_System_Clock
                                                     Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
include vmm.inc
 
mov     ecx, Time           ; elapsed time in milliseconds
VMMcall Update_System_Clock
 
The Update_System_Clock service updates the current system time and the
current virtual machine's execution time.
 
This service is reserved for exclusive use by the virtual timer device. If
other virtual devices call this service, the VMM timing services will behave
incorrectly.
 
Parameter  Description
────────────────────────────────────────────────────────────────────────────
 
Time       Specifies the number of milliseconds that have elapsed since the
           last call to this service. The service adds this amount to the
           system time maintained by the VMM.
 
Return Value
 
This service has no return value.
 
Comments
 
The virtual timer device must disabled interrupts before calling this
service.
 
Uses
 
Flags
 
                                      ♦