home *** CD-ROM | disk | FTP | other *** search
/ Rockford Magazine / Rockford_Magazine_033_19xx_-_de_Disk_3_of_5_Side_B.d64 / 15.0 < prev    next >
Text File  |  2023-02-26  |  11KB  |  235 lines

  1. Path: crl2.crl.com!not-for-mail
  2. From: ceejack@crl.com (Jack Vander White)
  3. Newsgroups: comp.sys.cbm
  4. Subject: VIC-20 Info
  5. Date: 31 Jul 1995 11:11:36 -0700
  6. Organization: Humanity Against Late-Night Infomercials
  7. Message-ID: <3vj6co$7d4@crl2.crl.com>
  8. NNTP-Posting-Host: crl2.crl.com
  9. X-Newsreader: TIN [version 1.2 PL2]
  10.  
  11.  
  12. Posted to comp.sys.cbm by request of the author.
  13.  
  14.                         ======================
  15.                        =                      =
  16.                       =   Inside your Vic 20   =
  17.                       =     By Ward Shrake     =
  18.                        =                      =
  19.                         ======================
  20.  
  21.  
  22. This document is a collection of pinout diagrams and technical notes, meant
  23. to assist anyone who wishes to experiment electronically with the "obsolete" 
  24. Commodore Vic20 computer. Specifically, this document addresses the cartridge
  25. or Memory Expansion port and related items, such as ROM & EPROM memory chips. 
  26.  
  27. This is a very preliminary version of a document which could be expanded, if
  28. I decide to go even more ballistic, later on. All this text was written out in
  29. one day, with no prior planning, so if its a little jumpy, that's why. Later
  30. versions should be better. Right now, probably anything helps, so here it is.
  31. (Additions, corrections or whatever can be sent via email to the author.)
  32.  
  33. Ward Shrake, July 1995
  34. email: wardshrake@aol.com
  35.  
  36.  
  37. ----------------------------------------------------------------------------
  38.   Pinout diagram #1: Memory Expansion port connector of the Vic20 computer
  39. ----------------------------------------------------------------------------
  40.  
  41. Below is the pinout diagram of the Vic20 cartridge port, or Memory Expansion
  42. Connector. Please note that this is NOT the pinout for a cartridge that might
  43. fit into any port, nor is it a pinout of the User Port, which is something 
  44. completely different. This diagram shows the cartridge port's pinout, as you 
  45. face the rear of the Vic 20 computer. (The port is on the Vic20's left side.)
  46.        
  47. Bottom side of expansion port.       Top side of expansion port.
  48. (This half is on bottom.)            (This half is towards the keyboard.)
  49.  
  50.           (This edge of the connector faces left,
  51.           where the power switch and the LED are.)
  52.  
  53.                             
  54.                         {$7d}    {$7d}
  55.          GND         A  {$7d}  {$7d} {$7d}  {$7d}   1       GND                   
  56.          CA0         B  {$7d}  {$7d} {$7d}  {$7d}   2       CD0
  57.          CA1         C  {$7d}  {$7d} {$7d}  {$7d}   3       CD1
  58.          CA2         D  {$7d}  {$7d} {$7d}  {$7d}   4       CD2
  59.          CA3         E  {$7d}  {$7d} {$7d}  {$7d}   5       CD3
  60.          CA4         F  {$7d}  {$7d} {$7d}  {$7d}   6       CD4
  61.          CA5         H  {$7d}  {$7d} {$7d}  {$7d}   7       CD5          
  62.          CA6         J  {$7d}  {$7d} {$7d}  {$7d}   8       CD6 
  63.          CA7         K  {$7d}  {$7d} {$7d}  {$7d}   9       CD7       (Memory Location:)
  64.          CA8         L  {$7d}  {$7d} {$7d}  {$7d}   10      BLK 1       ($2000 - $3fff) 
  65.          CA9         M  {$7d}  {$7d} {$7d}  {$7d}   11      BLK 2       ($4000 - $5fff)
  66.          CA10        N  {$7d}  {$7d} {$7d}  {$7d}   12      BLK 3       ($6000 - $7fff)
  67.          CA11        P  {$7d}  {$7d} {$7d}  {$7d}   13      BLK 5       ($a000 - $bfff)
  68.          CA12        R  {$7d}  {$7d} {$7d}  {$7d}   14      RAM 1       ($0400 - $07ff)
  69.          CA13        S  {$7d}  {$7d} {$7d}  {$7d}   15      RAM 2       ($0800 - $0bff)
  70.          I/O 2       T  {$7d}  {$7d} {$7d}  {$7d}   16      RAM 3       ($0c00 - $0fff)
  71.          I/O 3       U  {$7d}  {$7d} {$7d}  {$7d}   17      V R/W 
  72.          S02         V  {$7d}  {$7d} {$7d}  {$7d}   18      C R/W 
  73.          NMI         W  {$7d}  {$7d} {$7d}  {$7d}   19      IRQ 
  74.          RESET       X  {$7d}  {$7d} {$7d}  {$7d}   20      NC 
  75.          NC          Y  {$7d}  {$7d} {$7d}  {$7d}   21      +5 Volts 
  76.          GND         Z  {$7d}  {$7d} {$7d}  {$7d}   22      GND 
  77.                         {$7d}  ---  {$7d}
  78.                         ---------     
  79.  
  80.           (This edge of the connector is on the
  81.           right, where all the other ports are.)
  82.  
  83.  
  84. Pinout Notes:
  85. -------------
  86. BLKxx =  8K decoded RAM/ROM block xx, active low. See chart above for area.
  87. CAxx  =  Address bus line xx
  88. CDxx  =  Data bus line xx
  89. C R/W =  Read/Write line from CPU. (Read = high, Write = low)
  90. GND   =  System ground
  91. I/O 2 =  Decoded I/O block 2, starting at $9130
  92. I/O 3 =  Decoded I/O block 3, starting at $9140
  93. IRQ   =  6502 Interrupt Request line (active low)
  94. NC    =  No connection
  95. NMI   =  6502 Non-Maskable Interrupt line (active low)
  96. RAMxx =  1K decoded RAM blockxx, active low. See chart above for memory area.
  97. RESET =  6502 reset line (active low) 
  98. S02   =  Phase 2 system clock
  99. V R/W =  Read/Write line from Vic chip. (Read = high, Write = low)
  100.  
  101.  
  102.  
  103. -----------------------------------------------------------------------
  104.   Pinout diagram #2: A standard Vic20 cartridge's card edge connector
  105. -----------------------------------------------------------------------
  106.  
  107. Below is a pinout diagram of a standard Vic20 cartridge, seen facing its card
  108. edge connector. Please note that this is NOT the pinout of the port it plugs 
  109. into, which is shown above. The two pinouts are exact opposites, because you 
  110. are facing the port head-on as is, but you have to flip a cartridge around
  111. 180 degrees to be able to look at it head-on, facing its card edge connector.
  112.  
  113.  
  114.  Bottom side of cartridge      Top (label or component) side of cartridge
  115.  
  116.                          -    
  117.          GND         Z   {$7d} {$7d}   22    GND    
  118.          NC          Y   {$7d} {$7d}   21    +5 Volts
  119.          RESET       X   {$7d} {$7d}   20    NC
  120.          NMI         W   {$7d} {$7d}   19    IRQ
  121.          S02         V   {$7d} {$7d}   18    C R/W
  122.          I/O 3       U   {$7d} {$7d}   17    V R/W     (Memory location:)
  123.          I/O 2       T   {$7d} {$7d}   16    RAM 3       ($0c00 - $0fff)
  124.          CA13        S   {$7d} {$7d}   15    RAM 2       ($0800 - $0bff)
  125.          CA12        R   {$7d} {$7d}   14    RAM 1       ($0400 - $07ff)
  126.          CA11        P   {$7d} {$7d}   13    BLK 5       ($a000 - $bfff)
  127.          CA10        N   {$7d} {$7d}   12    BLK 3       ($6000 - $7fff)
  128.          CA9         M   {$7d} {$7d}   11    BLK 2       ($4000 - $5fff)
  129.          CA8         L   {$7d} {$7d}   10    BLK 1       ($2000 - $3fff)
  130.          CA7         K   {$7d} {$7d}   9     CD7
  131.          CA6         J   {$7d} {$7d}   8     CD6
  132.          CA5         H   {$7d} {$7d}   7     CD5
  133.          CA4         F   {$7d} {$7d}   6     CD4
  134.          CA3         E   {$7d} {$7d}   5     CD3
  135.          CA2         D   {$7d} {$7d}   4     CD2
  136.          CA1         C   {$7d} {$7d}   3     CD1
  137.          CA0         B   {$7d} {$7d}   2     CD0
  138.          GND         A   {$7d} {$7d}   1     GND
  139.                          --
  140.  
  141.  
  142. --------------------------------------------------
  143.    Pinout diagram #3: EPROM # 2764A 
  144.    (This is a standard, 8K x 8 bit memory chip)
  145. --------------------------------------------------
  146.  
  147.                 
  148.             {$7d}   !!   {$7d}
  149.         Vpp {$7d} 1     28 {$7d} Vcc  (+5 Volts)
  150.         A12 {$7d} 2     27 {$7d} PGM  (Active low) 
  151.         A7  {$7d} 3     26 {$7d} N.C. (No connection)
  152.         A6  {$7d} 4     25 {$7d} A8
  153.         A5  {$7d} 5     24 {$7d} A9
  154.         A4  {$7d} 6     23 {$7d} A11
  155.         A3  {$7d} 7     22 {$7d} OE  (Output Enable; Active low)
  156.         A2  {$7d} 8     21 {$7d} A10
  157.         A1  {$7d} 9     20 {$7d} CE  (Chip Enable; Active low)
  158.         A0  {$7d} 10    19 {$7d} D7
  159.         D0  {$7d} 11    18 {$7d} D6
  160.         D1  {$7d} 12    17 {$7d} D5
  161.         D2  {$7d} 13    16 {$7d} D4
  162.         GND {$7d} 14    15 {$7d} D3
  163.             {$7d}{$7d}
  164.  
  165.  See Note 6 below, for some tips on using this as a replacement memory 
  166.  chip, on a modified cartridge body, for experimentation purposes. Note
  167.  that there are differences between it and the standard Vic20 chip below, 
  168.  that will have to be accounted for before it can be wired to the boards.
  169.  
  170.  
  171. --------------------------------------------------------
  172.     Pinout diagram #4: "MPS 2364" ROM chip
  173.     (Commodore-standard, 24-pin ROM chip, 8K x 8 bit.) 
  174. --------------------------------------------------------
  175.  
  176.                 
  177.             {$7d}   !!   {$7d}
  178.        CA7  {$7d} 1     24 {$7d} +5 Volts 
  179.        CA6  {$7d} 2     23 {$7d} CA8
  180.        CA5  {$7d} 3     22 {$7d} CA9
  181.        CA4  {$7d} 4     21 {$7d} CA12
  182.        CA3  {$7d} 5     20 {$7d} CS (Chip select, active low)
  183.        CA2  {$7d} 6     19 {$7d} CA10
  184.        CA1  {$7d} 7     18 {$7d} CA11
  185.        CA0  {$7d} 8     17 {$7d} CD7
  186.        CD0  {$7d} 9     16 {$7d} CD6
  187.        CD1  {$7d} 10    15 {$7d} CD5
  188.        CD2  {$7d} 11    14 {$7d} CD4
  189.        GND  {$7d} 12    13 {$7d} CD3
  190.             {$7d}{$7d}
  191.  
  192.  
  193. This pinout was derived from a Vic20 schematic, found in the book the 
  194. "Vic20 Programmer's Reference Guide". (Great book!) Please note that while
  195. this is an 8k-by-8-bit Commodore memory chip (its actually the Kernal chip, 
  196. located at $E000-$FFFF), and that while it could normally be assumed safely 
  197. that a company would standardize and use the same chips in their cartridges 
  198. that they used in their computer's motherboards, this is Commodore we're 
  199. talking about. A bit of paranoia might be in order. Having said that, I'll 
  200. note that as of this writing, the author has not compared this diagram and 
  201. an actual memory chip from a Commodore-produced Vic20 cartridge. 'Nuff said!
  202.  
  203.  
  204. ---------------------------------------------------------------------------
  205.   Assorted notes on the diagrams above, and related subjects. (No order.)
  206. ---------------------------------------------------------------------------
  207.  
  208.  
  209. Note 1: Information for the diagrams above was taken from the Vic20 reference
  210.         book "The Vic Revealed" by Nick Hampshire, 1982, Hayden Book Co, Inc.
  211.         That info was verified by checking it against information found in 
  212.         the "Vic20 Programmer's Reference Guide," 1982, by Commodore Business
  213.         Machines, Inc. and Howard W. Sams & Company, Inc.
  214.  
  215. Note 2: You are looking at the cart pinout as if you were holding an unopened 
  216.         cartridge, label-side up (or right, in these diagrams) with the gold 
  217.         fingers pointing at you. If you are looking at a bare circuit board 
  218.         once it has been taken out of its outer plastic case, the chip is on 
  219.         top (or right, as shown here) again with the gold fingers facing you. 
  220.         (The diagrams were drawn sideways, as the ASCII drawings are somewhat
  221.         clearer this way, believe it or not. There is less confusion this way
  222.         over which pin is which. Horizontally, each name takes up more space.)
  223.  
  224. Note 3: Radio Shack currently (as of July 1995) carries a part that works as
  225.         a Memory Expansion Port connector for the Vic20. However, they are
  226.         discontinuing it, and are selling off all remaining stock. Their part
  227.         number is 276-1551 for their "44-position card-edge connector." Once 
  228.         these are gone, you'll have to find another source for them. ($1.27) 
  229.         This part is useful for experimenting with this port on the Vic20, as 
  230.         it is a perfect fit, as is, to accept standard plug-in Vic cartridges.
  231.  
  232. Note 4: A perhaps useful experimenter's tip: If you plan to take the circuit 
  233.         board out of the cartridge case, then remove the ROM chip(s) from the
  234.         circuit board, mark the two sides of the board first, or you may no
  235.