home *** CD-ROM | disk | FTP | other *** search
/ Programmer 7500 / MAX_PROGRAMMERS.iso / PROGRAMS / UTILS / MEMORIA / CTMAP092.ZIP / CTMAP.DOC next >
Encoding:
Text File  |  1989-08-14  |  14.0 KB  |  326 lines

  1. CTMAP 0.92 - DOS memory extender for 80386 "AT" computers which use
  2.              Chips & Technologies 82C302/82C307 DRAM controller chips.
  3.  
  4.      Copyright 1989, Burton Systems Software.  All rights reserved.
  5.  
  6.                        Burton Systems Software
  7.                   P.O. Box 4165, Cary, NC 27519 USA
  8.                            (919) 481-0098
  9.  
  10.  
  11. ------------------------------ OVERVIEW -----------------------------
  12.  
  13. The CTMAP package contains two programs: CTMAP and LOADHIGH.
  14.  
  15. CTMAP:
  16.  
  17. If you are using an 80386 computer with the Chips and Technologies
  18. 82C302 or 82C307 DRAM controller chip, CTMAP can dramatically increase
  19. the amount of usable RAM memory available to DOS - from the usual 640K
  20. to as much as 944K, depending upon what adapters you have installed in
  21. your computer.
  22.  
  23. Usually, 64-96K of this additional memory will be contiguous with the
  24. 640K of memory which DOS normally uses, increasing that area to 704K
  25. or 736K.  Additionally, CTMAP can enable DOS to use up to 240K of
  26. discontiguous RAM, located above the display adapter RAM and below the
  27. ROM BIOS.  However, some programs can't use discontiguous RAM (and
  28. CHKDSK ignores it).
  29.  
  30. LOADHIGH:
  31.  
  32. LOADHIGH is used to make programs (expecially TSRs) load in high memory.
  33. By installing your TSRs in high memory (above the display RAM), you
  34. can further increase the amount of contiguous low memory available for
  35. other application programs.
  36.  
  37.  
  38. -------------------------------- CTMAP ------------------------------
  39.  
  40. Usage:   CTMAP [options]
  41. Options are:
  42.   /A  - automatic mode, add all available RAM to DOS's memory pool
  43.   /C  - like automatic mode, but only adds contiguous RAM
  44.   /R  - display 82C302/82C307 registers
  45.   +xx - enable specified high RAM segment (segment names are listed below)
  46.   -xx - disable a previously enabled RAM segment
  47.   /I  - initialize the "+xx" memory segment(s) (to avoid parity errors)
  48.   /D  - add specified "+xx" memory segment(s) to DOS's memory pool
  49.   /B  - bump the BIOS data area RAM size at 40:13
  50.    ?  - Help!
  51.  
  52. For most users, the easiest way to use CTMAP is with the /A parameter.
  53. CTMAP will try to automatically add the maximum possible amount of RAM
  54. to DOS's memory pool.  Then CTMAP exits.  CTMAP is not a "TSR" (resident)
  55. program; it simply instructs the 82C302 or 82C307 hardware in your
  56. computer to enable the additional RAM, then it tells DOS about the
  57. additional RAM and quits.
  58.  
  59. Example (for monochrome systems):
  60.  
  61.     CTMAP /A
  62.  
  63.  
  64. ------------------------------- EGA/VGA -----------------------------
  65.  
  66. Users with EGA and VGA displays who use their displays in graphic modes
  67. will not be able to use the /A option alone.  Unfortunately, these
  68. display adapters, when switched into their various graphic modes, use
  69. a lot of the high address space.  The following command will work on
  70. most (maybe all) VGA systems, even if they use graphics; however, it will
  71. only add 64K of RAM to the DOS memory pool (less, if some other device
  72. uses part of the E0000 memory segment):
  73.  
  74.     CTMAP /A -A -B0 -B4 -B8 -C -D
  75.  
  76. You may be able to add more than 64K of memory on your computer; try
  77. CTMAP with various "-xx" options omitted, and see if it works with the
  78. graphics-oriented programs which you use.
  79.  
  80. Note: you must reboot your computer each time you try CTMAP with different
  81. "-xx" options; you cannot simply re-run CTMAP 0.92 with the different
  82. options (we'll probably add this capability in a later version of CTMAP).
  83.  
  84.  
  85. ------------------------------- LOADHIGH ----------------------------
  86.  
  87. Usage:  LOADHIGH ON
  88.    or:  LOADHIGH OFF
  89.  
  90. After enabling high RAM with CTMAP, you can use LOADHIGH to force TSRs
  91. (resident programs) to load up there, thus making more contiguous low
  92. memory available for your other programs.
  93.  
  94. To reserve low memory so that subsequently run programs load in high
  95. memory, run "LOADHIGH ON" twice.
  96.  
  97. To un-reserve low memory so that other programs can again be loaded
  98. there, run "LOADHIGH OFF" once.
  99.  
  100.  
  101. ------------------------------- EXAMPLE -----------------------------
  102.  
  103.     REM  --  this is a sample AUTOEXEC.BAT file  --
  104.     rem  First, enable high memory with CTMAP:
  105.     C:\UTIL\CTMAP /A
  106.     rem  Then reserve low memory so TSR programs load in high memory:
  107.     C:\UTIL\LOADHIGH ON
  108.     C:\UTIL\LOADHIGH ON
  109.     rem  Then load your favorite TSRs:
  110.     C:\PTTOOLS\MIRROR C: /TC
  111.     C:\PCTOOLS\PC-CACHE /IA /IB
  112.     C:\UTIL\CED
  113.     rem  Then un-reserve low RAM:
  114.     C:\UTIL\LOADHIGH OFF
  115.     rem  Then set up PATH, environment variables, etc.
  116.     PATH ..;..\..;c:\;c:\util;c:\slick;c:\dos
  117.     SET tlibcfg=\util\tlib.cfg
  118.     SET tlibid=DAVE
  119.     PROMPT $P$G
  120.     REM  --  end of sample AUTOEXEC.BAT  --
  121.  
  122.  
  123. ----------------------------- MORE DETAIL ---------------------------
  124.  
  125. If you want complete control over which memory segments CTMAP will use, or
  126. if you want to enable some high RAM but not tell DOS, you can use the "+xx",
  127. /I and/or /D options, where "xx" is any of the following:
  128.  
  129. "A0" (A0000-A3FFF)  "A4" (A4000-A7FFF)  "A8" (A8000-ABFFF)  "AC" (AC000-AFFFF)
  130. "B0" (B0000-B3FFF)  "B4" (B4000-B7FFF)  "B8" (B8000-BBFFF)  "BC" (BC000-BFFFF)
  131. "C0" (C0000-C3FFF)  "C4" (C4000-C7FFF)  "C8" (C8000-CBFFF)  "CC" (CC000-CFFFF)
  132. "D0" (D0000-D3FFF)  "D4" (D4000-D7FFF)  "D8" (D8000-DBFFF)  "DC" (DC000-DFFFF)
  133. "E0" (E0000-E3FFF)  "E4" (E4000-E7FFF)  "E8" (E8000-EBFFF)  "EC" (EC000-EFFFF)
  134.  "A" (A0000-AFFFF)   "C" (C0000-CFFFF)   "D" (D0000-DFFFF)   "E" (E0000-EFFFF)
  135.  
  136. To enable a 16K RAM area (above 640K), specify its name on the command line,
  137. prefixed by "+".  To disable a 16K RAM area, prefix it with a "-".  (But do
  138. not disable any RAM which CTMAP has already added to the DOS memory pool!)
  139.  
  140. You can specify the +xx option as many times as necessary to select
  141. multiple memory segments (CTMAP will automatically merge adjacent ones).
  142. Thus, "CTMAP +A /I /D" is equivalent to "CTMAP +A0 +A4 +A8 +AC /I /D".
  143. (If you don't understand hexadecimal addresses and that sort of thing, don't
  144. worry - just use the /A option.)
  145.  
  146. To initialize the newly enabled RAM, specify the /I parameter (but omitting
  147. the /I could possibly give you a way to recover data in high memory after
  148. re-booting your computer).
  149.  
  150. To add the newly enabled RAM to DOS's memory pool (also called the Memory
  151. Control Block list or MCB list), add the /D parameter.  If you don't want
  152. DOS to know about the additional RAM, do not specify /D, /A, or /C.  (Note:
  153. the RAM currently in DOS's memory pool ends at F0000).
  154.  
  155. Example:  "CTMAP +A +B8 +BC +C +D +E /I /D" adds A0000-AFFFF and B8000-EFFFF
  156. to DOS's memory pool; that is, all the available RAM above 640K and below 1M
  157. on a bare-bones machine with a monochrome graphics display adapter addressed
  158. at B0000-B7FFF and the BIOS at F0000-FFFFF.
  159.  
  160.  
  161. ------------------------------- CAVEATS -----------------------------
  162.  
  163. 1) If you find that some I/O device or EMS memory card fails when you
  164. use "CTMAP /A", you can use explicit "-xx" options to prevent CTMAP from
  165. using particular areas of RAM.  We suggest trial and error to determine
  166. which memory segments you can and cannot allow CTMAP to use.  For display
  167. adapters, the most likely culprits are the B and C segments.  Example:
  168.  
  169.     CTMAP -AC -C /A
  170.  
  171. 2) A few TSRs may not work when loaded in high memory.  In particular,
  172. TSRs which increase the size of the keyboard type-ahead buffer cannot
  173. work when loaded in high memory.
  174.  
  175. 3) We've noticed that some command line editor programs get confused
  176. about which retrieval buffer to use if they are loaded in high memory or
  177. if they are loaded before CTMAP and LOADHIGH are run.  DOSEDIT, NDOSEDIT
  178. and RETRIEVE have this problem, so if you use one of them, you should
  179. install it at the end of your AUTOEXEC.BAT, after the "LOADHIGH OFF".
  180. However, CED and PCED (two other popular command line editors) do not
  181. seem to have this problem.
  182.  
  183. 4) So far, we have been unable to make device drivers load in high memory.
  184. If you are an expert on the guts of DOS and know how to do this, we'd
  185. welcome the help.  In the meantime, we suggest that users of CTMAP use
  186. a TSR-style RAMDISK or CACHE program instead of DOS's VDISK, or else (if
  187. you have more than 1 megabyte of RAM memory), run it with the buffer in
  188. extended or expanded memory.
  189.  
  190. 5) We're using undocumented DOS features to manipulate the DOS memory
  191. pool, so we cannot guarantee compatibliity with future DOS releases.
  192. In fact, we haven't even tested version 0.92 of CTMAP and LOADHIGH with
  193. all current DOS releases, (DOS 4.0, in particular).  If you have a
  194. problem, let us know - perhaps we can solve it.
  195.  
  196.  
  197. --------------------------------- LANs ------------------------------
  198.  
  199. Most local area network adapters use some high address space.  CTMAP
  200. will generally detect the LAN adapter RAM and/or ROM, and not enable
  201. general purpose RAM at that address.  In other words, CTMAP will
  202. probably not interfere with your LAN, but the presence of the LAN
  203. adapter will probably reduce the amount of RAM which CTMAP can add to
  204. DOS's memory pool.
  205.  
  206. If you can choose the memory address for your LAN card, it is a good
  207. idea to try to pick an address adjacent to either the  ROM BIOS (at
  208. F0000) or the display RAM (the address depends upon your display
  209. adapter).  This will allow CTMAP to add the high memory to DOS's
  210. memory pool as one big chunk of memory instead of two little chunks,
  211. so that bigger programs will fit in it, with less wasted RAM.
  212.  
  213. Example:
  214.  
  215. We use Novell Netware on an Arcnet, using Network Innovations' PcARC
  216. network adapter.  It uses 16K of RAM at an address which is selected
  217. by DIP switches on the board.  The most common setting, and the one
  218. expected by Novell's ANET3.COM program is:
  219.  
  220.         D0000 (the default)
  221.  
  222. However, we relocated it to:
  223.  
  224.         EC000 (just below the BIOS RAM)
  225.  
  226. (Note: the Network Innovations documentation refers to these addresses
  227. as D000H and EC00H.)
  228.  
  229. To use the reconfigured card with our version of Novell Netware, it was
  230. necessary to patch ANET3.COM.  Our version of Netware uses a 50605 byte
  231. version of ANET3.COM, dated 05/16/88.  When run with the "I" option it
  232. displays:
  233.  
  234.         Advanced/SFT NetWare V2.01-2 Workstation Shell for PC DOS V3.x
  235.         Copyright (c) by Novell, Inc.  1983, 1987
  236.         LAN Option: Standard Microsystems ARCNET
  237.  
  238. This version of ANET3.COM is fairly easy to patch (if you are
  239. comfortable using DOS debug).  Simply use DOS debug to search the
  240. file for the eight instances of 00 D0, and change all eight instances
  241. to 00 EC.
  242.  
  243.  
  244. ------------------------------- LICENSE -----------------------------
  245.  
  246. This software is not free.  You may try it out on your computer(s) at no
  247. cost, but if you like it and decide to continue using it, or if you add
  248. it to your AUTOEXEC.BAT, then you must register it at a cost of $35 per
  249. computer.
  250.  
  251.  
  252. ------------------------------ REGISTRATION -------------------------
  253.  
  254. Register by sending $35 per computer to:
  255.  
  256.     CTMAP 0.92 registration
  257.     Burton Systems Software
  258.     P.O.Box 4165, Cary, NC 27519  USA
  259.  
  260. Please include the following:
  261.  
  262.   Your full name, your company (if any), your telephone number(s), your
  263.   mailing address (including country), the number of computers you are
  264.   registering for use of CTMAP 0.92, the brands and models of your
  265.   computers & your version of DOS, and your payment of $35 US (or $45
  266.   Canadian) per computer.  Also, please answer the questions:  "Are you
  267.   a programmer?  In what computer languages?"
  268.  
  269. Payment should be by check or money order on a US or Canadian bank, or
  270. by Visa, MasterCard or EuroCard charge.  If paying by credit card, please
  271. be sure to include your credit card number, expiration date, type of card
  272. (Visa or MC), and the name on the card; and please sign your letter.  Or,
  273. with a credit card, you can register by telephone or FAX.  Call us at
  274. (919) 856-0475 (if you are using a FAX, we will transfer your call to the
  275. FAX machine upon request; after hours, you can use a touch-tone telephone
  276. to make our Voice Mail system transfer your call).
  277.  
  278.  
  279. ------------------------------ DISTRIBUTION -------------------------
  280.  
  281. You are encouraged to give copies of this software to your friends and
  282. colleagues for trial on their computers.  You are free to "upload" this
  283. software to any computer bulletin board system (BBS).  You may charge
  284. recipients of this software a fee of no more than $6 US plus the cost
  285. of the distribution media, provided that purchasers are forewarned that
  286. continued use requires registration with Burton, and that registration
  287. costs $35. However, under no circumstances may "patched" or otherwise
  288. modified copies of this software be distributed without prior written
  289. permission from Burton.
  290.  
  291. Manufacturers and distributors of computer equipment should contact
  292. Burton to purchase distribution licenses for customized versions of this
  293. software.
  294.  
  295.  
  296.  
  297.  
  298. -------------------------- DISCLAIMER OF WARRANTY -------------------
  299.  
  300. No warranty is expressed or implied.  Use this software at your own risk.
  301. However, if you encounter problems, or if you have suggestions for
  302. improvement, we would like to hear from you.
  303.  
  304.  
  305. ------------------------------- WHO ARE WE? -------------------------
  306.  
  307. Burton Systems Software is a commercial software development company
  308. located in Raleigh, North Carolina.  We specialize in systems software
  309. and software development tools for programmers.  We are best known for our
  310. TLIB (tm) Version Control System for MS-DOS (and soon for OS/2).  TLIB is
  311. the fastest, most powerful, and easiest to use version control software
  312. available for PCs.  It elegantly solves many of the headaches attendant
  313. to software development.  But don't take our word for it - give us a call,
  314. and we'll gladly send you more information, including a long list of
  315. quotes from enthusiastic magazine reviewers.  Or try it out - TLIB comes
  316. with a full 90 day warranty (unlike CTMAP!).  Our telephone number is
  317. (919) 856-0475.
  318.  
  319.  
  320. ---------------------------------  BONUS!  --------------------------
  321.  
  322. When you register CTMAP, you'll receive a coupon worth $30 off the price
  323. of a TLIB Version Control System.  You may also receive an updated
  324. version of CTMAP (at our option), if we have improved it significantly
  325. since 6-Jul-89.
  326.