home *** CD-ROM | disk | FTP | other *** search
/ ftp.barnyard.co.uk / 2015.02.ftp.barnyard.co.uk.tar / ftp.barnyard.co.uk / cpm / walnut-creek-CDROM / KAYPRO / 84KP256A.ARK / 84KP256A.DOC next >
Text File  |  1988-02-04  |  10KB  |  183 lines

  1. 84KP256A.LBR  - the new (2/88) update to the original 9/86 library. This
  2. version is stand-alone, all you need is M80 and L80.  The mod costs about
  3. 40 dollars and takes about three hours.  It's well worth it.
  4.  
  5.                          * * * * *
  6.  
  7. The following is an update to Dr. Liddle's '83 Kaypro 256K RAMDRIVE
  8. modification, which allows the fine mod to be made to the '84 machines.
  9. Unfortunately, the mod will NOT work on the 10/83 series machines (those
  10. with graphics, but without PIO chips,) but will work on any other Kaypro
  11. system with graphics, and with Handyman too.  I have done a 10/83, and
  12. will make that mod public, although it is very involved.  Those with
  13. '83 non-graphics machines (you know - the FAST ones!) should use Dr.
  14. Liddle's original KP256RAM library for conversion, available on GEnie.
  15.  
  16. Configure RAMDRIVE.MAC for your machine. I use the Advent Turbo-Rom, and
  17. operate on a 61.75K system. My address for DIRBUF is 0FEE5H. I set RAMDRIVE
  18. to load at 0F363H, which is above my ZCPRII stack and EXTFCB. Set the PIO 
  19. DATA and CONTROL equates to the appropriate port - see the PIO mods below to 
  20. determine port addresses.  Compile using M80 and link with L80.  Correct
  21. syntax for my L80 is shown in RAMDRIVE.MAC.  For those without Turbo-Rom,
  22. use PROB12 and PATCH18A to find those large chunks of unused memory above
  23. CP/M and below the disk buffers. You need two "pages" of memory.
  24.  
  25. If your RAM is unsocketed, remove the 64K chips (U32, U33, U38, U39, U41, U42,
  26. U47, U48). carefully - either by cutting the leads at the body and removing 
  27. them one by one, or by careful desoldering of all leads. Install sockets, and 
  28. wire all pin #1's together on RAM sockets. Re-install the 64K chips (or use
  29. the 256K chips and tie the common pin #1 to +5v.)  Test the machine thoroughly
  30. with the enclosed MT256.COM - which will crash if your CP/M is bigger than 
  31. 62.75K - but it tests each location up to the point of crash for every possible
  32. read/write value. An error will appear if any cell is bad.
  33.  
  34. Build the overlay in Figure 1 below. Mount the overlay behind the Monitor ROM, 
  35. so that all wires are as short as possible. Don't forget to bend out pin 24 
  36. from U-29 so that it doesn't go into the socket!
  37.  
  38. If your machine is a 4/84 OR 10/84 WITH internal modem or real time clock,
  39. skip to the piggyback mod. If no RTC or modem, then install a PIO in position
  40. U-35 and tie PIO-1,2,3 from the overlay below to 27,28,29 on U-35. If U-27
  41. is missing, install it also. If your machine was previously modified to enable
  42. interrupts (a jumper to the right of the PIO,) remove that jumper.  Your ports 
  43. for RAMDISK.MAC are 021H and 023H for data and control, respectively. Set 
  44. these equates near the end of RAMDRIVE.MAC. 
  45.  
  46. FOR 4/84's and 10/84's WITH internal modem and/or RTC, add another PIO now.
  47. Piggy-back a new Z80-PIO chip carefully on top of the old one as follows:
  48.  
  49.   Solder Pins 1-3, 5-6, 11, 19-20, 22-26, 34-40 to the existing
  50.   PIO chip (carefully!). 
  51.   Attach NEW PIO pin 4 to U-27 pin 13. This designates the NEW PIO
  52.   as Ports 029H and 02BH for data and control. 
  53.   Tie PIO 1,2,3 from the overlay to 27, 28, 29 of NEW PIO. You also
  54.   end up with a spare side for another parallel port if you like.
  55.  
  56. Now install new 256K chips in the RAM sockets or remove common pin #1 from
  57. the +5v bus. Wire the overlay, (table 1) keeping all wires, ESPECIALLY 16 MHZ
  58. as short as possible, and keep them separated if possible. 
  59.  
  60. Turn on your machine. It should boot and perform properly. Check memory
  61. again with MT256, and check ALL hardware - if ANYTHING appears abnormal,
  62. fix it first! Run RAMDRIVE and you should be able to log into the RAMDRIVE
  63. (C or D as selected in RAMDRIVE.MAC)  Test thoroughly by NSWPing many files
  64. to RAMdrive, or by running BD.COM (FINDBAD won't work here.)
  65.  
  66. The theory is simple: We need the MUX and RFSH signals that the '84's
  67. lack. U6 buffers the 16 mhz clock signal, and inverts 1/RFSH from the
  68. Z80. U5 generates a pulse from 1/MREQ and RFSH that allows U4 to
  69. generate the missing MUX signal.  The rest of the circuit is a duplicate
  70. of Dr. Liddle's KP256RAM circuit.
  71.  
  72. 2/88 - I have re-written these docs to reflect the slight improvements made
  73. since the 9/86 writing.  Mainly, RAMBUF must be internal to RAMDRIVE, or in
  74. an unused area (Perfect Writer couldn't handle the buffer sharing) and the
  75. 74XXX04 can be anything fast and hi-z (HCU, HCT, probably F.)  I am waiting
  76. for the 1 Meg chips to hit $10 before trying to expand the RAMdisk.
  77.  
  78. This mod has been made on about 15 machines, including those operating three 
  79. of the four ports on Jacksonville's Multi-Buss Network.  These machines have
  80. been running without problem for 18 months now, and have logged over 130,000
  81. callers.  
  82.  
  83. I'd appreciate any comments/suggestions be left to me on GEnie (CWMCHAN)
  84. or call AMY'S CRYSTAL PALACE I at 904-725-5435 (300/1200/2400) or  AMY'S
  85. CRYSTAL PALACE II at 904-725-6122 (300/1200).
  86.  
  87.  
  88.  
  89.  
  90. \_TABLE I\_
  91.           
  92.              Signal on                  Chip on
  93.              Board                      Kaypro '84
  94.           
  95.              1/RFSH                     U43 pin 28
  96.              1/MREQ                     U43 pin 19
  97.              A7                         U43 pin 37
  98.              A15                        U43 pin 5
  99.              RA7                        U32 pin 9
  100.              RA8                        U32 pin 1
  101.              PIO 1                      NEW PIO Pin 27
  102.              PIO 2                      NEW PIO Pin 28
  103.              PIO 3                      NEW PIO Pin 29
  104.              16 MHZ                     Jnct of C84/R40/Y5/U29-39
  105.  
  106.  Also, lift Pin 24 of U-29 to disable the existing A7/15 line to the
  107. RAM chips.
  108.  
  109.           
  110. \_FIGURE 1\_
  111.           
  112.                  +-----------------------------+
  113.                  |             U1              |
  114.                  |         +--------+          |
  115.                  |  +------|    7   |- 0v      |
  116.                  |  |     -|    4   |----------+
  117.                  |  |     -|    L   |-
  118.                  |  |     -|    S   |-
  119.                  |  |  0v -|    3   |-
  120.                  +--|------|    9   |- 0v
  121.                     | +5v -|    3  1|----------+
  122.                     |      +--------+          |
  123.                     |                          |
  124.                     |          U2              |
  125.              33R    |      +--------+          |
  126.      RA7  <-- / /---|------|        |- 0v      |
  127.                     +------|    7   |-         |
  128.                  +---------|    4   |-         |
  129.                  |        -|    L   |-         |
  130.                  |        -|    S   |-         |
  131.                  |        -|    1   |-         |
  132.                  |     0v -|    5   |- 0v      |          (RFSH)
  133.                  |    +5v -|    8  1|----------o--------------------------+
  134.                  |         +--------+                                     |
  135.                  |                                                        |
  136.                  |             U3                                         |
  137.                  |         +--------+                                     |
  138.                  +---------|        |- 0v        33R                      |
  139.       A7   >------------o--|    7   |------------ / /--------> RA8        |
  140.                          \_|    4   |-----------------o------< PIO 2      |
  141.      PIO 1 >---------------|    L   |-< +5v >-/\/\/\_/ 4.7k               |
  142.                        0v -|    S   |-----------------o------< PIO 3      |
  143.      A15   >---------------|    1   |-< +5v >-/\/\/\_/ 4.7k               |
  144.                        0v -|    5   |------------------------+            |
  145.                       +5v -|    3  1|- 0v                    |            |
  146.                            +--------+                        |  (MUX)     |
  147.                                                              |            |
  148.                                U4                            |            |
  149.                            +--------+                        |            |
  150.                           -|    7   |- 0v                    |            |
  151.                           -|    4   |-                       |            |
  152.                       +5v -|    L   |------------------------+            |
  153.                           -|    S   |- +5v                                |
  154.                       +5v -|    7   |-----------------------------+       |
  155.                           -|    4   |- +5v                        |       |
  156.                       +5v -|       1|------------------------+    |       |
  157.                            +--------+                        |    |       |
  158.                                                              |    |       |
  159.                                U5                            |    |       |
  160.                            +--------+                        |    |       |
  161.                        0v -|    7   |- 0v                    |    |       |
  162.                        0v -|    4   |- 0v                    |    |       |
  163.                           -|    L   |- 0v                    |    |       |
  164.                        0v -|    S   |-                       |    |       |
  165.                        0v -|    0   |-------------------+    |    |       |
  166.                           -|    2   |------> 1/MREQ     |    |    |       |
  167.                       +5v -|       1|------------------------+    |       |
  168.                            +--------+                   |         |       |
  169.       0v <--| |--> +5v                                  |         |       |
  170.                                U6                       |         |       |
  171.            0.1 mfd         +--------+                   |         |       |
  172.             50 v.         -|    7   |- 0v               |         |       |
  173.                        0v -|    4   |-----------------------------+       |
  174.                           -|    H   |------> 16MHz      |                 |
  175.                        0v -|    C   |-                  |                 |
  176.                           -| T or U |- 0v               |                 |
  177.                        0v -|    0   |-------------------o-----------------+
  178.                       +5v -|    4  1|------> 1/RFSH
  179.                            +--------+
  180.  
  181.  
  182.  
  183.