| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | DosSleep in an OS/2 VDM? |
MH> Does anybody have any experience in using the DosSleep function in a
> DOS VDM under OS/2? I found some info (from INTER47*.*) about using
> OS/2 functions from a DOS program running in a VDM, but the DosSleep
> function is missing from the list. If somebody has more specific
> information than the following, please drop a message.
The following is documented in INTER48:
================================ Begin =================================
___-----W-2F1680-----------------------------
INT 2F - 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.0, 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
WIN 3+, the VM will go into an idle-state and will not receive
the next slice before 8 seconds. This time can be changed in
SYSTEM.INI through "IdleVMWakeUpTime=". Setting to
zero results in a long wait.
SeeAlso: INT 15/AX=1000h,INT 15/AX=5305h,INT 21/AH=89h,INT 7A/BX=000Ah
================================= End ==================================
--From Bay Ridge, Brooklyn, NY, Mon, 12-18-95--
--Internet: joe.negron{at}consultant.com--
... Programmer's Mark: 718-921-9267-Programming, Archivers, OS/2, E-Text
--- Maximus 3.00
* Origin: * BlueDog BBS * (212) 594-4425 * NYC FileBone Hub (1:278/304)SEEN-BY: 270/101 620/243 711/401 409 410 413 430 808 809 934 955 712/407 515 SEEN-BY: 712/517 628 713/888 800/1 7877/2809 @PATH: 278/304 270/101 712/515 711/808 809 934 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.