home *** CD-ROM | disk | FTP | other *** search
/ ftp.elysium.pl / ftp.elysium.pl.tar / ftp.elysium.pl / docs / hardware / csg.chips.info < prev    next >
Text File  |  2010-08-07  |  28KB  |  1,077 lines

  1.  
  2.   Commodore 8-bit IC Technical Ref        Last updated: 24 10 1995
  3.  
  4.   This file is part of the X64 Emulator project.
  5.  
  6.  
  7.  
  8.     C=  Commodore Semiconductor Group
  9.         Microprocessors
  10.         Peripheral Interface Devices
  11.         Video Display Devices
  12.         Special Application
  13.             6581/6582 Sound Interface Device (SID)
  14.         Static Read Only Memory
  15.  
  16.     Signetics
  17.         82 S 100  Field Programmable Logic Array
  18.  
  19.  
  20. -------------------------------------------------------------------------------
  21.  
  22.         C=  Commodore Semiconductor Group
  23.  
  24.             Microprocessors
  25.  
  26. Description
  27. The 6500/8500 Series family includes a range of software compatible micropro-
  28. cessors which provide a selection of addressable memory range, interrupt input
  29. options and on-chip oscillators and drivers. All of the microprocessors within
  30. the group are directly bus compatible with the MC6800 series IC's.
  31.  
  32. The family includes ten microprocessors with on-board clock oscillators and
  33. seven microprocessors driven by external clocks. The on-chip clock versions
  34. are aimed at high performance, low cost applications where single phase crystal
  35. or RC inputs provide the time base. The external clock versions are geared for
  36. multiprocessor system applications where maximum timing control is mandatory.
  37.  
  38. Common Features
  39.     Single +5 volt supply
  40.     N channel, silicon gate, depletion load technology
  41.     Tri-state address bus, data bus and R/W controlled by AEC input
  42.     "Ready" input (for single cycle execution)
  43.     Direct memory access capability
  44.     True indexing capability
  45.     Decimal and binary arithmetic
  46.     56 Instructions with 13 addressing modes
  47.     8 bit parallel processing
  48.     8 bit Bi-directional Data Bus
  49.     Programmable Stack Pointer
  50.  
  51. Additional Features on 6510
  52.     8-Bit Bi-directional I/O Port
  53.     Variable length stack
  54.     Interrupt capability
  55.     Addressable memory range of up to 64K bytes
  56.     Bus compatible with M6800
  57.     Pipeline architehture
  58.     1 and 2 MHz operation
  59.     Use with any type or speed memory
  60.  
  61.  
  62. Available Microprocessors
  63.  
  64. Device    *Clocks    Pins    IRQ NMI RDY    Port    Address    AEC Sync Speed (MHz)
  65. 6502      O    40     X   X   X    -    64K     -   X      1,2,3,4
  66. 65CE02      O    40     X   X   X    -    64K     -   X      0 - 10
  67. 6503      O    28     X   X   -    -     4K     -   -      1,2,3,4
  68. 6504      O    28     X   -   -    -     8K     -   -      1,2,3,4
  69. 6505      O    28     X   -   X    -     4K     -   -      1,2,3,4
  70. 6506      O    28     X   -   -    -     4K     -   -      1,2,3,4
  71. 6507      O    28     -   -   X    -     8K     -   -      1,2,3,4
  72. 6508      E    40     X   -   -    8    64K     X   -      1,2,3
  73. 6509      E    40     X   X   X    **    1 M     X   X      1,2,3
  74. 6510     O,E    40     X   X   X    6,8    64K     X   -      1,2,3,4
  75.  
  76. R6511
  77.  
  78. 6512      E    40     X   X   X    -    64K     -   X      1,2,3,4
  79. 6513      E    28     X   X   -    -     4K     -   -      1,2,3,4
  80. 6514      E    28     X   -   -    -     8K     -   -      1,2,3,4
  81. 6515      E    28     X   -   X    -     4K     -   -      1,2,3,4
  82.  
  83. 7501    same as 8501
  84. 8500    same as 6510
  85. 8501      O    40     X   -   X    7 (8?)    64K     X   -      1,2,3
  86. 8502      O    40     X   X   X    7    64K     X   -      1,2,3,4
  87. 8503      O    40     X   -   -    8    64K     X   -      1,2,3,4
  88.  
  89.      * O - On chip clocks, E - External Clocks
  90.     ** Four extended address pins expand memory capacity to one megabyte.
  91.  
  92.  
  93. Pinout
  94.  
  95. Pin    6502        6510/8500    7501/8501    8502
  96.  
  97.  1    Vss        Phi0 in                Phi0 in
  98.  2    RDY        RDY                RDY
  99.  3    Phi1 out    /IRQ                /IRQ
  100.  4    /IRQ        /NMI                /NMI
  101.  5    NC        AEC                AEC
  102.  6    /NMI        Vcc                Vcc
  103.  7    Sync        A0                A0
  104.  8    Vcc        A1                A1
  105.  9    AB0        A2                A2
  106. 10    AB1        A3                A3
  107. 11    AB2        A4                A4
  108. 12    AB3        A5                A5
  109. 13    AB4        A6                A6
  110. 14    AB5        A7                A7
  111. 15    AB6        A8                A8
  112. 16    AB7        A9                A9
  113. 17    AB8        A10                A10
  114. 18    AB9        A11                A11
  115. 19    AB10        A12                A12
  116. 20    AB11        A13                A13
  117.  
  118. 21    Vss        GND                GND
  119. 22    AB12        A14                A14
  120. 23    AB13        A15                A15
  121. 24    AB14        P5                P6
  122. 25    AB15        P4                P5
  123. 26    D7        P3                P4
  124. 27    D6        P2                P3
  125. 28    D5        P1                P2
  126. 29    D4        P0                P1
  127. 30    D3        D7                P0
  128. 31    D2        D6                D7
  129. 32    D1        D5                D6
  130. 33    D0        D4                D5
  131. 34    R/W        D3                D4
  132. 35    NC        D2                D3
  133. 36    NC        D1                D2
  134. 37    Phi0 in        D0                D1
  135. 38    SO        R/W                D0
  136. 39    Phi2 out    Phi2 out            R/W
  137. 40    /RES        /RES                /RES
  138.  
  139.  
  140.  
  141.   Peripheral Port Description
  142.  
  143.  
  144.     8502 I/O Registers
  145.  
  146.     C128 mode:
  147.  
  148. 0000    x    0    1    0    1    1    1    1
  149. 0001    x    Caps    Motor    Sense    Write    HiRes    LoRes    Color
  150.  
  151.  
  152.     C64 mode:
  153.  
  154. 0000    0        7-0    MOS 8502 Data Direction    
  155.                     Register (xx101111)
  156.                     Bit= 1: Output, Bit=0:    
  157.                     Input, x=Don't Care    
  158.  
  159. 0001    1            MOS 8502 Micro-Processor On-Chip I/O Port    
  160.             0    /LORAM Signal (0=Switch    BASIC ROM Out)
  161.             1    /HIRAM Signal (0=Switch Kernal ROM Out)
  162.             2    /CHAREN Signal (O=Swith Char. ROM In)
  163.             3    Cassette Data Output Line
  164.             4    Cassette Switch Sense: 1 = Switch Closed
  165.             5    Cassette Motor Control:    0 = ON, 1 = OFF
  166.             6-7    Undefined
  167.  
  168.  
  169.     VIC-20 and PET
  170.  
  171.    There is no Peripheral Port on the 6502.
  172.  
  173.  
  174.  
  175.  
  176.             Peripheral Interface Devices
  177.  
  178. Device:
  179.     6520 = PIA (Parallel Interface Adapter) == MC6821
  180.     6522 = VIA (Versatile Interface Adapter)
  181.     6526 = CIA (Complex Interface Adapter)
  182.     6532 = RIOT (RAM, I/O and Timer) [Used in Atari 2600]
  183.  
  184.  
  185. Description
  186. Commodore offers a wide assortment of peripheral interface devices compatible
  187. with the 6500/8500 microprocessor family. These devices were specifically
  188. designed to simplify the implementation of Input/Output control in micropro-
  189. cessor systems. All of these devices are TTL compatible, have a single +5 volt
  190. supply, and are based on N-channel depletion load technology. Each device
  191. features from 8 to 24 individually programmable I/O lines. Additional func-
  192. tions on selected devices include handshaking capability, control/interrupt
  193. input lines, interrupt output, serial I/O, timers, RAM, and ROM.
  194.  
  195.  
  196. Available Peripheral Devices
  197.  
  198.                Hand-    Control/  Darling-
  199.         8-bit      shaking  Interrupt  ton    Serial     Timer/          Speed
  200. Device Pins Ports IRQ  (Port)   I/P Lines Drive    I/O   Timers Counters RAM  (MHz)
  201.  
  202. 6520    40    2
  203.  
  204. 6522    40    2       X   Read A     4/4     Port B    X     One    One      -    1,2
  205.                Write A,B      CB1,CB2     16-bit 16-bit
  206.  
  207. 6525    40    3**  X   Read A      2/5        -        -      -     -      -    ***
  208.                Write B
  209.  
  210. 6526*    40    2    X   Read B      2/1        -        X      -    Two      -    1,2,3
  211.  ****               Write B                    16-bit
  212.  
  213. 6529    20    1    -    -       -        -        -      -     -      -    ***
  214.  
  215.  
  216. 6530    40    2    X    -       -      Port A,B  -      One     -     64x8  1,2
  217.                               8-bit          ROM 1024x8
  218.  
  219. 6532    40    2    X    -       -      Port B    -      One     -     128x8 1,2
  220.                               8-bit
  221.  
  222. 8520    40    2    X   Read B      2/1        -        X      -    Two      -    1,2
  223.                Write B                    16-bit
  224.  
  225.  
  226.       * Note: Supports Time of Day Clock function.
  227.      ** Note: 2 ports if using control/interrupt lines.
  228.     *** Note: These devices are not clocked. Speed is determined by access
  229.           time.
  230.  
  231.        **** 6526 is the 1MHz version while 6526A is rated for 2MHz. Either one
  232.         can be used on CBM 8-bit machines, (C64, C128) as the I/O is
  233.         always clocked at 1MHz.
  234.  
  235.  
  236. Pinout
  237.  
  238. Pin    6520    6522    6526
  239.  
  240.  1        Vss    GND
  241.  2        PA0    PA0
  242.  3        PA1    PA1
  243.  4        PA2    PA2
  244.  5        PA3    PA3
  245.  6        PA4    PA4
  246.  7        PA5    PA5
  247.  8        PA6    PA6
  248.  9        PA7    PA7
  249. 10        PB0    PB0
  250. 11        PB1    PB1
  251. 12        PB2    PB2
  252. 13        PB3    PB3
  253. 14        PB4    PB4
  254. 15        PB5    PB5
  255. 16        PB6    PB6
  256. 17        PB7    PB7
  257. 18        CB1    /PC
  258. 19        CB2    TOD in
  259. 20        Vcc    Vcc
  260.  
  261. 21        /IRQ    /IRQ
  262. 22        R/W    R/W
  263. 23        /CS2    /CS
  264. 24        CS1    /FLAG
  265. 25        Phi2    Phi2
  266. 26        D7    D7
  267. 27        D6    D6
  268. 28        D5    D5
  269. 29        D4    D4
  270. 30        D3    D3
  271. 31        D2    D2
  272. 32        D1    D1
  273. 33        D0    D0
  274. 34        /RES    /RES
  275. 35        RS3    RS3
  276. 36        RS2    RS2
  277. 37        RS1    RS1
  278. 38        RS0    RS0
  279. 39        CA2    SP
  280. 40        CA1    CNT
  281.  
  282.  
  283. --
  284. From: schaefer@cluster.dfki.uni-sb.de (Ulrich Schaefer)
  285. Subject: Re: 1551 floppy drive (and: CBM 600 / 6525 TPI)
  286.  
  287.  
  288. It is possible to connect two 1551s because one drive can have
  289. two different device numbers. If (and only if) you give them two
  290. different numbers, you can plug both into the computer (you will
  291. need a large table, of course...). See the 1551's user's guide,
  292. appendix A, page 72. There, they explain how to change the device
  293. number by simply removing a jumper on the main circuit of the drive.
  294. I guess you do not have warranty any more... 
  295.  
  296. The jumper selects the decoding of the 6523 which is in the interface
  297. cartridge (but uses address space of the computer's CPU!).
  298. If the device number is 8, the 6523's base address (at the computer side)
  299. is $FEF0. If the device number is 9, its base address is $FEC0.
  300. Because of this fixed decoding, no more than two 1551s can be plugged
  301. into the computer without major changes.
  302.  
  303. Michael called the 6523 a triple interface adapter (which is it's
  304. official name, I guess). I would rather call it a cripple interface
  305. adapter. In my opinion, the 6523 is just a 'cripple' 6525 TPI (which
  306. is well known from the CBM 500/600/700 series, where two of them
  307. control the IEEE and user port interface).
  308.  
  309. The 6525 has three 8 bit ports (i.e. TPI=tri port interface) and 40
  310. pins, while the 6523 has three 'cripple' ports and only 28 pins (which
  311. make it cheaper). I guess the internal architecture of both is the same.
  312. Both the 6523 and the 6525 have three data and three direction registers.
  313. The 6525 has two additional: a control and an 'active interrupt register'.
  314.                      
  315. Address  6525 TPI                             6523 TIA
  316. --------------------------------------------------------------------------
  317.     0    Port A Data                          Port A Data (full 8 bit)
  318.     1    Port B Data                          Port B Data (only bits 0+1?) 
  319.     2    Port C Data or interrupt latch reg.  Port C Data (only bits 6+7?)
  320.     3    Port A Direction                     Port A Direction
  321.     4    Port B Direction                     Port B Direction 
  322.     5    Port C Direction or MIR interr. mask Port C Direction
  323.     6    Control reg.                         - (?)
  324.     7    Active Interrupt reg.                - (?)
  325.  
  326. This is what I found in my notes from 1987. I do not have any data sheets
  327. of these circuits. If anybody has, I would be interested, because I plan
  328. to re-use my old CBM 610 ...
  329.  
  330. In the 1551 cartridge, port A of the 6523 is used as the data port
  331. (8 bit parallel, which makes it so fast).
  332. Bit 0 and 1 of port B are used as status bits, and bit 6 and 7 of port
  333. C are used for 'busy' and 'strobe' (this is what I called them in my
  334. notes).
  335. --
  336.  
  337.  
  338. Newsgroups: comp.sys.cbm
  339. From: rhialto@mbfys.kun.nl (Olaf Seibert)
  340. Date: Sun, 30 Apr 1995 02:34:11 GMT
  341.  
  342. From: PetIO.doc   V1.2 08.01.95
  343.  
  344. RIOT 6532
  345. ---------
  346. Source: TOuCHE manual: the keyboard for the Apple-II clone from
  347. the Computer Hobbyvereniging Eindhoven. (They got DDRA and DDRB reversed.)
  348.  
  349. The RIOT is used at least in the diskdrives of type 2040, 3040, 4040, 8050,
  350. 8250. They contaijn two RIOTs (at $0200 and $0280) and a VIA (at $????).
  351.  
  352. The RIOT (RAM, I/O and Timer) has 128 bytes of RAM, 2 8-bit bidirectional
  353. I/O ports, and a timer that can count down at 4 different rates.
  354.  
  355. Reg.    Name    Description
  356. ---------------------------
  357.  0    PA    Port A data
  358.  1    DDRA    Port A Data Direction Register
  359.  2    PB    Port B data
  360.  3    DDRB    Port B Data Direction Register
  361.  4    Timer    Timer read register
  362. 14,0E    T1    1 clocks per decrement
  363. 15,0F    T8    8
  364. 16,10    T64    64
  365. 17,11    T1024    1024
  366.  
  367. The Data and DDR registers are as usual. The input is a buffer, the output
  368. is a latch.
  369.  
  370. The Timer register reads out the timer value; its initial value is set by
  371. writing into the T1..T1024 registers. Which one is used determines the
  372. number of clock cycles between decrements of the Timer register.
  373.  
  374. The chip also has an IRQ line but the cited source does not say anything
  375. further about it. The 8050 fdc rom usage suggests an irq is generated on
  376. timer underflow, with no special setup required.
  377.  
  378. Pinout:
  379.  
  380.  1  0V                    21    PB3
  381.  2  A5    Address lines            22    PB2
  382.  3  A4    (see also pin 40)        23    PB1
  383.  4  A3                    24    PB0
  384.  5  A2                    25    IRQn
  385.  6  A1                    26    D7    Data bus lines
  386.  7  A0                    27    D6
  387.  8  PA0 Port A data            28    D5
  388.  9  PA1                 29    D4
  389. 10  PA2                 30    D3
  390. 11  PA3                 31    D2
  391. 12  PA4                 32    D1
  392. 13  PA5                 33    D0
  393. 14  PA6                 34    RESn    Reset
  394. 15  PA7                 35    R/Wn
  395. 16  PB7 Port B data            36    RSn    RAM Select
  396. 17  PB6                 37    CSn
  397. 18  PB5                 38    CS    Circuit Select
  398. 19  PB4                 39    PHI2    Clock
  399. 20  +5V                 40    A6    Address line
  400.  
  401.  
  402. -------------------------------------------------------------------------------
  403.  
  404.         Video Display Devices
  405.  
  406. Description
  407. Commodore's family of Video Controllers offers attractive integration of all
  408. video logic necessary for color video graphics and text applications, such as
  409. low cost CRT terminals, industrial monitors, control system displays and home
  410. video games. Complete logic to implement all format timing, memory interface,
  411. attribute control, row buffering and high-speed shifting of pixel data are
  412. resident in each device.
  413.  
  414. The family of VIC II and TED devices provide fixed format display with 5 sepa-
  415. rate character/bit-map modes of operation. A raster Compare Interrupt allows
  416. the easy mixing of these modes for display of high-res graphics with text. A
  417. transparent scheme of using PhO time for fetching video data from memory allows
  418. for optimal CPU thruput. The VICs a|so contain a special type of display image,
  419. Movable Image Block (MIB), that once defined, can be moved to any screen posi-
  420. tion without the inherent character cell constraints.
  421.  
  422. The programmable 8563/68 features digital RGBI output for very sharp 640Vx400H
  423. color video. Direct video memory interface to 64K of DRAM requires no external
  424. logic.
  425.  
  426.  
  427. Available Video Devices
  428. -------------------------------------------------------------------------------
  429.  
  430. Device:         VIC
  431. Part No:     6560 (NTSC (NTSC-M))
  432.          6561 (PAL-B)
  433. Display Format:     programmable up to 24x25 text, 192Hx200V bit-map *)
  434. Display Modes:     2 character modes: HiRes, Multicolor
  435. Video Output:     16 color composite
  436. Features:     on chip sound system, 2 8-bit A/D converters,
  437.          interlace/non-interlace, light pen input
  438. Memory Interface:access 16K, transparent DMA
  439. Pins:         40
  440. Supply:         +5V
  441.  
  442.  *) Mr. MΣkelΣ said:
  443.      6561:n tarkkuus on mittausteni mukaan 232 * 282, merkkeinΣ 29 * 35.
  444.     Kellojaksoja on juovalla 71 ja juovia 312.
  445.     6560:ssa on kellojaksoja juovalla 65 ja juovia 261.
  446.  
  447.  
  448. Description
  449. The 6560 Video Interface Chip (VIC) is designed for color video graphics
  450. applications such as low cost CRT terminals, biomedical monitors, control
  451. system displays and arcade or home video games. It provides all of the
  452. circuitry necessary for generating color programmable character graphics
  453. with high screen resolution. VIC also incorporates sound effects and A/D
  454. convertersfor use in a video game environment.
  455.  
  456. Features
  457.     Fully expandable system with a 16K byte address space
  458.     System uses industry standard 8 bit wide ROMs and 4 bit wide RAMs
  459.     Mask programmable sync generation, NTSC-6560, PAL-6561
  460.     On-chip color generation (16 colors)
  461.     Up to 600 independently programmable and movable background
  462.      locations on a standard TV
  463.     Screen centering capability
  464.     Screen grid size up to 192 Horizontal and 200 Vertical dots
  465.     Two selectable graphic character sizes
  466.     On-chip sound system including:
  467.       a) Three independent, programmable tone generators
  468.       b) White noise generator
  469.       c) Amplitude modulator
  470.     Two on-chip 8 bit A/D converters
  471.     On-chip DMA and address generation
  472.     No CPU wait states or screen hash during screen refresh
  473.     Interlaced/Non-Interlaced switch
  474.     16 addressable control registers
  475.     2 modes of color operation
  476.  
  477.  
  478. Pinout
  479.  
  480. Pin    6560/6561
  481.  
  482.  1    NC
  483.  2    Comp Color
  484.  3    Sync & Lumin
  485.  4    R/W
  486.  5    DB11
  487.  6    DB10
  488.  7    DB9
  489.  8    DB8
  490.  9    DB7
  491. 10    DB6
  492. 11    DB5
  493. 12    DB4
  494. 13    DB3
  495. 14    DB2
  496. 15    DB1
  497. 16    DB0
  498. 17    POT X
  499. 18    POT Y
  500. 19    Comp Snd
  501. 20    Vss
  502.  
  503. 21    A0
  504. 22    A1
  505. 23    A2
  506. 24    A3
  507. 25    A4
  508. 26    A5
  509. 27    A6
  510. 28    A7
  511. 29    A8
  512. 30    A9
  513. 31    A10
  514. 32    A11
  515. 33    A12
  516. 34    A13
  517. 35    P Phi 1
  518. 36    P Phi 2
  519. 37    Option
  520. 38    Phi 2 In
  521. 39    Phi 1 In
  522. 40    Vdd
  523.  
  524.  
  525. -------------------------------------------------------------------------------
  526.  
  527. Device:         VIC II
  528. Part No:     6566 (NTSC (NTSC-M), non-multiplexed address lines)
  529.          6567 (NTSC (NTSC-M))
  530.          6569 (PAL-B)
  531.          6572 (PAL-N)
  532.          6573 (PAL-M)
  533.  
  534.          8562 (NTSC (NTSC-M))
  535.          8565 (PAL-B)
  536.  
  537. Display Format:     40x25 text, 320Hx200V bit-map
  538. Display Modes:     3 character modes: Standard, Multicolor, Extended
  539.          2 bit-map modes:  HiRes, Multicolor
  540. Video Output:     16 color composite
  541. Features:     8 MIB's (sprites), horiz. and vert. scrolling,
  542.          light pen input, Raster Compare Interrupt
  543. Memory Interface:access 16K, interface to multiplexed DRAM,
  544.          transparent DMA, provides system RAS and CAS (except 6566)
  545. Pins:         40
  546. Supply  65xx:    +5V and +12V
  547.     85xx:    +5V
  548.  
  549. Description
  550. The 6566/6567 are multi-purpose color video controller devices for use in
  551. both computer video terminals and video game applications. Both devices
  552. contain 47 control registers which are accessed via a standard 8-bit
  553. microprocessor bus (65XX) and will access up to 16K of memory for display
  554. information.
  555.  
  556.  
  557. Pinout
  558.  
  559. Pin    6566        6567/6569    8565
  560.  
  561.  1    DB6        DB6
  562.  2    DB5        DB5
  563.  3    DB4        DB4
  564.  4    DB3        DB3
  565.  5    DB2        DB2
  566.  6    DB1        DB1
  567.  7    DB0        DB0
  568.  8    /IRQ        /IRQ
  569.  9    LP        LP
  570. 10    /CS        /CS
  571. 11    R/W        R/W
  572. 12    BA        BA
  573. 13    Vdd (+12V)    Vdd (+12V)    Vdd (+5V)
  574. 14    Color        Color
  575. 15    S/LUM        S/LUM
  576. 16    AEC        AEC
  577. 17    PH0        PH0
  578. 18    PHIN        /RAS
  579. 19    PHCOL        /CAS
  580. 20    Vss        Vss
  581.  
  582. 21    A0        PHCL
  583. 22    A1        PHIN
  584. 23    A2        A11
  585. 24    A3        A0 (A8)
  586. 25    A4        A1 (A9)
  587. 26    A5        A2 (A10)
  588. 27    A6        A3 (A11)
  589. 28    A7        A4 (A12)
  590. 29    A8        A5 (A13)
  591. 30    A9        A6 ("1")
  592. 31    A10        A7
  593. 32    A11        A8
  594. 33    A12        A9
  595. 34    A13        A10
  596. 35    DB11        DB11
  597. 36    DB10        DB10
  598. 37    DB9        DB9
  599. 38    DB8        DB8
  600. 39    DB7        DB7
  601. 40    Vcc        Vcc        Vcc
  602.  
  603.  
  604. -------------------------------------------------------------------------------
  605.  
  606. Device:         VIC IIE
  607. Part No:     8564 (NTSC (NTSC-M))
  608.          8566 (PAL-B)
  609.          8569 (PAL-N)
  610.  
  611. Display Format:     40x25 text, 320Hx200V bit-map
  612. Display Modes:     3 character modes: Standard, Multicolor, Extended
  613.          2 bit-mapo modes:  HiRes, Multicolor
  614. Video Output:     16 color composite
  615. Features:     8 MIB's (sprites), horiz. and vert. scrolling,
  616.          light pen input, Raster Compare Interrupt,
  617.          Keyboard Control Register, 2MHz clock,
  618.          true external DMA and arbitration control
  619. Memory Interface:access 16K, interface to multiplexed DRAM,
  620.          transparent DMA, provides system RAS and CAS
  621. Pins:         48
  622. Supply:         +5V
  623.  
  624.  
  625. Pinout
  626.  
  627. Pin    8564/8566
  628.  
  629.  1    D6
  630.  2    D5
  631.  3    D4
  632.  4    D3
  633.  5    D2
  634.  6    D1
  635.  7    D0
  636.  8    /IRQ
  637.  9    LP
  638. 10    BA
  639. 11    -
  640. 12    AEC
  641. 13    /CS
  642. 14    R/W
  643. 15    -
  644. 16    Color
  645. 17    Sync
  646. 18    1MHz
  647. 19    /RAS
  648. 20    /CAS
  649. 21    MUX
  650. 22    IOACC
  651. 23    2MHz
  652. 24    Vss
  653.  
  654. 25    Z80 Phi
  655. 26    K0
  656. 27    K1
  657. 28    K2
  658. 29    PH_CL
  659. 30    PH_IN
  660. 31    A11
  661. 32    A0
  662. 33    A1
  663. 34    A2
  664. 35    A3
  665. 36    A4
  666. 37    A5
  667. 38    A6
  668. 39    A7
  669. 40    A8
  670. 41    A9
  671. 42    A10
  672. 43    D11
  673. 44    D10
  674. 45    D9
  675. 46    D8
  676. 47    D7
  677. 48    Vdd
  678.  
  679.  
  680. -------------------------------------------------------------------------------
  681.  
  682. Device:         TED
  683. Part No:     8360 (NTSC / PAL-B)
  684.          8365 (PAL-N)
  685.          8366 (PAL-M)
  686.  
  687. Display Format:     40x25 text, 320Hx200V bit-map
  688. Display Modes:     3 character modes: Standard, Multicolor, Extended
  689.          2 bit-mapo modes:  HiRes, Multicolor
  690. Video Output:     121 color composite
  691. Features:     2 voice sound, 8-bit keyport control, Clk doubling,
  692.          horiz. and vert. scrolling,
  693.          Raster Compare  and 3 timer generated interrupts,
  694.          hardware cursor blink and reverse video attributes
  695.          true external DMA and arbitration control
  696. Memory Interface:access 64K, transparent DMA,
  697.          provides system RAS, CAS and MUX
  698. Pins:         48
  699. Supply:         +5V
  700.  
  701. -------------------------------------------------------------------------------
  702.  
  703. Device:         DVDC
  704. Part No:     8563
  705.          8568
  706.  
  707. Display Format:     programmable up to up to 80x25 text, 640Hx400V bitmap
  708.          (interlaced up to 80x50 text, 640Hx480V bitmap, and more)
  709. Display Modes:     3 char modes: Std, Semigraph and pixel,
  710.          double width & HiRes bitmap mode
  711. Video Output:     digital RGBI 16 color or 16 gray-shades
  712. Features: 8563:     interlace/non-interlace, horiz & vert scroll,
  713.          lightpen input, hardware cursor, underline, blink and
  714.          reverse video, supports 2 character sets of 256 each
  715.       8568:  above plus Update Ready Interrupt, composite video and
  716.          composite sync
  717. Memory Interface:access 64K, programmable to interface either 4164/4464 or
  718.          4416 DRAM
  719. Pins:         48
  720. Supply:         +5V
  721.  
  722.  
  723. Pinout
  724.  
  725. Pin    8563
  726.  
  727.  1    CCLK
  728.  2    DCLK
  729.  3    HSYN
  730.  4    /CS
  731.  5    -
  732.  6    -
  733.  7    /CS
  734.  8    /RS
  735.  9    R/W
  736. 10    D7
  737. 11    D6
  738. 12    Vss
  739. 13    D5
  740. 14    D4
  741. 15    D3
  742. 16    D2
  743. 17    D1
  744. 18    D0
  745. 19    DISPEN
  746. 20    VSYN
  747. 21    DR/W
  748. 22    INIT
  749. 23    /RES
  750. 24    TST
  751.  
  752. 25    /LP2
  753. 26    DA0
  754. 27    DA1
  755. 28    DA2
  756. 29    DA3
  757. 30    DA4
  758. 31    DA5
  759. 32    DA6
  760. 33    DA7
  761. 34    DD0
  762. 35    DD1
  763. 36    DD2
  764. 37    Vdd
  765. 38    DD3
  766. 39    DD4
  767. 40    DD5
  768. 41    DD6
  769. 42    DD7
  770. 43    I
  771. 44    B
  772. 45    G
  773. 46    R
  774. 47    /RAS
  775. 48    /CAS
  776.  
  777.  
  778.  
  779.   The VDC VideoRAM Upgrade
  780.  
  781.  
  782. From: Raymond Carlsen <rrcc@u.washington.edu>
  783. Newsgroups: comp.sys.cbm
  784. Subject: Re: W: 8563 RAM swap instructions
  785. Date: Wed, 27 Sep 1995 20:50:02 -0700
  786.  
  787. > The subject says it all. How do you do this 16k to 64k swap?
  788.  
  789.      I assume you mean the video RAM upgrade for the C-128. If you're 
  790. good with a de-soldering iron, it just involves removing two chips from 
  791. the board and installing replacements. The original chips are 4416 DRAM 
  792. at board locations U23 and U25 inside the metal can, between the VIC and 
  793. RGB chips. The replacements are 4464. The numbers on the chips may vary 
  794. with manufacturers, but the originals are 4 bit wide 16K... two of them 
  795. make 16K by 8 bits. The upgrade to two 4 bit wide 64K chips give a 
  796. total of 64K by 8 for the flat 128. The 128D was built with 64K of VRAM 
  797. already installed. 
  798.      I always install sockets anytime I replace chips in a PC board. 
  799. Removing the old chips is the worst part of the job. Probably the easiest 
  800. way is to cut all of the pins on the old chip, then remove them one at a 
  801. time with a regular iron. As a tech, I hate to destroy anything that 
  802. still works. I use a desoldering iron to free each pin, then remove the 
  803. chip intact. If the new chips don't work for any reason, I can cross 
  804. check my work by reinstalling the old ones. Sockets mean never having to 
  805. solder again. It's important to orient the new chips in the board 
  806. correctly. One end of the chip will have a notch and the outline on the 
  807. board will match.
  808.  
  809.      Unless you have software that takes advantage of the extra video RAM
  810. you will not see any difference in the performance of your computer. I 
  811. think Maverick uses that RAM space to speed up copying files. It's useful 
  812. for improved bitmapped graphics. It is only good for the 80 column 
  813. screen... the 40 column VIC doesn't access it. To verify C-128 VRAM as 
  814. either 16K or 64K, run this little program:
  815. POKE DEC("D600"),28:POKE DEC("D601"),63:SYS DEC("FF62"):SCNCLR  <RETURN>
  816. If the screen shows the READY prompt and looks normal, the 128 has 64K 
  817. of VRAM installed. If it only has 16K (stock 128 without upgrade), the 
  818. screen fills up with zeros. Hit RUN/STOP-RESTORE to clear it.
  819.  
  820.      At one time, some company was selling a piggyback board with the RAM 
  821. installed. It needed no soldering as the on-board 4116s were bypassed. All 
  822. that was necessary was to remove the 80 Column RGB (8563, also known as 
  823. the VDC) chip from its' socket, install the piggyback board and plug the 
  824. RGB chip into the piggyback. I haven't seen that board advertised for
  825. some time.
  826.  
  827.      [Chips are available from Jameco Electronics @ 1-800-831-4242. Order 
  828. part #41582 (41464-12), or 41574 (41464-10), or 41611 (41464-80). They 
  829. cost less than 3 bucks each. Jameco also has other replacement chips for 
  830. Commodore computers.]
  831.  
  832.  
  833.           Ray Carlsen  Univ. of Washington, Seattle
  834.  
  835.  
  836. -------------------------------------------------------------------------------
  837.  
  838. Device:         CRTC
  839. Part No:     6545-1
  840.  
  841. Display Format:     programmable controller
  842. Display Modes:     -
  843. Video Output:     -
  844. Features:     programmable cursor, lightpen input
  845. Memory Interface:access 16K, straight binary or row/column
  846. Pins:         40
  847. Supply:         +5V
  848.  
  849.  
  850. -------------------------------------------------------------------------------
  851.  
  852.   Note: MIB's (Movable Image Blocks) are later known better as MOB's for
  853.     Movable Object Blocks.
  854.  
  855.  
  856.  
  857.         Special Application
  858.  
  859.     6581/6582 Sound Interface Device (SID)
  860.  
  861. Description
  862. The 6581 Sound Interface Device (SID) is a single-chip, 3-voice electronic
  863. music systhesizer/sound effects generator compatible with the 65XX and
  864. similar microprocessor families.
  865. SID provides wide-range, high-resolution control of pitch (frequency),
  866. tone color (harmonic content), and dynamics (volume). Specialized control
  867. circuitry minimizes software overhead, facilitating use in arcade/home video
  868. games and low-cost musical instruments.
  869.  
  870. The 6582 Sound Interface Device (SID) is a sound generator chip compatible with
  871. the 6500/8500 microprocessor families.
  872.  
  873. Features
  874.     3 Tone Oscillators, Range 0-4kHz
  875.     4 Waveforms per Oscillator: Triangle, Sawtooth, Variable Pulse, Noise
  876.     3 Amplitude Modulators, Range 48 dB
  877.     Random Number/Modulation Generator
  878.     3 Envelope Generators
  879.       Exponential response
  880.       Attack Rate:  2 ms - 8 s
  881.       Decay Rate:   6 ms - 24 s
  882.       Sustain Level: 0 - peak volume
  883.       Release Rate: 6 ms - 24 s
  884.     Oscillator Synchronization
  885.     Ring Modulation
  886.     Programmable Filter
  887.       Cutoff Range: 30Hz-12kHz
  888.       12 dB/octave Rolloff
  889.       Low pass, Band pass, High pass, Notch outputs
  890.       Variable resonance
  891.     Master Volume Control
  892.     2 A/D POT Interfaces
  893.     External Audio Input
  894.  
  895. Pins:         24
  896. Supply:         +12 V (6581)
  897.           +9 V (6582 / 8580)
  898.  
  899.  
  900. Pinout
  901.  
  902. Pin    6581/8580
  903.  
  904.  1    Cap 1A
  905.  2    Cap 1B
  906.  3    Cap 2A
  907.  4    Cap 2B
  908.  5    /RES
  909.  6    Phi In
  910.  7    R/W
  911.  8    /CS
  912.  9    A0
  913. 10    A1
  914. 11    A2
  915. 12    A3
  916. 13    A4
  917. 14    GND
  918.  
  919. 15    D0
  920. 16    D1
  921. 17    D2
  922. 18    D3
  923. 19    D4
  924. 20    D5
  925. 21    D6
  926. 22    D7
  927. 23    Pot Y
  928. 24    Pot X
  929. 25    +5 V
  930. 26    Ext In
  931. 27    Audio Out
  932. 28    +12 V (6581)
  933.     +9 V (8580)
  934.  
  935.  
  936. -------------------------------------------------------------------------------
  937.  
  938.         Static Read Only Memory
  939.  
  940. Description
  941. Commodore offers a variety of high performance ROMs with a wide range of access
  942. times providing compatibility with most microprocessor systems. The ROMs are
  943. TTL compatible, having a single +5 volt power supply and totally static opera-
  944. tion.
  945. The 2400 series "Power Down" ROMs offer significantly reduced power consumption
  946. while in stand-by mode. Each device has programmable chip select and/or output
  947. enable for output bus control and is designed to replace equivalent EPROMs.
  948.  
  949.  
  950. Available ROMS
  951.  
  952.     Organization     Access Time (ns)    Operating      Standby   Process
  953. Device    Words x Bits    Address     CE  CS/OE   Current      Current   Technology
  954.  
  955.  2332/3     4096 x 8    200    N/A    75      100 mA        N/A         HMOS
  956.  2364     8192 x 8    200    N/A   100      100 mA        N/A         HMOS
  957. 23128    16384 x 8    250    N/A   100      100 mA        N/A         HMOS
  958. 24128    16384 x 8    250    250   100      100 mA       12 mA     HMOS
  959. 24256    32768 x 8    250    250   100      100 mA       12 mA     HMOS
  960. 24512    65536 x 8    250    250   100      100 mA       12 mA     HMOS
  961. 24C128    16384 x 8    200    200   100       10 mA       50 uA     CMOS
  962. 24C256    32768 x 8    250    250   100       10 mA       50 uA     CMOS
  963.  
  964.  
  965. -------------------------------------------------------------------------------
  966.  
  967.     82 S 100  Field Programmable Logic Array (16 x 48 x 8)
  968.  
  969. Description
  970.  
  971. The 82S100 (Three-State) and 82 S 101 (Open Collector) are Bipolar, Fuse-Link
  972. Programmable Logic Arrays (FPLAs). Each device utilizes the standard
  973. AND/OR/Invert architecture to directly implement custom sum-of-product logic
  974. equations.
  975.  
  976. Each device consists of 16 dedicated inputs and 8 dedicated outputs. Each
  977. output is capable of being actively controlled by any or all of the 48
  978. product terms. The true, complement, or don't care condition of each of the
  979. 16 inputs ANDed together comprise one P-Term. All 48 P-Terms are then OR-d
  980. to each output. The user must then only select which P-Terms will activate
  981. an output by disconnecting terms which do not affect the output. In addition,
  982. each output can be fused as active high (H) or active low (L).
  983.  
  984. The 82S100 and 82S101 are  fully TTL compatible and includes chip-enable
  985. control for expansion of input variables and output inhibit. They feature
  986. either Three-State or Open Collector outputs for ease of expansion of product
  987. terms and application in bus-organized systems.
  988.  
  989.  
  990. Features:
  991.     Field programmable Ni-Cr links
  992.     16 inputs
  993.     8 outputs
  994.     48 product terms
  995.     Address access time:
  996.        S82S100/101:    80 ns max
  997.        N82S100/101:    50 ns max (Commercial verion)
  998.     Power dissipation - 600mW typ
  999.     Input loading - 100uA max
  1000.     Chip enable input
  1001.     Three state outputs
  1002.     Separate I/O architecture
  1003.  
  1004. Applications
  1005.     CRT display systems
  1006.     Random logic
  1007.     Code conversion
  1008.     Peripheral controllers
  1009.     Function generators
  1010.     Look-up and decision tables
  1011.     Microprogramming
  1012.     Address mapping
  1013.     Character generators
  1014.     Data security encoders
  1015.     Fault detectors
  1016.     Frequency synthesizers
  1017.     16-bit to 8-bit bus interface
  1018.  
  1019.  
  1020. The 82S100 devices are shipped in an unprogrammed state characterised by:
  1021. All internal Ni-Cr links are intact and therefore each product term contains
  1022. both true and complement values of every input variable,
  1023. the OR matrix contains all 48 P-Terms,
  1024. the polarity of each output is set to active high,
  1025. all outputs are at a low logic level.
  1026.  
  1027.  
  1028. Pinout
  1029.  
  1030. Pin    82s100  (Cerdip, Plastic, Flat Pack)
  1031.  
  1032.  1    FE (open or grounded in normal operation)
  1033.  2    I7
  1034.  3    I6
  1035.  4    I5
  1036.  5    I4
  1037.  6    I3
  1038.  7    I2
  1039.  8    I1
  1040.  9    I0
  1041. 10    F7
  1042. 11    F6
  1043. 12    F5
  1044. 13    F4
  1045. 14    GND
  1046.  
  1047. 15    F3
  1048. 16    F2
  1049. 17    F1
  1050. 18    F0
  1051. 19    /CE
  1052. 20    I15
  1053. 21    I14
  1054. 22    I13
  1055. 23    I12
  1056. 24    I11
  1057. 25    I10
  1058. 26    I9
  1059. 27    I8
  1060. 28    Vcc
  1061.  
  1062.  
  1063. -------------------------------------------------------------------------------
  1064.  
  1065.     More info wanted on (at least) these:
  1066.  
  1067.     8362 PAL Video Chip
  1068.     CSG 5719
  1069.     CSG 4567 VIC-III
  1070.     CSG 8362
  1071.     CSG 8372A Super Agnus (for Amiga)
  1072.  
  1073. The Amiga has 8520's as CIA's, which are the Amiga version of the 6522 et al.
  1074. Characteristics are almost the same; there is 24-bit counter in place of the
  1075. CIA's TOD clock.
  1076.  
  1077.