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 / 84KP256.LBR / 84KP256.DOC next >
Text File  |  2000-06-30  |  9KB  |  167 lines

  1.  
  2. The following is an update to Dr. Liddle's '83 Kaypro 256K RAMDRIVE
  3. modification, which allows the fine mod to be made to the '84 machines.
  4. There may be a better way of doing it, but this works, and requires no
  5. mainboard mods - unless you have to put sockets under your RAM chips.
  6. You'll need his K256BIOS.LBR, in addition to this file.
  7.  
  8. Configure RAMDRIVE.MAC for your machine. I use the Advent Turbo-Rom, and
  9. operate on a 61.75K system. My address for DIRBUF is 0FEE5H and for
  10. RAMBUF 0F5ADH. I set RAMDRIVE to load at 0F363H, which is above my
  11. ZCPRII stack and EXTFCB. Set the PIO DATA and CONTROL equates to the
  12. appropriate port - see the PIO mods below to determine port addresses.
  13.  
  14. Follow Dr. Liddle's procedures for removing the old RAM chips. Install
  15. sockets, if necessary, and wire all pin #1's together on RAM sockets.
  16. Test the machine thoroughly with the enclosed MT256.COM - which will
  17. crash if your CP/M is bigger than 62.75K - but it tests each location
  18. up to the point of crash (when it overwrites CP/M) for every possible
  19. read/write value. An error will appear if any cell is bad.
  20.  
  21. Build the overlay in Figure 1 below. Please note the additional decoupling
  22. cap added between 5v and 0v at one or more points on the overlay. Mount
  23. the overlay behind the Monitor ROM, so that all wires are as short as
  24. possible. Don't forget to bend out pin 24 from U-29 so that it doesn't go
  25. into the socket!
  26.  
  27. If your machine is a 4/84 OR 10/84 WITH internal modem or real time clock,
  28. skip to the piggyback mod. If no RTC or modem, then install a PIO in position
  29. U-35 and tie PIO-1,2,3 from the overlay below to 27,28,29 on U-35. If U-27
  30. is missing, install it also. Your ports for RAMDISK.MAC are 021H and 023H
  31. for data and control, respectively. Set these equates near the end of
  32. RAMDRIVE.MAC. 
  33.  
  34. FOR 4/84's and 10/84's WITH internal modem and/or RTC, add another PIO now.
  35. Piggy-back a new Z80-PIO chip carefully on top of the old one as follows:
  36.  
  37.   Solder Pins 1-3, 5-6, 11, 19-20, 22-26, 34-40 to the existing
  38.   PIO chip (carefully!). 
  39.   Attach NEW PIO pin 4 to U-27 pin 13. This designates the NEW PIO
  40.   as Ports 029H and 02BH for data and control. 
  41.   Tie PIO 1,2,3 from the overlay to 27, 28, 29 of NEW PIO. You also
  42.   end up with a spare side for another parallel port if you like.
  43.  
  44. Now install new 256K chips in the RAM sockets. Wire the overlay, keeping
  45. all wires, ESPECIALLY 16 MHZ as short as possible, and keep them separated
  46. if possible. 
  47.  
  48. Turn on your machine. It should boot and perform properly. Check memory
  49. again with MT256, and check ALL hardware - if ANYTHING appears abnormal,
  50. fix it first! Run RAMDRIVE and you should be able to log into the RAMDRIVE
  51. (C or D) and run BD.COM on it to test those memory locations!!
  52.  
  53. The theory is simple: We need the MUX and RFSH signals that the '84's
  54. lack. U6 buffers the 16 mhz clock signal, and inverts 1/RFSH from the
  55. Z80. U5 generates a pulse from 1/MREQ and RFSH that allows U4 to
  56. generate the missing MUX signal. I originally used side 2 of U4 to
  57. generate a 1/CAS signal to replace the one from U-29, but that wasn't
  58. necessary.
  59.  
  60. I'm running the RAMDRIVE on a Kaypro 4/84 that's fully-loaded. My BBS
  61. uses both an external Hayes and the internal modem in a multi-user
  62. configuration, a Kaypro Clock, and I've added an HDO controller and
  63. Shugart 712 (stretched to 13 meg) HD. It's been online for about 12
  64. hours as I write this, with no flaws evident. I managed to cut HD
  65. access by 90% by placing my menus on RAMDISK!
  66.  
  67. I'd appreciate any comments/suggestions be left to me on GEnie (CWMCHAN)
  68. or call AMY <> BBS at 904-725-7461 (300/1200) or 904-725-1226 (300).
  69. This is kinda rushed, but hope it helps!!
  70.  
  71.  
  72.  
  73.  
  74. \_TABLE I\_
  75.           
  76.              Signal on                  Chip on
  77.              Board                      Kaypro '84
  78.           
  79.              1/RFSH                     U43 pin 28
  80.              1/MREQ                     U43 pin 19
  81.              A7                         U43 pin 37
  82.              A15                        U43 pin 5
  83.              RA7                        U32 pin 9
  84.              RA8                        U32 pin 1
  85.              PIO 1                      NEW PIO Pin 27
  86.              PIO 2                      NEW PIO Pin 28
  87.              PIO 3                      NEW PIO Pin 29
  88.              16 MHZ                     Jnct of C84/R40/Y5/U29-39
  89.  
  90.  Also, lift Pin 24 of U-29 to disable the existing A7/15 line to the
  91. RAM chips.
  92.  
  93.           
  94. \_FIGURE 1\_
  95.           
  96.                  +-----------------------------+
  97.                  |             U1              |
  98.                  |         +--------+          |
  99.                  |  +------|    7   |- 0v      |
  100.                  |  |     -|    4   |----------+
  101.                  |  |     -|    L   |-
  102.                  |  |     -|    S   |-
  103.                  |  |  0v -|    3   |-
  104.                  +--|------|    9   |- 0v
  105.                     | +5v -|    3  1|----------+
  106.                     |      +--------+          |
  107.                     |                          |
  108.                     |          U2              |
  109.              33R    |      +--------+          |
  110.      RA7  <-- / /---|------|        |- 0v      |
  111.                     +------|    7   |-         |
  112.                  +---------|    4   |-         |
  113.                  |        -|    L   |-         |
  114.                  |        -|    S   |-         |
  115.                  |        -|    1   |-         |
  116.                  |     0v -|    5   |- 0v      |          (RFSH)
  117.                  |    +5v -|    8  1|----------o--------------------------+
  118.                  |         +--------+                                     |
  119.                  |                                                        |
  120.                  |             U3                                         |
  121.                  |         +--------+                                     |
  122.                  +---------|        |- 0v        33R                      |
  123.       A7   >------------o--|    7   |------------ / /--------> RA8        |
  124.                          \_|    4   |-----------------o------< PIO 2      |
  125.      PIO 1 >---------------|    L   |-< +5v >-/\/\/\_/ 4.7k               |
  126.                        0v -|    S   |-----------------o------< PIO 3      |
  127.      A15   >---------------|    1   |-< +5v >-/\/\/\_/ 4.7k               |
  128.                        0v -|    5   |------------------------+            |
  129.                       +5v -|    3  1|- 0v                    |            |
  130.                            +--------+                        |  (MUX)     |
  131.                                                              |            |
  132.                                U4                            |            |
  133.                            +--------+                        |            |
  134.                           -|    7   |- 0v                    |            |
  135.                           -|    4   |-                       |            |
  136.                       +5v -|    L   |------------------------+            |
  137.                           -|    S   |- +5v                                |
  138.                       +5v -|    7   |-----------------------------+       |
  139.                           -|    4   |- +5v                        |       |
  140.                       +5v -|       1|------------------------+    |       |
  141.                            +--------+                        |    |       |
  142.                                                              |    |       |
  143.                                U5                            |    |       |
  144.                            +--------+                        |    |       |
  145.                        0v -|    7   |- 0v                    |    |       |
  146.                        0v -|    4   |- 0v                    |    |       |
  147.                           -|    L   |- 0v                    |    |       |
  148.                        0v -|    S   |-                       |    |       |
  149.                        0v -|    0   |-------------------+    |    |       |
  150.                           -|    2   |------> 1/MREQ     |    |    |       |
  151.                       +5v -|       1|------------------------+    |       |
  152.                            +--------+                   |         |       |
  153.       0v <--| |--> +5v                                  |         |       |
  154.                                U6                       |         |       |
  155.            0.1 mfd         +--------+                   |         |       |
  156.             50 v.         -|    7   |- 0v               |         |       |
  157.                        0v -|    4   |-----------------------------+       |
  158.                           -|    H   |------> 16MHz      |                 |
  159.                        0v -|    C   |-                  |                 |
  160.                           -|    T   |- 0v               |                 |
  161.                        0v -|    0   |-------------------o-----------------+
  162.                       +5v -|    4  1|------> 1/RFSH
  163.                            +--------+
  164.  
  165.  
  166.  
  167.