home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / os / os2 / misc / 40018 < prev    next >
Encoding:
Internet Message Format  |  1992-12-21  |  2.0 KB

  1. Path: sparky!uunet!cs.utexas.edu!ut-emx!ccwf.cc.utexas.edu
  2. From: jbodnar@ccwf.cc.utexas.edu (John Bodnar)
  3. Newsgroups: comp.os.os2.misc
  4. Subject: Re: LOADHIGH: How does it work in OS/2 (simulated DOS) ?
  5. Message-ID: <85586@ut-emx.uucp>
  6. Date: 19 Dec 92 13:31:17 GMT
  7. References: <1992Dec15.051839.12892@midway.uchicago.edu>
  8. Sender: root@ut-emx.uucp
  9. Reply-To: jbodnar@ccwf.cc.utexas.edu (John Bodnar)
  10. Organization: The University of Texas at Austin, Austin TX
  11. Lines: 39
  12.  
  13. According to pynq@midway.uchicago.edu:
  14. >I am an old hand at using QEMM's loadhi commands, but I don't understand
  15. >the loadhigh command in OS/2's simulated DOS.  How does it work?
  16. >What can be loaded high?  How can you tell what is loaded high?
  17. >
  18. >It looks like it is patterned after the LOADHIGH in DOS 5.0, which I
  19. >never learned anything about.  (I always thought DOS 5.0 was a crude
  20. >imitation/hack of DOS 3.31 with QEMM)
  21.  
  22. Yes, the LOADHIGH in OS/2 v2.0 is patterned after that in DOS 5.0, meaning
  23. that it's dumb.  You cannot specify regions into which you want a
  24. particular program loaded.
  25.  
  26. OS/2 does give you a bigger UMB than DOS 5.0 which should eliminate some
  27. problems.  To use LOADHIGH just do the following...
  28.  
  29. for TSRs:
  30.  
  31. lh progname
  32.  
  33. for DEVICE DRIVERS: 
  34.  
  35. under the DOS settings for a specific program object, add a line to the
  36. DOS_DEVICE setting, such as...
  37.  
  38. C:\UTIL\DOSDEVICE.SYS /parm1 /parm2 /etc
  39.  
  40. Please note that certain device drivers cannot be added in this way.  An
  41. example would be the RAMDRIVE.SYS that comes with DOS 5.0.  It is a block
  42. device driver and cannot be created in a VDM.
  43.  
  44. I'm not sure about this, but if you need to use a driver like this, and it
  45. does not work in a VDM, you could add a DEVICE= line to your CONFIG.SYS
  46. file.  I think OS/2 will then load the device into all VDMs.
  47. -- 
  48. John Bodnar                          : Friends don't let friends use Windows!
  49. The University of Texas at Austin    : But I'm still waiting for Microsoft
  50. Internet: jbodnar@ccwf.cc.utexas.edu : Solitaire NT!  Heaven forbid, another
  51. UUCP: ....!cs.utexas!ut-ccwf!jbodnar : productive user of OS/2 v2.0!
  52.