home *** CD-ROM | disk | FTP | other *** search
/ Falcon 030 Power 2 / F030_POWER2.iso / ST_STE / MAGS / STPLUS19.ARJ / stplus19.msa / STP / COLOURS.STP / COLOURS.STP
Text File  |  1997-07-31  |  9KB  |  204 lines

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