home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / os / os2 / misc / 25360 < prev    next >
Encoding:
Text File  |  1992-07-23  |  2.6 KB  |  70 lines

  1. Newsgroups: comp.os.os2.misc
  2. Path: sparky!uunet!cis.ohio-state.edu!magnus.acs.ohio-state.edu!smsmith
  3. From: smsmith@magnus.acs.ohio-state.edu (Stephen M Smith)
  4. Subject: Re: Specific DOS and memory
  5. Message-ID: <1992Jul24.052305.24994@magnus.acs.ohio-state.edu>
  6. Sender: news@magnus.acs.ohio-state.edu
  7. Nntp-Posting-Host: bottom.magnus.acs.ohio-state.edu
  8. Organization: The Ohio State University
  9. Date: Fri, 24 Jul 1992 05:23:05 GMT
  10. Lines: 58
  11.  
  12. pjb3@cunixb.cc.columbia.edu (Paul J Bodin) writes:
  13.  
  14. >rneilly@okcadm.okanagan.bc.ca (The Mad Alchemist) writes:
  15. >>Question : can a VDM created using VMDISK have EMS/XMS, DOS loaded
  16. >>high, UMB's for loading device drivers high, etc.
  17. >
  18. >It is indeed possible to do it all.  Remember to use FSFILTER.SYS in
  19. >the image CONFIG.SYS, and then simply substitue the HIMEM.SYS and
  20. >EMM386.SYS from the /os2/mdos directory instead of the native DOS
  21. >versions.  Be sure to provide enough memory in DOS Settings to do what
  22. >you try to do with the image configuration files, and all should go
  23. >swimmingly.
  24.  
  25. In case it helps anyone here is the config.sys for booting a
  26. DR DOS 6 image under OS/2:
  27.  
  28. DEVICE=A:\FSFILTER.SYS
  29. DOS=HIGH,UMB
  30. DEVICEHIGH=D:\OS2\MDOS\EMM386.SYS
  31. DEVICEHIGH=D:\OS2\MDOS\HIMEM.SYS
  32. BUFFERS=20
  33. FILES=20
  34. FCBS=4,1
  35. SHELL=C:\COMMAND.COM C:\ /P /E:256
  36.  
  37. As you can see, you CAN load DOS high and give it UMB's.  But the
  38. OS has to be able to do this of course--DOS 4.01 can't do this.
  39.  
  40. Speaking of DOS 4.01, here's the config.sys I use for booting DOS 4.01
  41. under OS/2:
  42.  
  43. DEVICE=A:\FSFILTER.SYS
  44. DEVICE=D:\OS2\MDOS\EMM386.SYS
  45. DEVICE=D:\OS2\MDOS\HIMEM.SYS
  46. BUFFERS=20
  47. FILES=20
  48. FCBS=4,1
  49. BREAK=ON
  50. SHELL=D:\OS2\MDOS\BOOT-DOS\DOS401\COMMAND.COM /P /E:256
  51.  
  52. Of course you'll have to keep your DOS executables separate for each
  53. DOS.  For DR DOS 6, all the system files are on my C: drive, separate
  54. from my OS/2 system files which are on drive D:.  For DOS 4.01, I
  55. have all the system files in D:\OS2\MDOS\BOOT-DOS\DOS401.  To 
  56. distinguish these two I just set the appropriate paths so they use
  57. the correct system files and executables.  Then at the end of a
  58. minimal autoexec.bat file for each DOS version, I have each branch
  59. to another batch file in which I have additional commands ending
  60. with an FSACCESS A:.  This way I can alter the contents of their
  61. autoexec.bat files without having to redo the entire DOS image on
  62. my hard drive.
  63.  
  64. Hope that helps.
  65.  
  66.    Steve Smith       | __|__ |    " #*&<-[89s]*(k#$@-_=//a2$]'+=.(2_&*%>,,@
  67. <smsmith@magnus.acs. |   |   |      {7%*@,..":27g)-=,#*:.#,/6&1*.4-,l@#9:-) "
  68.   ohio-state.edu>    |   |   | 
  69.   BTW, WYSInaWYG     |   |   |                           --witty.saying.ARC
  70.