Subj : Interrupts
To : Nick Andre
From : Lee Aroner
Date : Fri May 18 2001 01:51 pm
NA> Hi...
>
> I have two questions about programming for OS/2.
>
> First, what is the DOS interrupt to give up timeslicing
> back to the OS? I think its 2F, but can someone tell me for
> sure? And when specifically should a timeslice be given
> back to OS/2? (keyboard idling, etc?)
In warp 3 and warp 4 beyond FP 6, the call is AX = 1680h Int =
2fh. Note that the call was broken in the warp 4 GA version up
till FP 6 was released. You can also use the slightly less
effecient DOS IDLE Int = 28h.
I have a pascal unit that encapsulates all this and a lot more,
such as OS detection, for every Intel based OS, drop an email to
[email protected] if you want a copy.
LRA
-- SPEED 2.01 #2720: Canadian DOS prompt: EH?\>
--- Maximus/2 3.01
* Origin: Top Hat 2 BBS (1:343/41)