home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload / ShartewareOverload.cdr / windows / highmem.zip / HIGHMEM.TXT
Text File  |  1990-06-03  |  4KB  |  101 lines

  1. Notes on Windows 3.0 and High Memory
  2. ************************************
  3.  
  4. As you may have discovered, the standard and 386 enhanced modes of
  5. Windows 3.0 are incompatible with 386 control programs like QEMM
  6. and 386-to-the-Max, and like Windows/386 2.1 before it, the latest
  7. release of Windows provides no "high memory" features.  While this
  8. absence makes little difference to Windows applications, it does
  9. affect the maximum size of any DOS windows opened under the 386
  10. enhanced mode of Windows 3.0.
  11.  
  12. On many 386 machines, however, it is possible to endow a Windows 3.0
  13. environment with high memory by loading either Quarterdeck's QRAM or
  14. Quantilas' Move'em AFTER Microsoft's HIMEM driver.  Designed as memory
  15. enhancement products for 286 machines, these control programs do not
  16. attempt to access protected mode in any manner that conflicts with
  17. either Windows 3.0 (or Windows/386 2.1 for that matter).  The
  18. conventional memory one saves by loading device drivers and TSRs into
  19. high memory, while insignificant as far as Windows is concerned, 
  20. can be of critical significance when attempting to run standard DOS
  21. applications in Windows 3.0's enhanced 386 mode.
  22.  
  23. The following are the contents of typical config and autoexec files,
  24. with and without the high memory produced by Move'em (the syntax is
  25. somewhat different for QRAM, but the results are similiar):
  26.  
  27. Without high memory
  28. *******************
  29.  
  30. STACKS=0,0
  31. FILES=30
  32. BUFFERS=3
  33. DEVICE=C:\HIMEM.SYS
  34. DEVICE=C:\WINDOWS\SMARTDRV.SYS 2048 512 
  35. DEVICE=C:\WINDOWS\RAMDRIVE.SYS 1024 /E
  36. DEVICE=C:\DOS\ANSI.SYS
  37. DEVICE=C:\DOS\MOUSE.SYS
  38. INSTALL=C:\DOS\SHARE.EXE
  39. SHELL=C:\COMMAND.COM /P /E:256
  40.  
  41. CLS
  42. SET TEMP=E:\
  43. PATH C:\;C:\DOS;C:\WINDOWS
  44. PROMPT $P$ 
  45. C:\DOS\DOSKEY.COM
  46. C:\DOS\MODE.EXE LPT1:,,P
  47. C:\DOS\MODE.EXE COM1: 9600,N,8,1
  48. C:\DOS\MODE.EXE COM2: 9600,N,8,1
  49. CLS
  50.  
  51.  
  52. With high memory
  53. ****************
  54.  
  55. STACKS=0,0
  56. FILES=30
  57. BUFFERS=3
  58. DEVICE=C:\HIMEM.SYS
  59. DEVICE=C:\MOVE'EM.MGR EXCLUDE=E000-EFFF      
  60. DEVICE=C:\DOS\MOVE'EM.SYS PROG=C:\WINDOWS\SMARTDRV.SYS 2048 512 
  61. DEVICE=C:\DOS\MOVE'EM.SYS PROG=C:\WINDOWS\RAMDRIVE.SYS 1024 /E
  62. DEVICE=C:\DOS\MOVE'EM.SYS PROG=C:\DOS\ANSI.SYS
  63. DEVICE=C:\DOS\MOVE'EM.SYS PROG=C:\DOS\MOUSE.SYS
  64. SHELL=C:\COMMAND.COM /P /E:256
  65.  
  66. CLS
  67. SET TEMP=E:\
  68. PATH C:\;C:\DOS;C:\WINDOWS
  69. PROMPT $P$ 
  70. C:\DOS\MOVE'EM.COM PROG=C:\DOS\MODE.EXE LPT1:,,P
  71. C:\DOS\MOVE'EM.COM PROG=C:\DOS\DOSKEY.COM                  
  72. C:\DOS\MOVE'EM.COM PROG=C:\DOS\SHARE.EXE
  73. C:\DOS\MODE.EXE COM1: 9600,N,8,1
  74. C:\DOS\MODE.EXE COM2: 9600,N,8,1
  75. CLS
  76.  
  77. (The 64K area from E000 to EFFF excluded on the Move'em load statement
  78. above leaves a page frame for Windows 3.0's own internal EMM manager,
  79. and a pointer to that area can be added to the system.ini file.)
  80.  
  81. In this example, on a 386 with 4 MB of memory and a VGA1024 card,
  82. running under DOS 4.01, Move'em produces 96Kb of non-conflictual high
  83. memory, where some 40Kb worth of device drivers and TSRs are loaded, 
  84. thus relieving the drain on conventional memory by just that much.  
  85. Without any high memory, the maximum executable program size under
  86. DOS is 535Kb, while in a DOS window under Windows 3.0, you are left
  87. with 522Kb; the same setup with high memory, leaves a maximum
  88. executable program size of 579Kb under DOS, and 558Kb for a DOS
  89. window under Windows 3.0.  The 36Kb saved can make all the difference
  90. between running an application inside Windows 3.0, and having to
  91. exit the environment altogether.
  92.  
  93. Note that when loaded in high memory some device drivers and TSRs 
  94. conflict with the environment Windows 3.0 attempts to create (the 
  95. files.com utility packaged with QRAM, for example), so a trial-and-
  96. error approach is necessary.  But even if the only device driver or
  97. TSR you find you can load in high memory is Smartdriv, you'll
  98. still have relieved your conventional memory drain by 20Kb.
  99.  
  100. Ashley Saldanha
  101. 72677,2370