Subj : Interrupts
To : Mike Luther
From : Lee Aroner
Date : Sat May 19 2001 03:13 am
LA> In warp 3 and warp 4 beyond FP 6, the call is AX = 1680h Int =
LA> 2fh. Note that the call was broken in the warp 4 GA version up
LA> till FP 6 was released. You can also use the slightly less
LA> effecient DOS IDLE Int = 28h.
ML> I didn't know the FP 6 part of this!
LA> I have a pascal unit that encapsulates all this and a lot more,
LA> such as OS detection, for every Intel based OS, drop an email to
LA>
[email protected] if you want a copy.
ML> would you mind if I got it from you and posted in the
> source tidbits for the PowerBASIC crew? There have been a
> fair number of discussion threads on time releasing in that
> group, which always goes back to things which don't of
> course, include OS/2!
ML> Posting it there, and/or, perhaps, adapting it to in-line
> assembler might be worth a lot to folks...
No I don't mind, although there is a commercial copyright in it.
IE: free for personal use, copyrighted for commercial use.
The unit is pretty much already all assembler, at least all the
OS detection code is.
Any competent programmer could read the pascal code for getting
the OS/2 FP version and setting the correct timeslice drop code,
and convert it as needed.
LRA
-- SPEED 2.01 #2720: Where in the *%&^% *IS* Carmen? San Diego?
--- Maximus/2 3.01
* Origin: Top Hat 2 BBS (1:343/41)