TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Phil Crown
from: Mikko Hyvarinen
date: 1995-12-19 10:15:10
subject: DosSleep in an OS/2 VDM?

Hello Phil!

Saturday December 16 1995 10:39, Phil Crown wrote to Mikko Hyvarinen:

 PC> There are a couple of examples in SNIPPETS (SNIP95??.ZIP) for giving up
 PC> time slices in DOS.  Here one of them (the other one is too large to post
 PC> the whole thing),
 PC>       regs.x.ax = 0x1680;
 PC>       int86(0x2f, ®s, ®s);
 PC>       return (regs.h.al == 0x80)? 0 : 1;

Nah, that's the ordinary DPMI timeslice release function.
The problem is: it's dead slow. If I could use DosSleep(1000), things would be fine.

Thanks for the effort, though.

--- GoldED/2 2.50 UNREG
* Origin: Mikko.Hyvarinen{at}p5.f229.n229.z2.fidonet.org (2:229/229.5)
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: 229/229 0 220/841 201/2104 109/347 716 13/25 396/1 270/101 712/515
@PATH: 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™.