home *** CD-ROM | disk | FTP | other *** search
/ Rockford Magazine / Rockford_Magazine_033_19xx_-_de_Disk_4_of_5_Side_B.d64 / 3161 < prev    next >
Text File  |  2023-02-26  |  7KB  |  272 lines

  1. Path: antares.lu.erisoft.se!usenet
  2. From: Adam.Bergstrom@um.erisoft.se (Adam Bergstrom)
  3. Newsgroups: comp.sys.cbm
  4. Subject: VIC-20 expamsion memory
  5. Date: 24 Oct 1995 06:55:28 GMT
  6. Organization: Erisoft AB, Sweden
  7. Distribution: world
  8. Message-ID: <46i2l0$dql@antares.lu.erisoft.se>
  9. Reply-To: Adam.Bergstrom@um.erisoft.se
  10. NNTP-Posting-Host: eplu73.um.erisoft.se
  11.  
  12.  
  13. VIC-20 32k memory expansion (ver. 951023)
  14. =========================================
  15.  
  16. This is one of my contributions to the Commodore 8-bit community.
  17. I made this document to show you how to expand the memory of your VIC-20.
  18. I designed and built the memory expansion in October 1995.
  19.  
  20. I have built the expansion on a vero-board inside my VIC-20, so the cartridge-
  21. port is free. All that is seen outside are three switches (reset, write
  22. enable/disable, memoryexpansion on/off).
  23. I also plan to make an external memory-cartridge (so I can make some for my
  24. friends without opening their precious babies) as soon as I get all the
  25. stuff to make PCB:s at work.
  26.  
  27. I hope that this document is accurate and that you can get it to work.
  28. My hardware DOES work, and has been tested on quite a few programs, both
  29. expanded, unexpanded, and cartridgeimages (both 8k and 16k).
  30.  
  31. I will take no responsibility for any damages that may occur when you are
  32. trying to use this information. This information is free, and any damages are
  33. done by you, not me.
  34.  
  35. Let the old 8-bit computers LIVE ON!
  36.  
  37.  
  38. Features
  39. --------
  40.  
  41. * 32k RAM in four 8k blocks located in memory at:
  42.  
  43.   $2000 (BLK1)
  44.   $4000 (BLK2)
  45.   $6000 (BLK3)
  46.   $A000 (BLK5)
  47.  
  48.   This gives you an additional 24k BASIC memory (27,5k total!), and 8k at the
  49.   cartridge area.
  50.  
  51. * Ability to load and run cartridge-images from disk or tape.
  52.  
  53. * Write enable/disable switch, lets you run copyprotected cartridgeimages.
  54.   Note the WARNING further down!
  55.  
  56. * Switch to enable/disable the whole extra-memory, to let you use an external
  57.   cartridge, or use the VIC-20 unexpanded.
  58.  
  59. * Reset switch.
  60.  
  61.  
  62. Parts used
  63. ----------
  64.  
  65. 1 * HY62256, 32kbyte static RAM, 100ns (any 32k SRAM faster than 500ns should
  66.     be O.K.)
  67. 1 * 74LS147, 10-4 line priority encoder
  68. 1 * 10kohm resistor, 1/4W
  69. 2 * on/off switches
  70. 1 * reset switch
  71. Some wires and a vero-board to solder all parts on.
  72.  
  73.  
  74. How to connect it all
  75. ---------------------
  76.  
  77. SRAMX is pin nr X on SRAM.
  78. 74X   is pin nr X on 74LS147.
  79. VICX  is pin nr X on VIC expansion port.
  80. SWITCHXY is switch nr X, pin nr Y.
  81.  
  82. SWITCH1 is write enable/disable.
  83. SWITCH2 is expansion enable/disable.
  84. SWITCH3 is reset.
  85.  
  86. SRAM1(A14)  - 749(A)
  87. SRAM2(A12)  - VICR(CA12)
  88. SRAM3(A7)   - VICK(CA7)
  89. SRAM4(A6)   - VICJ(CA6)
  90. SRAM5(A5)   - VICH(CA5)
  91. SRAM6(A4)   - VICF(CA4)
  92. SRAM7(A3)   - VICE(CA3)
  93. SRAM8(A2)   - VICD(CA2)
  94. SRAM9(A1)   - VICC(CA1)
  95. SRAM10(A0)  - VICB(CA0)
  96. SRAM11(D0)  - VIC2(CD0)
  97. SRAM12(D1)  - VIC3(CD1)
  98. SRAM13(D2)  - VIC4(CD2)
  99. SRAM14(GND) - VICGND
  100. SRAM15(D3)  - VIC5(CD3)
  101. SRAM16(D4)  - VIC6(CD4)
  102. SRAM17(D5)  - VIC7(CD5)
  103. SRAM18(D6)  - VIC8(CD6)
  104. SRAM19(D7)  - VIC9(CD7)
  105. SRAM20(!CE) - 746(C)
  106. SRAM21(A10) - VICN(CA10)
  107. SRAM22(!OE) - SWITCH22 + 10kohm resistor to VIC21(+5V)
  108. SRAM23(A11) - VICP(CA11)
  109. SRAM24(A9)  - VICM(CA9)
  110. SRAM25(A8)  - VICL(CA8)
  111. SRAM26(A13) - 747(B)
  112. SRAM27(R/W) - SWITCH12
  113. SRAM28(VDD) - VIC21(+5V)
  114.  
  115. 741(4)      - VIC10(!BLK1)
  116. 742(5)      - VIC11(!BLK2)
  117. 743(6)      - VIC12(!BLK3)
  118. 744(7)      - VIC13(!BLK5)
  119. 745(8)      - VIC21(+5V)
  120. 746(C)      - SRAM20(!CE)
  121. 747(B)      - SRAM26(A13)
  122. 748(GND)    - VICGND
  123. 749(A)      - SRAM1(A14)
  124. 7410(9)     - VIC21(+5V)
  125. 7411(1)     - VICGND
  126. 7412(2)     - VICGND
  127. 7413(3)     - VICGND
  128. 7414(D)     - VICGND
  129. 7415(NC)    - NC
  130. 7416(VCC)   - VIC21(+5V)
  131.  
  132. SWITCH11    - VIC18(CR/W)
  133. SWITCH12    - SRAM27(R/W)
  134. SWITCH13    - VICGND
  135.  
  136. SWITCH21    - VICGND
  137. SWITCH22    - SRAM22(!OE) + 10kohm resistor to VIC21(+5V)
  138. SWITCH23    - NC
  139.  
  140. SWITCH31    - VICGND
  141. SWITCH32    - VICX(RESET)
  142.  
  143. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!WARNING!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  144. This design could fry the SRAM or the 6502 CPU when writing to write-disabled
  145. memory.
  146. The SRAM conflicts with the VIC-databus if the memory is written to when write
  147. is disabled (outport-outport). I don't have enough data on the 6502 or the
  148. SRAM to be sure that the currents aren't out of limits.
  149. I use the above design with write disable/enable, and haven't had any problems
  150. so far. If you don't need the write-switch, don't build it. If you are
  151. hesitant about this, don't build it. Instead use the design changes below:
  152.  
  153. Remove all SWITCH1 connections.
  154. VIC18(CR/W) - SRAM27(R/W)
  155. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!WARNING!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  156.  
  157.  
  158. Memory expansion port, seen from the back of the VIC-20
  159. -------------------------------------------------------
  160.  
  161.  
  162. 1  2  3  4  5  6  7  8  9 10 11 12 13 14 15 16 17 18 19 20 21 22
  163. {$7d}  {$7d}  {$7d}  {$7d}  {$7d}  {$7d}  {$7d}  {$7d}  {$7d}  {$7d}  {$7d}  {$7d}  {$7d}  {$7d}  {$7d}  {$7d}  {$7d}  {$7d}  {$7d}  {$7d}  {$7d}  {$7d}
  164.  
  165.  
  166. {$7d}  {$7d}  {$7d}  {$7d}  {$7d}  {$7d}  {$7d}  {$7d}  {$7d}  {$7d}  {$7d}  {$7d}  {$7d}  {$7d}  {$7d}  {$7d}  {$7d}  {$7d}  {$7d}  {$7d}  {$7d}  {$7d}
  167. A  B  C  D  E  F  H  J  K  L  M  N  P  R  S  T  U  V  W  X  Y  Z
  168.  
  169.  
  170.  1 - GND                   A - GND
  171.  2 - CD0                   B - CA0
  172.  3 - CD1                   C - CA1
  173.  4 - CD2                   D - CA2
  174.  5 - CD3                   E - CA3
  175.  6 - CD4                   F - CA4
  176.  7 - CD5                   H - CA5
  177.  8 - CD6                   J - CA6
  178.  9 - CD7                   K - CA7
  179. 10 - !BLK1                 L - CA8
  180. 11 - !BLK2                 M - CA9
  181. 12 - !BLK3                 N - CA10
  182. 13 - !BLK5                 P - CA11
  183. 14 - !RAM1                 R - CA12
  184. 15 - !RAM2                 S - CA13
  185. 16 - !RAM3                 T - I/O2
  186. 17 - VR/W                  U - I/O3
  187. 18 - CR/W                  V - SO2
  188. 19 - !IRQ                  W - !NMI
  189. 20 - NC                    X - !RESET
  190. 21 - +5V                   Y - NC
  191. 22 - GND                   Z - GND
  192.  
  193.  
  194. Static memory HY62256 (SRAM), pinconfiguration
  195. ----------------------------------------------
  196.  
  197.     +---U---+
  198. A14-{$7d}1    28{$7d}-VDD
  199. A12-{$7d}2    27{$7d}-R/W
  200.  A7-{$7d}3    26{$7d}-A13
  201.  A6-{$7d}4    25{$7d}-A8
  202.  A5-{$7d}5    24{$7d}-A9
  203.  A4-{$7d}6    23{$7d}-A11
  204.  A3-{$7d}7    22{$7d}-!OE
  205.  A2-{$7d}8    21{$7d}-A10
  206.  A1-{$7d}9    20{$7d}-!CE
  207.  A0-{$7d}10   19{$7d}-D7
  208.  D0-{$7d}11   18{$7d}-D6
  209.  D1-{$7d}12   17{$7d}-D5
  210.  D2-{$7d}13   16{$7d}-D4
  211. GND-{$7d}14   15{$7d}-D3
  212.     +-------+
  213.  
  214.  
  215. 74LS147, pinconfiguration
  216. -------------------------
  217.  
  218.     +---U---+
  219.   4-{$7d}1    16{$7d}-VCC
  220.   5-{$7d}2    15{$7d}-NC
  221.   6-{$7d}3    14{$7d}-D
  222.   7-{$7d}4    13{$7d}-3
  223.   8-{$7d}5    12{$7d}-2
  224.   C-{$7d}6    11{$7d}-1
  225.   B-{$7d}7    10{$7d}-9
  226. GND-{$7d}8     9{$7d}-A
  227.     +-------+
  228.  
  229.  
  230. On/off switch
  231. -------------
  232.  
  233.        /
  234.       /
  235.    --+--
  236.    {$7d}   {$7d}
  237.    {$7d}   {$7d}
  238.    -----
  239.    {$7d} {$7d} {$7d}
  240.    1 2 3
  241.  
  242.  
  243. How to contact me
  244. -----------------
  245.  
  246. Snail mail:
  247.   Adam Bergstrom
  248.   Storgatan 92,2
  249.   903 33 Umea
  250.   SWEDEN
  251.  
  252. Telephone:
  253.   +46-90-178490
  254.  
  255. Internet email:
  256.   adam.bergstrom@um.erisoft.se
  257.  
  258. --
  259. +-----------------+-----------------------------------------------+
  260. {$7d}Snail-mail work: {$7d}E-mail work: adam.bergstrom@um.erisoft.se      {$7d}
  261. {$7d} Adam Bergstrom  +--------------------------+--------------------+
  262. {$7d} Erisoft AB      {$7d}Memo work: eri.epl.eplabm {$7d}Snail-mail home:    {$7d}
  263. {$7d} Pendelgatan 2   +--------------------------+ Adam Bergstrom     {$7d}
  264. {$7d} Box 4205        {$7d}Telephone:                {$7d} Storgatan 92       {$7d}
  265. {$7d} S-904 06 Umea   {$7d} Work: +46 (0)90 153136   {$7d} S-903 33 Umea      {$7d}
  266. {$7d} Sweden          {$7d} Home: +46 (0)90 178490   {$7d} Sweden             {$7d}
  267. +-----------------+--------------------------+--------------------+
  268. {$7d} Opinions expressed are my own, not my employer's.               {$7d}
  269. +-----------------------------------------------------------------+
  270.  
  271.  
  272.