Int 2F/AX=1680h

Prev Next Ralf Interrups Categories Contents

------

MS Windows, DPMI, various - RELEASE CURRENT VIRTUAL MACHINE TIME-SLICE

AX = 1680h

Return:
AL = status 00h if the call is supported 80h (unchanged) if the call is not supported

Notes: Programs can use this function in idle loops to enhance performance under multitaskers; this call is supported by MS Windows 3+, DOS 5+, DPMI 1.0+, and in OS/2 2.0+ for multitasking DOS applications. Does not block the program; it just gives up the remainder of the time slice. Should not be used by Windows-specific programs. When called very often without intermediate screen output under MS Windows 3.x, the VM will go into an idle-state and will not receive the next slice before 8 seconds have elapsed. This time can be changed in SYSTEM.INI through "IdleVMWakeUpTime=". Setting it to zero results in a long wait.. This function has no effect under OS/2 2.10-4.0 if the DOS box has an "Idle Sensitivity" setting of 100

See Also: AX=1689h - INT 15/AX=1000h - INT 15/AX=5305h -

Category: Windows - Int 2Fh - M

------

Prev Next Ralf Interrups Categories Contents