home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / os / os2 / programm / 4645 < prev    next >
Encoding:
Internet Message Format  |  1992-09-01  |  1.2 KB

  1. Path: sparky!uunet!mcsun!Germany.EU.net!uniol!olis!fast!uucp
  2. From: Joakim.Hernberg@p4.f17.n270.z2.fidonet.org (Joakim Hernberg)
  3. Newsgroups: comp.os.os2.programmer
  4. Subject: What is wrong with this post(Idle dos box/giveup time slice)?
  5. Message-ID: <715294798.F00001@fast.fido.de>
  6. Date: 30 Aug 92 11:26:00 GMT
  7. Article-I.D.: fast.715294798.F00001
  8. Sender: uucp@fast.fido.de
  9. Lines: 37
  10.  
  11.  
  12.  > From: mg@elan (Michael Golan)
  13.  > Organization: Princeton University, Dept. of Computer
  14.  > Science
  15.  
  16.  > I posted this about 10 days ago. Only got one followup
  17.  > that didnt answer my questions at all.
  18.  
  19. The preferred way is:
  20.  
  21.     mov    ax, 1680h
  22.     int    2Fh
  23. ;
  24. ;Returns:
  25. ;
  26. ; al = 0   supported
  27. ; al = 80h not suppported
  28.  
  29. Unfortunately this does not work in an image booted DOS session,
  30. the following undocumented inteface has been found though:
  31.  
  32.     hlt
  33.     dw     0CA35h
  34.  
  35. Supposedly dx:ax should specify time to sleep, with 0:0
  36. specifying the remainder of the current slice.  I have not
  37. been able to verify this though...
  38.  
  39. I would appreciate a copy of the results in case someone
  40. investigates this undocumented MVDM interface.
  41.  
  42.  > [I need a DOS system call, not the on in OS2 API]
  43.  
  44. Well, how about them apples ;-)
  45.  
  46.    Joakim Hernberg
  47.    jbh@fido.lu
  48.