home *** CD-ROM | disk | FTP | other *** search
/ ftp.elysium.pl / ftp.elysium.pl.tar / ftp.elysium.pl / docs / hardware / 1764_to_512k < prev    next >
Text File  |  2010-08-07  |  16KB  |  266 lines

  1. NOTE: The following article also applies to expanding C1700 128K REU's to
  2. 512K with the following changes:  (1) You will need to remove the 64x1
  3. DRAMS, and replace them with 16 256x1 DRAMS.  (2) You will need to cut the 
  4. "J1", aka "CUT 512K" jumper.
  5.  
  6. ==============================================================================
  7.  
  8. EXPANDING YOUR 1764 RAM EXPANSION UNIT
  9. FROM 256 TO 512 KILOBYTES OF MEMORY
  10.  
  11. by Scott A. Boydman (ScottB30 on QuantumLink)
  12.  
  13.    This article details the steps required to increase the 1764 RAM
  14. Expansion Unit (REU) to a total of 512K.  Although the article has been
  15. tailored primarily for the GEOS 64 user, it is also applicable to all 1764
  16. REU users who wish a 512K expansion.  I have had a great deal of correspondence
  17. with people, both by mail and over Quantum-Link, and I would like to share
  18. some of the knowledge gained from these rewarding interactions.  You should
  19. note that since the Japanese "chip embargo" the prices have been inflated
  20. and availablity is scarce.  One of the best sources of chips may be found in
  21. the various advertisements in the "COMPUTER SHOPPER" magazine.
  22.  
  23.    The 1764 REU consists of a plug-in cartridge, a deluxe power supply, and a
  24. disk containing software for using the REU with both BASIC (side 1) and GEOS
  25. (side 2.)  The deluxe power supply is required with the C-64, since the
  26. original was not designed to meet the power requirements of the many chips
  27. present in the REU.  The deluxe power supply is rated for 2.5 amps DC, which
  28. is sufficient to meet the power requirements of the computer, a modem,
  29. and an REU with up to 512K RAM.  The C-128 power supply already has enough
  30. amps to handle any REU.  The REU itself is nonfunctional without appropriate
  31. software.  The front side of the disk contains Commodore's RAMDOS software
  32. for use with BASIC.  The back side of the disk contains a GEOS upgrade which
  33. installs the GEOS Kernal V1.3 on your system boot disk, as well as other
  34. upgraded applications and input/printer drivers.
  35.  
  36.    The latest release of GEOS (V2.0) is a two-disk system and already supports
  37. the REU.  If you have Kernal V1.2 or lower, you will have to upgrade by one
  38. of two methods.  The first is to run the GEOS Upgrade program on the back of
  39. the disk supplied with the REU.  This will upgrade your GEOS System disk to
  40. Version 1.3.  However, this technique does not always work properly, so many
  41. people have upgraded directly through Berkeley Softworks.  The newest version
  42. of GEOS (V2.0) supports the REU as well as Commodore's new 1581 3.5 inch disk
  43. drive.  Note that the GEOS and BASIC RAMDISKS are not compatible, therefore,
  44. GEOS RAMDISK files are not accessible from BASIC.  The original REU test
  45. program on the BASIC side of the Test/Demo disk was designed to test the
  46. 256K of ramdom access memory that is supplied in the original 1764, but
  47. Commodore has since released newer software (available for downloading
  48. over Quantum-Link, or directly from Commodore) that also supports the
  49. C-128, and any size REU from 128K to 512K.
  50.  
  51.    The 1764 REU itself consists of a printed circuit (PC) board inside a
  52. plastic and metal housing, which plugs into the expansion port of the C-64 or
  53. 64-C computers.  The PC board is the same as that used in the 1700 (128K)
  54. and 1750 (512K) REU's, intended for the C-128, but with the following changes:
  55.    1) The 1764 has only one bank of eight 256K Dynamic RAM chips installed.
  56.       Each chip holds 256K bits of information; therefore eight chips are
  57.       required to obtain 256K bytes (since eight bits make up one byte).
  58.  
  59.    2) There is an empty row of eight chip positions labeled BANK II on the
  60.       PC board.  The traces for additional memory chips are present,
  61.       and the holes for the pins on the chips are presoldered.
  62.  
  63.    3) There is a 390 Ohm resistor in the 1700 and 1750 REU's that is not
  64.       present in the 1764.  The resistor's position is located in the
  65.       upper-left corner of the board, and labelled R4 in the 1764.
  66.       According to Fred Bowen of Commodore, this resistor "tweaks" the
  67.       signal that is supplied to the C-128 computer.  There are C-64 users
  68.       that have installed unmodified 1750 REU's without reporting problems.
  69.       In these installations, larger power supplies rated at 2.5 amps DC are
  70.       used.  Also, there are C-128 owners who have used 1764 REU's  without
  71.       difficulty.  Therefore, the presence or absence of this resistor seems
  72.       to be a non-critical factor for most C-64 or C-128 computers, at least
  73.       when using the REU with GEOS.
  74.  
  75.    4) A jumper, labelled with the notations J1 and CUT 512K is located on
  76.       the bottom side of the circuit board.  The jumper is cut in the 1750
  77.       and 1764 REU's, but left intact in the 1700 REU. Apparently, the cut
  78.       jumper tells the Ram Expansion Controller (REC) that 256K RAM chips are
  79.       being used, rather than the 64K RAM chips used in the 1700.
  80.  
  81.    Commodore's BASIC RAMDOS software (included with the 1764) is not
  82. compatible with many commercial software packages.  GEOS, however,
  83. allows the expansion to operate as a fully functional disk drive in RAM.
  84. The current versions of both GEOS 64 and GEOS 128 have provisions for both
  85. 1541 and 1571 RAMDISKS.  Another available feature is the shadow mode.
  86. GEOS is able to store data to the REU when reading files from the physical
  87. 1541 disk drive, so that further references of that file occur directly
  88. from RAM.  This results in a significant speed-up by eliminating
  89. multiple disk reads of the same file.  All writes go to both the physical
  90. drive and the REU, which eliminates the RAMDISK's primary disadvantage of being
  91. a nonpermanent storage device.  In the shadow mode, your data is always
  92. current and up-to-date on your real disk.  Of course, when using the
  93. RAMDISK, files must be copied to a physical disk, or be lost when the
  94. computer is turned off.
  95.  
  96.    The 256K REU does not contain the amount of memory needed to shadow two
  97. physical 1541 drives, or shadow one drive while supporting the RAM 1541, or
  98. support a RAM 1571.  For this reason many people have desired their 1764's
  99. to have 512K RAM.  It is not very difficult for someone with basic
  100. mechanical and soldering skills to install additional chips on the 1764 PC
  101. board.  I recommend soldering 16-pin DIP (Dual Inline Package) sockets to
  102. the board, which prevents possible heat damage  from direct soldering of the
  103. memory chips.  The chips are simply pushed carefully into the sockets.
  104. Radio Shack stocks the 16-pin DIP sockets, and the chips may be
  105. available from mail order houses.
  106.  
  107.    NOTE: The steps required to install the chips should be undertaken by
  108. someone with some skill in handling and soldering PC boards.  Also, some
  109. mechanical skill is needed to remove and install the PC board in its
  110. housing.  Opening the REU housing will void Commodore's warranty and is done
  111. entirely at the owner's risk.
  112.  
  113.  
  114.   Step 1: The housing of the 1764 must be opened carefully.  There are
  115.           four pins, one in each corner, holding the plastic case together
  116.           with friction.  Starting at the expansion port opening, gently
  117.           but firmly pull the top and bottom halves apart.  The plastic
  118.           case will begin to separate.  Continue around the perimeter of
  119.           the case until the top can be removed from the bottom.
  120.  
  121.   Step 2: Remove the metal shield from the plastic casing by pulling it
  122.           out at each corner.  The PC board is inside the metal shield.
  123.           Open the shield, also starting at the connector.
  124.           You may need a small screwdriver to pry the metal slightly where
  125.           it is held together.  When the shield opens, spread it only as
  126.           much as needed to remove the PC board.  Then slide the cardboard
  127.           liner off from the expansion connector.  This metal shield serves
  128.           as a barrier to radio frequency (RF) interference  as required by
  129.           the FCC.  When testing your expansion, the PC board can be safely
  130.           plugged into the computer prior to final reassembly of the REU.
  131.  
  132.   Step 3: Examine the PC board.  BANK I is the row of eight chips along the
  133.           top of the board.  The RAM Expansion Controller (REC) is the square
  134.           chip in the lower portion of the board.  The empty area labelled
  135.           BANK II can be seen just below BANK I.
  136.  
  137.   Step 4: Solder eight DIP sockets into the locations in BANK II.  This is
  138.           the most difficult step, because it is hard to position all 16 pins
  139.           at once.  I recommend that a small, round toothpick be used to open
  140.           the 16 holes on the PC board for each socket position.  Using a
  141.           soldering iron, heat the hole position until the toothpick can be
  142.           inserted.  By rotating the toothpick during cooling, a hole will
  143.           be left upon its removal.  An alternative method would be to use a
  144.           desoldering tool or wick (available from Radio Shack) to remove the
  145.           solder from the holes.  Note however that removal of ALL the solder
  146.           can make it difficult to achieve good contact when soldering the
  147.           DIP sockets to the board.  After doing this for all 16 holes, the
  148.           DIP socket can be inserted into the holes, and then each pin soldered
  149.           individually.  Use care that each solder point makes a secure
  150.           connection on both sides of the PC board.  When opening the holes,
  151.           be certain the metal traces printed on the circuit board are not
  152.           disrupted, otherwise your REU may not function at all when tested.
  153.  
  154.   Step 5: Insert the chips carefully into the sockets, checking to maintain
  155.           the correct chip orientation.  The notch or dot on the chip points
  156.           toward the top of the PC board.  Be certain that all pins are inserted
  157.           into the socket, and that none bend or break.
  158.  
  159.   Step 6: Before putting the REU together again, plug the PC board into
  160.           the computer (make sure the power is off), turn the computer on,
  161.           and boot GEOS V1.3 or higher. If necessary, run the UPGRADE conversion
  162.           program on the disk that came with the 1764 REU, or 1351 MOUSE to
  163.           convert your V1.2 to V1.3, but be sure to keep a V1.2 backup
  164.           copy should anything go wrong.  If you have a two-disk GEOS system,
  165.           you already have a compatible version.  From the deskTop, run the
  166.           CONFIGURE program.  The RAM EXPANSION box that appears should indicate
  167.           512K if your work was successful.  If this is the case, reassemble
  168.           the REU.  If 256K or NONE is displayed, you should check the
  169.           board for improperly soldered or disrupted traces, a chip that is
  170.           not securely plugged in, or rarely a defective chip.  Recheck all the
  171.           connections systematically.  You may have to desolder and remove one
  172.           or more sockets to locate a bad connection point or points.  Then
  173.           rerun CONFIGURE to see if the problem has been corrected.  If you
  174.           are not a GEOS user, use Commodore's RAMTEST program to check out
  175.           your expanded REU (see below.)
  176.  
  177.    When you arrive at this point, CONGRATULATIONS!  GEOS makes use of the
  178. 512K REU in the following ways; the first 64K holds a copy of the entire
  179. C-64 RAM, which allows for fast memory access and rebooting GEOS from the REU.
  180. If you select a RAM 1541, 165K plus directory space are reserved.  This
  181. amount is also allocated if you are shadowing a real 1541 drive.  GEOS V2.0
  182. also allows for a 1571 RAMDISK.  The BASIC RAMDISK software included with
  183. the REU also uses the expanded amount of REU memory, but the original version
  184. of Commodore's RAMTEST program was only designed for 256K.  If you have this
  185. version, it can be modified to check the entire 512K in the expanded 1764 as
  186. follows:
  187.  
  188.    1) Copy the files 1764 RAMTEST.BAS and 1764 RAMTEST.BIN from the
  189. demonstration disk onto another formatted disk.  If the files have
  190. different names than those noted above, then you may not have to alter the test
  191. program (your disk may be an updated version of Commodore's RAMDOS).  You
  192. may use the FILE COPY utility included on side 1 of the disk to do this, or
  193. even copy the files from the GEOS deskTop.
  194.  
  195.    2) From BASIC, type the following:
  196.       NEW <RETURN>
  197.       LOAD "1764 RAMTEST.BAS",8 <RETURN>
  198.       501 REM LINES 502 & 503 POKE THE CODES TO TEST 512K! <RETURN>
  199.       502 POKE 33093,7: POKE 33099,33 <RETURN>
  200.       503 POKE 36003,53: POKE 36004,49: POKE 36005,50 <RETURN>
  201.  
  202.    3) List lines 501-503 to confirm the changes have been entered.  Then, list
  203. line 100 and space over the beginning characters 100 REM (to erase them) and
  204. press <RETURN>.  This will resave the altered version of 1764 RAMTEST.BAS to
  205. the disk, and delete the original version.  Reload 1764 RAMTEST.BAS and
  206. relist lines 500-503, rechecking for errors.  Then, run 1764 RAMTEST.BAS,
  207. and the program should test all 512K in the expansion.  If this does not
  208. happen, recheck the poke codes in lines 502 and 503 for errors.
  209.  
  210.    You should be aware of some bugs in the original Commodore RAMDISK
  211. software:
  212.  
  213.    1) The DOS NEW command does not seem to work (a syntax error is returned).
  214. However, the SCRATCH command using the wildcard symbol (S0:"*") will do the
  215. same job.  This bug has been corrected in subsequent revisions of the
  216. Commodore RAMDOS.  In fact, the RAMDOS has now been upgraded for use in C-128
  217. mode.  The latest revisions of RAMDOS are version 4.2 for C-64 mode, and
  218. version 4.3 for C-128 mode.
  219.  
  220.    2) With the 256K REU, the BLOCKS FREE message in the original RAMDOS
  221. directory reports an incorrect number (2014) of blocks, as if the expansion
  222. contained 512K.  This number remains about the same after the 512K is
  223. installed.   This bug has been corrected in the newest releases of
  224. RAMDOS.
  225.  
  226.    3) In version 4.2 and 4.3 of RAMDOS (downloaded from Quantum-Link),  the
  227. unit (or device) number of the RAMDISK cannot be changed with the CHANGE UNIT
  228. program.  The only way to change unit numbers (i.e. from 9 to 8) is to
  229. reinstall RAMDOS specifying the new unit number, but without reinitializing
  230. the REU memory (in other words, files in the REU memory are retained).
  231.  
  232.    The operation of the 1764 with GEOS seems flawless, although I have heard
  233. of occasional incompatibilities with user-programmed software.  This,
  234. however, is a very rare case.  It would be nice to be able to exit GEOS and
  235. directly utilize the GEOS RAM 1541 files in the BASIC environment; but due
  236. to the differences between the GEOS and Commodore RAMDOS formats, this isn't
  237. possible.
  238.  
  239.    In the area of troubleshooting, the majority of people who have upgraded
  240. their 1764's have done so without problems.  Of the people who have
  241. experienced difficulty, the usual defect has been poor connections at the
  242. soldering points, or disruption of the PC board traces occurring at the time
  243. the presoldered holes were opened.  In most cases, a careful inspection and
  244. reheating of the solder points will reestablish the proper connection(s).
  245. Use of a continuity tester (available from Radio Shack) may be helpful in
  246. isolating any bad connections.  In the case of an extremely hard-to-identify
  247. problem, it may be best to desolder and remove the sockets and reinspect the PC
  248. board, checking for disruptions on both sides of the board.  A careful,
  249. meticulous job of soldering is the best way to avoid trouble.
  250.  
  251.    Regarding the compatability of the 1764 with the C-128, in most cases, no
  252. alteration seems required.  However, the addition of a 390 Ohm resistor to
  253. the empty R4 position of the 1764 circuit board makes it virtually
  254. identical to the 1750 REU.  Conversely, removal of this resistor makes the 1750
  255. equivalent to the 1764.
  256.  
  257.    I hope this information will be helpful to all 1764 owners who desire
  258. to have 512K RAM rather than the 256K supplied by the factory.  If you need
  259. assistance, feel free to contact:
  260.  
  261.    Scott A. Boydman
  262.    25447 Bryden Road
  263.    Beachwood, Ohio 44122
  264.  
  265. or send E-Mail to ScottB30 on Quantum-Link.
  266.