home *** CD-ROM | disk | FTP | other *** search
/ Simtel MSDOS - Coast to Coast / simteldosarchivecoasttocoast.iso / info / 896k_mem.txt < prev    next >
Text File  |  1994-03-07  |  10KB  |  195 lines

  1.  
  2.         WHAT IS HIGH MEMORY, WHY DO I CARE, AND HOW CAN I USE IT? 
  3.                       BY CY ATKINSON 
  4.  
  5.   WHAT IS IT: 
  6.  
  7.      The 8088 chip, the engine in the PC and XT, can address one meg in 16 
  8.   64K segments numbered 0 thru F.  IBM has designed the hardware of the PC 
  9.   and XT to make the first 640K available to PCDOS and the user, and 
  10.   reserved the upper 360K for various hardware functions such as ROS and 
  11.   screen buffers, etc.  This upper portion of the 1 meg address capability 
  12.   is refered to as HIGH MEMORY, and it is available for the user in 64K 
  13.   segments IF THE SPECIFIC HARDWARE WHICH USES THAT SEGMENT IS NOT 
  14.   INSTALLED. 
  15.  
  16.      With the exception of the area from 640 to 704K (the eleventh 64K seg- 
  17.   ment, and hence segment 'A'), HIGH MEMORY can not be directly addressed 
  18.   by DOS.  But it can be used by various special programs.  These programs 
  19.   include RAMDISK programs such as HIGHDISK, which use a portion of HIGH 
  20.   MEMORY as a virtual disk drive; DOS extenders, such  as RAMADE, which 
  21.   allow you to load DOS "extensions" into this normally unused space; and 
  22.   simple "lid lifters" such as DOSMEM, which change the maximum  size of 
  23.   the DOS region from 640K to 704K (and even in some special circumstances, 
  24.   to 736K). 
  25.  
  26.   WHY DO I CARE: 
  27.  
  28.      A COUPLE OF MONTHS AGO, A DISCUSSION WAS ENTERED IN AN INTERNAL IBM BBS 
  29.   as to how storage addresses are decoded on the IBM PC XT motherboard. 
  30.   The idea was advanced that it should be possible to replace all four 
  31.   banks of 64K chips with 256K chips, plug in a "custom" prom at U44, and 
  32.   depending on the system's hardware configuration, have up to 256K of 
  33.   additional HIGH MEMORY available for ramdisk, print spooler, DOS 
  34.   extensions, or whatever. 
  35.  
  36.      Well, it's been done.  IT WORKS!  IT'S EASY!  IT INVOLVES NO SOLDERING 
  37.   OR MODIFICATIONS TO THE MOTHERBOARD EXCEPT REPLACING SOCKETED CHIPS --- 
  38.   AND IT'S *C*H*E*A*P*!*  At current San Jose prices, the cost of taking 
  39.   an XT from 640K to 896K is under $50.  It would cost less than $95 to go 
  40.   all the way from 256K to 896K. 
  41.  
  42.      On my PPC, I run a 360k ramdisk, a 96k ramdisk, a 30K print spooler, 
  43.   and still have 410K left for DOS and applications.  A friend runs 192K 
  44.   of ramdisk, print spoolers, and DOS extensions, and still has a 704K DOS 
  45.   address space. 
  46.  
  47.   HOW DO I DO IT: 
  48.  
  49.      The six 64K sebments above 640K are reserved as follows: 
  50.  
  51.   * Segment A is reserved for the fully expanded Enhanced Graphics Adapter. 
  52.  
  53.   * Segment B is reserved for the Mono and Color graphics adapters. 
  54.  
  55.   * Segment C is reserved for the Hard Disk Adapter, and the 3270 card. 
  56.  
  57.   * Segments D and E are reserved for extended/expanded memory 
  58.     (In the PC Jr, this space is used for the rom cartridges.) 
  59.  
  60.   * Segment F is reserved for BIOS and Basic Rom, and is not available. 
  61.  
  62.      To access HIGH MEMORY (any combination of segments A C D E) on an IBM 
  63.   PC XT which already has 640K on the motherboard, all you have to do is: 
  64.  
  65.     1. Replace the 64K chips in the appropriate banks with 256K chips. 
  66.        (see the information below on options for programming the U44 
  67.        decoder chip). 
  68.  
  69.     2. Replace the original U44 decoder ROM with one programmed to your 
  70.        needs according to the information in this article. 
  71.  
  72.     3. Set the jumpers at E2, and SW2 positions 3 and 4, to select the 
  73.        desired memory configuration (determined by how the new U44 is 
  74.        programmed and by your hardware configuration). 
  75.  
  76.      (If you have not already expanded to 640K, you will also have to 
  77.   insert a 74LS158 chip in the empty chip socket U84, and you may have to 
  78.   install a jumper at E2, in addition to inserting the extra storage chips) 
  79.  
  80.   TELL ME ALL ABOUT U44: 
  81.  
  82.      U44 is a 256 X 4 bit prom.  That is, it has 256 addresses, each of 
  83.   which contains a single hex digit (four bits) of data.  This data is 
  84.   arranged into sixteen decoding tables, each of which has sixteen entries. 
  85.   These tables are what tell the machine whether a particular 64K segment 
  86.   of storage exists, and in which bank of chips it is located. 
  87.  
  88.      Which table is used is determined by the E2 jumpers and SW2 pos 3 & 4. 
  89.   These comprise the four high order input bits to U44 (A7-A4).  The two 
  90.   jumpers (A7 & A6) select one of four sets of tables, and the switches 
  91.   (A5 & A4) select the specific table within a given set. 
  92.  
  93.      Which entry in the selected table will be used to decode a specific 
  94.   storage address is determined by the four high order bits of that storage 
  95.   address (CA19-CA16 of the PC address bus), which are directed to the four 
  96.   low order input bits to U44 (A3-A0). 
  97.  
  98.      Each entry in U44's decoding tables contains one of five hexidecimal 
  99.   values: x'9' (select bank 0), x'B' (select bank 1), x'D' (select bank 2), 
  100.   x'F' (select bank 3), or x'E' (segment not addressable).  BY BUILDING A 
  101.   TABLE WITH THE APPROPRIATE VALUES, IT IS POSSIBLE TO DECODE ANY COMBINA- 
  102.   TION OF 64K AND/OR 256K STORAGE CHIPS UP TO ONE MEG -- SO LONG AS IT DOES 
  103.   NOT CONFLICT WITH INSTALLED ADAPTERS! 
  104.  
  105.        THE FOURTH SET OF TABLES REPRESENTS A MAJOR BREAKTHROUGH FOR 
  106.     OWNERS OF VERY OLD XT'S, WHICH HAVE 64K CHIPS SOLDERED INTO BANK 0 
  107.     (NO SOCKETS).  IT ENABLES THEM TO UPGRADE TO 640K BY INSTALLING 256K 
  108.     CHIPS INTO BANKS 1 AND 2, AND LEAVING 64K CHIPS IN BANKS 0 AND 3. 
  109.     OR, THEY MAY INSTALL 256K CHIPS INTO BANKS 1, 2, AND 3, AND ACCESS 
  110.     640K PLUS UP TO 192K OF HIGH MEMORY.  AGAIN, NO CHANGES ARE REQUIRED 
  111.     AT THE E2  JUMPER BLOCK. 
  112.  
  113.      Using this program, you have switch selectable storage configurations 
  114.   to accomodate the most common hardware configurations.  However, if this 
  115.   example isn't suitable for your particular case, it should be reasonably 
  116.   easy, using the information provided, to develop a special version for 
  117.   any particular circumstance.  IBM usually uses a 24S10 for the U44 chip, 
  118.   but any of several subs will work fine.  Blank chips can be located in 
  119.   most areas for well under two dollars.  The only hard part is getting 
  120.   them programmed. 
  121.  
  122.   IF I DO IT THIS WAY, HOW DO I SET THE SWITCHES: 
  123.  
  124.      With a chip programmed to my recommendations installed at U44, and a 
  125.   jumper installed at E2 1 - 2, four new memory configurations are switch 
  126.   selectable: 
  127.  
  128.   NOTE: in the tables which follow, "Closed" means that the switch is ON. 
  129.                                     "Open" means that the switch is OFF. 
  130.  
  131.      SW2 4 & 3 = 00 (both closed)========> 640K plus Segments A, D, and E 
  132.                                               (OK with Hard Disk only) 
  133.  
  134.      SW2 4 & 3 = 01 (4 closed, 3 open)===> 640K plus Segments C, D, and E 
  135.                                               (OK with EGA only) 
  136.  
  137.      SW2 4 & 3 = 10 (4 open, 3 closed)===> 640K plus Segments D and E 
  138.                                               (OK with EGA and Hard Disk) 
  139.  
  140.      SW2 4 & 3 = 11 (both open)==========> 640K (NO HIGH MEMORY) 
  141.  
  142.   HOW CAN I GET A REPLACEMENT U44 PROM LIKE THE ONE DESCRIBED HERE: 
  143.  
  144.      Of course, anyone who has access to a prom programmer, such as a 
  145.   DATIO box, can make these proms up very easily, and is welcome to do so 
  146.   using this information in any way he (or she) desires.  But not every 
  147.   one has the ability to do-it-himself.  Enough of those who have already 
  148.   been sent this information, or who have read my appends in PORTABLE 
  149.   FORUM, have asked me for assistance in obtaining the chips that I have 
  150.   been able to interest someone here in San Jose in making them up.  Based 
  151.   ON CURRENT LOCAL PRICES FOR THE BLANKS, WE ARE OFFERING U44 CHIPS PROGRAMMED 
  152.   according to the listing in this article for $6.00. 
  153.  
  154.      HERES HOW WE'LL DO IT: 
  155.  
  156.   1.  If you live in the U.S., please mail your order to: 
  157.  
  158.                       Cy Atkinson (CHIPS) 
  159.                       5218 Running Bear Drive 
  160.                       San Jose, CA  95136 
  161.  
  162.       Please include a check in the amount of $6.00 for each chip ordered, 
  163.       PLUS an additional $3.00 for postage and handling for 1 to 10 chips, 
  164.       $6.00 for 11 to 20, etc. 
  165.  
  166.   2.  If you live outside the U.S., mail your order to the same address, 
  167.       but please include $6.00 for each chip, PLUS an additional $5.00 for 
  168.       1 to 10 chips, etc. 
  169.  
  170.   Please don't forget to clearly indicate YOUR mailing address in your 
  171.   order.  We will attempt to handle all orders as promptly as possible. 
  172.  
  173.   THAT'S ALL: 
  174.  
  175.      I hope you've found this interesting and useful.  Regardless of how 
  176.   you obtain your U44 replacement, please feel free to write to me at the 
  177.   address above if you run into any problems.  It may take a while, but 
  178.   I'll try to respond.   Thanks, and Happy Computing!! 
  179.  
  180.                                 >>>>>>>>>>================>> Cy Atkinson 
  181.  
  182.   EDITOR'S NOTES: 
  183.  
  184.     1. Assistance on this upgrade can also be obtained from the microCHIP 
  185.   editor who has also performed it on his portable PC. 
  186.  
  187.     2. IF YOU HAVE A PC1 OR PC2 (BUT NOT A PC Jr): 
  188.  
  189.      If your ps is not the 8-slot motherboard type, but is a 5-slot 
  190.   motherboard, it is possible to put four banks of 256K chips on the 
  191.   motherboard... BUT the modification is not for the faint of heart. 
  192.   According to the author of the instructions for modifying 5-slot PCs, 
  193.   distribution is limited to IBMers and their families.  The instructions 
  194.   for PC upgrades can be obtained from the microCHIP editor. 
  195.