TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: All
from: David Noon
date: 1996-11-18 20:33:00
subject: Magic code for DosSleep

Hi All,

Does anybody know the magic hexadecimal code for a VDM or VMB to call
DosSleep() under OS/2 3.0 (Warp, non-Connect)?

I have found that INT 21H, function 1680H works in a VDM session, but
not in a VMB session. Hence DOSKEY is soaking up CPU cycles in any
VMB, but is "nice" in a VDM.

I added Peter Fitzsimmons's TAME.COM (this worked under 2.1) to my
VMB's AUTOEXEC.BAT but it had no effect. So, I tried it in a VDM and
it negated the releasing of timeslices. Therefore I concluded that IBM
has changed the magic code after the HLT instruction.

So, does anybody know what it is for Warp?

Regards

Dave


 * KWQ/2 1.2i * "We're not just talking ALIENS - we're talking
AUSTRaliens" - ATG
--- Maximus/2 3.01
* Origin: DoNoR/2,Woking UK (44-1483-725167) (2:440/4)
SEEN-BY: 50/99 270/101 620/243 625/160 711/401 409 410 413 430 808 809 934
SEEN-BY: 711/955 712/407 515 624 628 713/317 800/1
@PATH: 440/4 141/209 270/101 712/515 711/808 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™.