home *** CD-ROM | disk | FTP | other *** search
/ 8bitfiles.net/archives / archives.tar / archives / genie-commodore-file-library / Information / C128-RAM-EXPANSION-NOTES < prev    next >
Encoding:
Text File  |  2019-04-13  |  12.5 KB  |  240 lines

  1. *********************************************************************
  2. This article is being presented through the *StarBoard* Journal of
  3. the FlagShip/StarShip, SIGS (Special Interest Groups) on the
  4. Delphi and GEnie telecommunications networks.  Permission is
  5. hereby granted to non-profit organizations only to reprint this
  6. article or pass it along electronically as long as proper credit
  7. is given to both the author (when known) and the *StarBoard* Journal.
  8. *********************************************************************
  9.  
  10.                        1700 Ram Expansion Module
  11.  
  12.                        by Harry Flaxman (HARRYF)
  13.  
  14.  
  15.    The first memory module to be released for the C-128 is the 1700,
  16. 128k byte, module.  The module adds 128k bytes of expansion memory to
  17. the C-128.
  18.  
  19.    Physically, the module plugs into the expansion port (cartridge
  20. slot) of the 128.  It is approximately 4 inches deep, 5 inches wide,
  21. and 1 inch in height.  The module is color-coordinated for the C-128
  22. and has ventilation slots on the back to match the 'slotted' look of
  23. the 128.  There are no buss extenders, so plugging other carts in with
  24. the 1700 cannot be accomplished without an expansion chassis.
  25.  
  26.    The module comes packed with a disk which contains some fairly
  27. impressive demos on one side, and a new CP/M operating system that
  28. automatically recognizes expansion memory as RAMdisk from CP/M (drive
  29. M).  Included in the demos are a version of the 'Amiga' bouncing ball
  30. and several cube motion demos.  A diagnostic program to test the memory
  31. module is also included.  Dependant upon the size of the expander, 128k
  32. or 512k, the demos run differently, as they use expansion memory to
  33. store screens for their animation, and more screens are possible with
  34. 512k.
  35.  
  36.    The module adds 128k bytes of memory to indirectly accessible
  37. memory.  This means that code cannot be executed within the memory
  38. module, and it does not increase the BASIC text or variable area at
  39. all.  Just what good is the module?....read on!
  40.  
  41.    Memory transfer between the expansion module and bank 0 of the 128
  42. is handled by a special chip, called the REC, which provides direct
  43. memory access.  This allows for speedy transfers between the module and
  44. the computer.
  45.  
  46.    BASIC 7 on the C-128 contains three commands that make accessing
  47. the expansion module fairly simple.  STASH allows storing of data from
  48. RAM bank 0 of the computer to the module a simple task.  FETCH allows
  49. retrieval of any specified number of bytes from expansion memory to RAM
  50. bank 0.  With these two commands, the only memory modified is the
  51. TARGET memory.  If you are moving memory from expansion to bank 0,
  52. after the transfer, expansion will remain intact.  Bank 0 will change
  53. to reflect the data you just retrieved from expansion.  The same is
  54. true of moving data from bank 0 to expansion.  Nothing is lost in bank
  55. 0; expansion is changed.  The third BASIC 7 command to manipulate the
  56. expansion memory is SWAP.  SWAP alters both target and source memory.
  57. If you do a SWAP, the area specified in the swap is exchanged with
  58. whatever is in expansion memory, and bank memory is placed in expansion
  59. at the same time.
  60.  
  61.    At the present time, the one serious lack is a RAMdisk wedge
  62. program.  A RAMdisk wedge would allow the expansion memory to emulate a
  63. very fast disk drive accessible from BASIC 7.
  64.  
  65.    The majority of software support for the expansion module has come
  66. for the CP/M side of the machine.  The new operating system packaged
  67. with the module allows transparent operation of the drive M under CP/M,
  68. the expansion module.  File transfers and manipulations to the
  69. expansion module seem 4 times faster than to the 1571 disk drive
  70. utilizing a CBM, double sided CPM format.  The 128k module allows
  71. approximately 124k to be utilized for file storage under CPM, the 512k
  72. expander (1750), allows a whopping 506k of file storage, with the rest
  73. being utilized as directory space.
  74.  
  75.    The manual accompanying the module leaves a bit to be desired.  It
  76. takes the inexperienced user through several examples on utilizing the
  77. BASIC 7 commands, and the new CP/M RAMdisk capabilities.  The manual
  78. then jumps into the tech specifications of the REC DMA chip.  Registers
  79. are mapped nicely for the experienced programmer, but this would have
  80. little or no meaning to the beginner.  Considering the complete lack of
  81. documentation on this module in CBM's other manuals for the 128,
  82. including the Programmers Reference, it would have been nice to see
  83. more involved examples, for the intermediate user.
  84.  
  85.    One word of caution...if you intend on purchasing the 1700 with
  86. ideas of upgrading the module to 512k...don't!  I have upgraded my
  87. board to 512k, however it is not a task that is recommended for the end
  88. user, and something that I sincerely doubt CBM will pursue in the
  89. future.  It takes experience working on multi-layered pc boards to
  90. upgrade the board.  Commodore obviously had NO plans to allow upgrades
  91. to be done by the end user or by their service centers.
  92.  
  93.    I am extremely impressed by the new capabilities of my system, and
  94. feel that the module is something worth looking into if one intends to
  95. do any memory intensive programming.
  96.  
  97.                                       Harry Flaxman (HARRYF)
  98.  
  99. **********************************************************************
  100. The following technical information is provided by KEVIN-S. from GEnie.
  101. He describes modifications that can be made to uprgrade your 1700 to a
  102. 1750 RAM expansion board.  Harry recommends NOT doing the work, but
  103. for those of you who want to do it anyway, here are the specs.
  104. Let us know how it all works out!  Thanks, Kevin!
  105. **********************************************************************
  106.  
  107. Ok, sports fans, here is the ?quick? and ?easy? information for
  108. upgrading your 1700 to 1750 status.  It was sent to me by Bob
  109. Carpenter, from Aurora, Il, along with the schematics and a very nice
  110. cover letter.  The procedure is quite straightforward, but be
  111. warned that you do void your warranty, and neither CBM, Mr. Carpenter,
  112. or myself will be accountable if you fry your 1700.  The fact that I
  113. accomplished the upgrade, however, should be an encouragement;
  114. I am by no means a hardware hacker.  With the above disclaimer in mind,
  115. here goes...
  116.  
  117. Materials:   You will need 16 256k dynamic rams, either 150 ns or 120
  118. ns.  Also highly recommended are 16 16-pin IC sockets, so that you
  119. don't have to solder the new chips in directly.  You will also need a
  120. small soldering iron, electronics solder, and some desoldering device.
  121.  
  122. 1:  Pry open the case of your 1700, gently.  It is a press-together
  123.     case.  THIS STEP WILL VOID YOUR WARRANTY.
  124. 2:  You can now look through the RF shielding and see the four posts
  125.     holding the board in place.  Gently pry the entire metal shell
  126.     out of the bottom of the case.
  127. 3:  Now remove the RF shell.  It is a spring fit around the edges.
  128.     You will need to bend the shell back a bit.  Remove the circuit
  129.     board.
  130. 4:  At this point you can identify the salient pieces.  Towards the
  131.     rear (away from the edge connector), you will see two parallel
  132.     rows of inch-long chips.  These are the 64k RAMS.  The large chip
  133.     nearest the edge connector is the special memory control chip.
  134.     It is socketed.  I didn't remove it while working on the board,
  135.     since my instruction sheet didn't say to, but you should avoid
  136.     touching it.  About 1 inch in from the connector, you should see
  137.     two clusters of solder pads, one with two pads, marked J1, and
  138.     one with three pads, marked J2.  These are the only components
  139.     that you will have to deal with on the circuit board.  If you
  140.     have identified them all, you are ready to proceed.
  141. 5:  Desolder the old 64k RAMS, using whatever technique works best
  142.     for you.  Dispose of them as you will.
  143. 6:  Note that the sketch on the circuit board under each RAM chip
  144.     has a semi-circular hollow on one end.  This is to show which
  145.     way to insert the new chips, which have a similar depression on
  146.     their surface.  I mention this now because you may not be able to
  147.     see the sketches after you install the IC sockets.
  148. 7:  Solder in the IC sockets.
  149. 8:  Check your soldering for spurious connections, incomplete
  150.     connections, etc.
  151. 9:  Plug your nice new 256k RAM chips into the IC sockets, making
  152.     sure they face the right way in accordance with (6).
  153. 10: Look between the two solder pads at location J1.  You should see
  154.     that they are connected by a tiny solder trace.  This trace must
  155.     be cut in order for the unit to recognize all that memory you
  156.     just installed.  Cut it carefully but definitely with a razor
  157.     knife or other tool.
  158. 11: You are finished!  Re-assemble the RF shell and case, and run
  159.     the diagnostic program that came with your 1700.  If everything
  160.     checks out, great.  If you get an error message, not so great.
  161.     The likelihood is that you have a bad solder connection on one
  162.     of the IC sockets, or possibly a bad RAM chip.
  163. 12: When re-assembling the board into the RF shield, be sure that
  164.     nothing but the circuit board edges are in contact with the
  165.     shielding.  A short circuit could conceivably damage your
  166.     computer or RAM unit.
  167.  
  168. Notes:     It is worth mentioning that you should make sure that
  169.            the replacement RAMs you buy are from the same
  170.            manufacturer, and preferably the same batch.  I have
  171.            heard some nasty stories from IBM-PC folk about
  172.            mixing and matching RAMS.
  173.  
  174.            If you look carefully at the circuit board, you will
  175.            see that several big traces have been cut through.
  176.            Apparently someone screwed up at CBM!
  177.  
  178.            Your Boing! demo will now be much smoother.  Invite
  179.            some IPM-PC friends over and laugh at them.
  180.  
  181.      Good luck and congratulations, in that order!
  182.                               KeS
  183.  
  184.  
  185. **********************************************************************
  186. The following technical information is provided by Bill Hirt (WHIRT
  187. on GEnie).  He describes modifications that may be necessary in order
  188. for your 1750 RAM expansion board to work if your C128 has a serial
  189. number between CA1044001 to CA1046880.  Also included is a discussion
  190. of modifications for the MACH-128.  Thanks, Bill, for your help!
  191. **********************************************************************
  192.  
  193.     I've had the 1750 for about a month now after getting a new 128
  194. (the first was one of the first 2000 which won't work with the RAM
  195. expansion.  By the way, if anyone out there has a 128 with a serial
  196. number between CA1044001 to CA1046880, I have the necessary information
  197. from CBM to modify the 128 so it works with the RAM expansion and the
  198. information from Abacus on how to get MACH128 to work with it). It
  199. works great as RAM disk in CP/M. I used it the other night as our user
  200. group meeting and it was nice to load up some CP/M files to the RAM
  201. expansion and then be able to go to both 64 and 128 modes and then come
  202. back and have the files still there. One thing I've noticed, is after
  203. the 128's on 3 or 4 hours, the RAM expansion will sometimes not work
  204. correctly as if the power supply is overheating. I've tried 2 power
  205. supplies and the same thing has happened with each. I'm certainly
  206. putting the power supply to work though as I've got an interface and
  207. print buffer being powered off the cassette port, a 1670 on the user
  208. port, and 1750 plugged in all at once...so I may be tempting fate. Most
  209. people I've shown it too really like it until I tell them the price.
  210.                                                Bill
  211.  
  212. **********************************************************************
  213.  
  214. Here are the mods to be made on C128's with serial numbers CA1044001
  215. to 1046880 to allow them to work with the RAM expansion:
  216. (These mods are from Von Ertwine of CBm engineering)
  217.  
  218. 1. There is a free inverter at U37-5 and -6. Cut the heave trace on
  219. bottom on pin 5 (was +5 volts).
  220. 2. Cut trace on bottom of PCB going from feed-thru near VIC chip pin 19
  221. and 20 (closer to 19) going away from the chip about one inch. This is
  222. the dot clock line that goes to the expansion port.
  223. 3. Connect the end closes to the VIC chip to U37-5 and the other end to
  224. U37-6. Also add a 1K pull-up from U37-6 to +5 volts. That's all there
  225. is.
  226.  
  227.   A friend of mine will be trying this on mine Saturday (I hope!) to
  228. see if my original can be modified in this way.
  229.  
  230.   To get the Mach128 cart to work, I got this info from Kevin Homer at
  231. Access:
  232.  
  233. 1. Find the chip marked 74LS138 (lower right front of circuit board).
  234. 2. Disconnect pin 6 and run a jumper from pin 6 to pin 16. This inverts
  235. the timing so the Mach128 cart will now work in 64 mode.
  236.   This mod has been done already on a friend's C128 and he's had no
  237. problems.
  238.                                              Bill
  239.  
  240.