home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!mcsun!Germany.EU.net!uniol!olis!fast!uucp
- From: Joakim.Hernberg@p4.f17.n270.z2.fidonet.org (Joakim Hernberg)
- Newsgroups: comp.os.os2.programmer
- Subject: What is wrong with this post(Idle dos box/giveup time slice)?
- Message-ID: <715294798.F00001@fast.fido.de>
- Date: 30 Aug 92 11:26:00 GMT
- Article-I.D.: fast.715294798.F00001
- Sender: uucp@fast.fido.de
- Lines: 37
-
-
- > From: mg@elan (Michael Golan)
- > Organization: Princeton University, Dept. of Computer
- > Science
-
- > I posted this about 10 days ago. Only got one followup
- > that didnt answer my questions at all.
-
- The preferred way is:
-
- mov ax, 1680h
- int 2Fh
- ;
- ;Returns:
- ;
- ; al = 0 supported
- ; al = 80h not suppported
-
- Unfortunately this does not work in an image booted DOS session,
- the following undocumented inteface has been found though:
-
- hlt
- dw 0CA35h
-
- Supposedly dx:ax should specify time to sleep, with 0:0
- specifying the remainder of the current slice. I have not
- been able to verify this though...
-
- I would appreciate a copy of the results in case someone
- investigates this undocumented MVDM interface.
-
- > [I need a DOS system call, not the on in OS2 API]
-
- Well, how about them apples ;-)
-
- Joakim Hernberg
- jbh@fido.lu
-