home *** CD-ROM | disk | FTP | other *** search
/ No Fragments Archive 12: Textmags & Docs / nf_archive_12.iso / MAGS / DOCS / 32KCOLOR.ZIP / 32KCOLOR / 32768CLR.TXT < prev   
Encoding:
Text File  |  1990-04-26  |  9.0 KB  |  218 lines

  1.  
  2.  
  3.  
  4.                32,768 Color Support for the Atari ST
  5.  
  6.                          by Barry Orlando
  7.  
  8.                  for Public Domain,  dated 9-9-89
  9.  
  10.  
  11.      Here's a hardware modification for the standard Atari ST that increases
  12.  the color palette from 512 colors to 32,768 colors (32 shades of gray), while
  13.  still maintaining compatibility with existing Atari ST software (including
  14.  SPECTRUM 512). It is software compatible with the JRI's 4096C color board and
  15.  will also be compatible with the recently announced 4096 color STE (enhanced
  16.  ST).
  17.  
  18.      It does this by adding increased bits of resolution so as to increase the
  19.  ST's 16 read/write colors palette hardware registers from their standard 9
  20.  bits each, to 15 bits each. Each of the standard color palette registers have
  21.  the following bit arrangement:
  22.  
  23.                FEDCBA9876543210
  24.                .....RRR.GGG.BBB
  25.   
  26.  where, R, G, and B are the red, green, and blue components.
  27.  
  28.      The higher the value for any of these grouped bits, the more intense the
  29.  resulting color component. The above bits marked '.' are ignored.
  30.  
  31.      The JRI 4096C color board and the upcoming 4096 color STE add an extra bit
  32.  of resolution at bit locations 3, 7, and B, however these new bits are least
  33.  significant bits so as to maintain compatibility with existing software.
  34.  
  35.      The 32,768 color modification goes a step further by adding a fifth (and
  36.  less significant) bit to each color component at locations C, D, and E.  The
  37.  new arrangement is then:
  38.  
  39.                FEDCBA9876543210
  40.                .RGBRRRRGGGGBBBB
  41.  
  42.      As with the JRI 4096C color board, this modification adds an additional
  43.  Shifter chip. However this modification is slightly more involved in that it
  44.  uses three additional integrated circuits, and bypasses 9, 5% tolerance
  45.  resistors used by the Shifter chip, in favor of using 9, 1% tolerance
  46.  resistors.
  47.  
  48.  Disclaimer of Liability 
  49.   
  50.      This modification should not be attempted by anyone except by someone with
  51.  experience repairing or building digital electronic circuits. Performing this
  52.  modification will be done at your own risk and may void the warranty on your
  53.  computer.
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  Parts Used
  63.  
  64.      Qty       Description/Source/Cost
  65.  
  66.      1         Component Perfboard (3" x 2.5") cut from Radio Shack #276-147
  67.                ($2.99).
  68.  
  69.      2         3M Board Mounting Interconnectors (straight single-row
  70.                male).Digi-Key Part # 929834-08-36 ($2.05 each).
  71.  
  72.                     Digi-Key Corp.
  73.                     701 Brooks Ave South
  74.                     P.O Box 677
  75.                     Thief River Falls, MN 56701-0677
  76.                     Phone 1-800-344-4539 for free catalog.
  77.  
  78.      1         Quad 2 input NAND Gate, High Speed CMOS (74HC00N). Digi-Key
  79.                Corp., Part # MM74HC00N ($0.28).
  80.  
  81.      1         Quad Tri-State Transceiver, High Speed CMOS (74HC243N). Digi-Key
  82.                Corp., Part # MM74HC243N ($0.78).
  83.  
  84.      1         Octal Tri-State Transceiver, High Speed CMOS (74HC245N).
  85.                Digi-Key Corp., Part # MM74HC245N ($0.82).
  86.  
  87.      5 each    3.76K, 7.50K, 15.0K, 30.1K, 60.4K ohm metal film resistors, 1%,
  88.                1/4 watt. Digi-Key Corp., Part #s  3.76X, 7.50X, 15.0X, 30.1X,
  89.                60.4X (each value: 5 for $0.50)
  90.  
  91.      2         3.0K ohm carbon resistors, 5%, 1/4 watt. Digi-Key Corp., Part #
  92.                3.0E (5 for $0.25)
  93.  
  94.      5         0.1ufd Monolithic Ceramic capacitors, Radial, 50V, 10%, or
  95.                equivalent substitution, Digi-Key Corp. Part # P4525 ($0.19
  96.                each)
  97.  
  98.      2         Shifter Chip, Atari Part # CO25914-38A, one chip is obtained
  99.                from your ST's motherboard, the other from your local Atari
  100.                Authorized Service Center ($30.00)
  101.  
  102.   
  103.  
  104.  Installation of the Board
  105.  
  106.      Located on the ST's motherboard is mounted a sheet metal box which houses
  107.  the Shifter Chip. This box has a hinged lid which can be opened. Inside this
  108.  box you'll find the Shifter Chip mounted in a 40 pin socket.
  109.  
  110.      The board simply plugs into this socket so that the board is elevated
  111.  above the ST's motherboard with sufficient clearance to allow closing the
  112.  hinged lid.
  113.  
  114.  
  115.  
  116.      Three wires are installed from the color board to three vias (trace thru
  117.  holes) located nearby on the motherboard.
  118.  
  119.      Additionally, jumpers are installed across each of three 3.6K ohm
  120.  resistors on the motherboard. These resistors are easily traced from the
  121.  Shifter socket pins 21, 24, and 27.
  122.  
  123.  
  124.  
  125.  Circuit Schematic
  126.  
  127.      I was going to get the circuit diagram for this project digitized, but
  128.  just didn't get around to it (saved you the download). So if you want it send
  129.  me a self addressed stamped envelope to the following address:
  130.  
  131.                     Barry Orlando
  132.                     1120 Deerfield Dr.
  133.                     Napa, CA 94558
  134.  
  135.  
  136.  Board Assembly
  137.  
  138.      Because the sheet metal box (discussed above) does not allow alot of head
  139.  clearance, all components are mounted directly to the perfboard. If you use
  140.  chip sockets, the hinged lid will not fit back on without modification.
  141.  
  142.      The diagram below shows the orientation of components. I soldered all the
  143.  components to the perfboard then soldered all the connections using 30 gauge
  144.  Kynar wire wrap solid conductor wire (Radio Shack 278-502).  
  145.  
  146.      There is a slight modification to the circuit if you have any RAM chips
  147.  installed in your ST which are 150 nanosecond (i.e., slower than 120
  148.  nanosecond).  Pin 1 (DIR) of the 74HC245N must be tided to ground instead of
  149.  to the R/W line on Shifter. This will only disable the read capability for
  150.  bits C, D, and E of each color palette register mentioned above.
  151.  
  152.  Software
  153.  
  154.      Included with this text file is a program to display all gray levels and
  155.  colors. This is a very crude program but was intended to only prove that the
  156.  circuit works.  I have also included the C source code which provides the
  157.  engine for converting basic color intensities to board compatible bit
  158.  patterns.
  159.  
  160.  
  161.  
  162.  
  163.  
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  ****************************************************************************
  178.  *                                                                          *
  179.  *                       Color Board Layout                                 *
  180.  *                                                                          *
  181.  *               |-----------  2 1/2"  -------------|                       *
  182.  *           __  ___________________________________                        *
  183.  *            |  | ________                ________ |                       *
  184.  *            |  ||        |  |  -==-  |  |        ||                       *
  185.  *            |  ||   S    |  |  -==-  |  |   S    ||                       *
  186.  *            |  ||   H    |  |  -==-  |  |   H    ||                       *
  187.  *            |  ||   I    |  |  -==-  |  |   I    ||                       *
  188.  *            |  ||   F    |  |  -==-  |  |   F    ||                       *
  189.  *            |  ||   T    |  |  -==-  |  |   T    ||                       *
  190.  *            |  ||   E    |  |  -==-  |  |   E    ||                       *
  191.  *            |  ||   R    |  |  -==-  |  |   R    ||                       *
  192.  *            |  ||        |  |  -==-  |  |        ||                       *
  193.  *               ||   1    |  |  -==-  |  |   2    ||                       *
  194.  *        3 1/2" ||        |  |  -==-  |  |        ||                       *
  195.  *               ||        |  |  -==-  |  |        ||                       *
  196.  *            |  ||       *|  |  -==-  |  |       *||                       *
  197.  *            |  ||________|  |  -==-  |  |________||                       *
  198.  *            |  |  <>            <>       <>       |                       *
  199.  *            |  |              ____                |                       *
  200.  *            |  |      <>     |*   |        <> <------decoupling caps.     *
  201.  *            |  |    ____     |    |      ____     |                       *
  202.  *            |  |   |*   |    |    |     |*   |    |                       *
  203.  *            |  |   |    |    |    |     |    |    |                       *
  204.  *            |  | ()|    | [] |    | []  |    |    |                       *
  205.  *            |  | ()|    |    |    |  ^  |    |    |                       *
  206.  *            |  | ()|    |    |    |  |  |    |<------- 74HC243N           *
  207.  *            |  |   |____|    |____|  |  |____|    |                       *
  208.  *           _|_ |_____^_________^_____|____________|                       *
  209.  *                     |         |     |_________ 3.0K ohm resistors        *
  210.  *       74HC00N ______|         |_____ 74HC245N                            *
  211.  *                                                                          *
  212.  *                                                                          *
  213.  *                                                                          *
  214.  ****************************************************************************
  215.  
  216.  
  217.  the end!
  218.