home *** CD-ROM | disk | FTP | other *** search
/ Programmer 7500 / MAX_PROGRAMMERS.iso / PROGRAMS / UTILS / MEMORIA / MEMXD.ZIP / LOADHIGH.DOC < prev    next >
Encoding:
Text File  |  1990-02-23  |  3.4 KB  |  84 lines

  1. LOADHIGH 0.97 - Makes programs load in high RAM - part of the CTMAP package.
  2. Copyright 1989-1990, Burton Systems Software.  All rights reserved.
  3.  
  4. Usage:  LOADHIGH ON
  5.    or:  LOADHIGH OFF
  6.    or:  LOADHIGH LOW
  7.    or:  LOADHIGH HIDE
  8.    or:  LOADHIGH UNHIDE
  9.    or:  LOADHIGH nnnn
  10.  
  11. After enabling high RAM with CTMAP, you can use LOADHIGH to force TSRs
  12. (resident programs) to load up there, thus making more contiguous low memory
  13. available for your other programs.
  14.  
  15. To reserve low memory so that subsequently run programs load in high memory,
  16. run "LOADHIGH ON" twice.
  17.  
  18. To un-reserve low memory so that other programs can again be loaded there,
  19. run "LOADHIGH OFF" once.
  20.  
  21. If you run "LOADHIGH ON" but there is no high RAM available, LOADHIGH will
  22. display the message, "No high memory available" and return DOS errorlevel 1.
  23.  
  24. The LOW, HIDE and UNHIDE options are rarely needed, but they are provided
  25. for use with some finicky prorams which may not otherwise work with CTMAP.
  26.  
  27. LOADHIGH LOW is similar to LOADHIGH ON, except that LOADHIGH LOW reserves
  28. high RAM instead of low RAM.  You can use it to force a program to load in
  29. low RAM even if there is more room in high RAM.  Or, you can use it if you
  30. need to run a persnickety program which objects to the presence of free
  31. memory above the video display.  Running LOADHIGH OFF will undo the effects
  32. of either LOADHIGH ON or LOADHIGH LOW.
  33.  
  34. A few programs won't work correctly if there is any high RAM at all, whether
  35. the RAM is free or used.  Softsmarts' edition of Smalltalk-80 is one such
  36. program.  For compatibility with such programs, you can "hide" the high RAM
  37. with LOADHIGH HIDE.  This temporarily "breaks" the DOS memory control block
  38. chain to remove the high RAM from the DOS memory pool, so that finicky
  39. programs will be unaware of the high RAM.  Most TSRs loaded in high memory
  40. will continue to function even though they are no longer in the DOS memory
  41. pool.  After the finicky program exits, you can reattach the high RAM to the
  42. memory control block chain with command LOADHIGH UNHIDE.  The only problem
  43. with this technique is that it may be incompatible with some TSRs.
  44.  
  45. The nnnn (4 hex digits) option specifies a segment address below which all
  46. RAM will be reserved; it can be undone with LOADHIGH OFF
  47.  
  48.  
  49. Example:
  50.  
  51.     REM  --  this is a sample AUTOEXEC.BAT file  --
  52.     rem  First, enable high memory with CTMAP:
  53.     C:\UTIL\CTMAP /A
  54.     rem  Then reserve low memory so that TSR programs load in high memory:
  55.     C:\UTIL\LOADHIGH ON
  56.     C:\UTIL\LOADHIGH ON
  57.     rem  Then load your favorite TSRs:
  58.     C:\PCTOOLS\MIRROR C: /TC
  59.     C:\PCTOOLS\PC-CACHE /IA /IB
  60.     C:\UTIL\CED
  61.     rem  Then un-reserve low RAM:
  62.     C:\UTIL\LOADHIGH OFF
  63.     rem  Then set up PATH, environment variables, etc.
  64.     PATH ..;..\..;c:\;c:\util;c:\slick;c:\dos
  65.     SET tlibcfg=\util\tlib.cfg
  66.     SET tlibid=DAVE
  67.     PROMPT $P$G
  68.     REM  --  end of sample AUTOEXEC.BAT  --
  69.  
  70.  
  71.  
  72.  
  73.                             *** LICENSE ***
  74.  
  75. This software is not free.  You may try it out on your computer(s) at no cost,
  76. but if you like it and decide to continue using it, or if you add it to your
  77. AUTOEXEC.BAT, then you must register it at a cost of $30 per computer.
  78.  
  79. LOADHIGH is part of the CTMAP package.  The registration fee covers the cost of
  80. a license for the use of both programs.  Run "CTMAP ?" for details.
  81.  
  82. Burton Systems Software, P.O. Box 4156, Cary, NC 27519.  Tel: (919) 856-0475.
  83.  
  84.