home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD2.mdf / doc / graphdoc / yamaha.txt < prev   
Text File  |  1994-01-18  |  7KB  |  163 lines

  1.   Yamaha 6388 VPDC
  2.  
  3.  
  4. 3C2h (R): Misc Output Register
  5. bit 2-3  Select Master Clock
  6.            0  Use CLK0 as Master Clock (Usually 25.175 MHz)
  7.            1  Use CLK1 as Master Clock (Usually 28.322 MHz)
  8.            2  Use CLK2 as Master Clock (Usually external)
  9.            3  Use CLK3 as Master Clock (Usually the panel clock)
  10.  
  11. 3d4h index 72h (R/W): Video Control
  12. bit   0  Display on monochrome monitor/flat panel using
  13.          Hatching for G/H code 7 if set, Grey scale if not.
  14.       1  Enable Grey Scale/Hatching generator
  15.       2  Enable Tonal Gradation if set.
  16.       3  Select one of 2 16 word by 6 bit Color Palettes.
  17.       4  Enable 64 colors on 8 color panel if set.
  18.       5  This bit is output at the CON pin.
  19.  
  20. 3d4h index 73h (R/W): Hatching Select
  21. bit   0  Use Hatching for G/H code 8 if set, Grey Scale if not.
  22.       1  Use Hatching for G/H code 9 if set, Grey Scale if not.
  23.       2  Use Hatching for G/H code 10 if set, Grey Scale if not.
  24.       3  Use Hatching for G/H code 11 if set, Grey Scale if not.
  25.       4  Use Hatching for G/H code 12 if set, Grey Scale if not.
  26.       5  Use Hatching for G/H code 13 if set, Grey Scale if not.
  27.       6  Use Hatching for G/H code 14 if set, Grey Scale if not.
  28.       7  Use Hatching for G/H code 15 if set, Grey Scale if not.
  29.  
  30. 3d4h index 74h (R/W): Vertical Adjust
  31. bit 0-7  Number of non-used lines at the top of the screen.
  32.          For Dual Panel Single Drive use (Number of blank lines at
  33.          the top-1)*2.
  34.          For other types use (number of blank lines at the top)-1.
  35.  
  36. 3d4h index 75h (R/W): Raster Scan Control
  37. bit 0-1  Line Repeat Cycle.
  38.            0  5 line cycle
  39.            1  6 line cycle
  40.            2  7 line cycle
  41.            3  8 line cycle
  42.     2-4  Raster Scan Correction for Dual Panels
  43.          Set to LRC-(NLUS-NVA) mod LRC -1.
  44.          LRC  is 3d4h index 75h bit 0-1.
  45.          NLUS is 3d4h index 78h-79h  Number of Lines on Upper Screen.
  46.          NVA  is 3d4h index 74h      Number of Vertical adjustments.
  47. Note: The Multi Raster Scan defined in this and the next register is
  48.       used if 3d4h index 9 bit 7 is clear.
  49.  
  50. 3d4h index 76h (R/W): Raster Scan Data
  51. bit 0-7  Raster Scan Data. A clear bit indicates that the next scanline
  52.          should be repeated, whereas a set bit increments the line counter.
  53.          The bits are rotated in a 5, 6, 7 or 8 bit cycle depending on
  54.          3d4h index 75h bit 0-1.
  55.  
  56. 3d4h index 77h (R/W): LC Adjust
  57. bit 0-4  Latch Clock Adjust. Number of dots times to add to
  58.          Start and End Blanking times, as plasma and EL
  59.          panels require strict timings.
  60.  
  61. 3d4h index 78h (R/W): Vertical Screen Size H
  62.   bit 0  Bit 8 of the Vertical Screen Size.
  63.          The lower 8 bits are in 3d4h index 79h.
  64.  
  65. 3d4h index 79h (R/W): Vertical Screen Size L
  66. bit 0-7  Vertical Screen Size bit 0-7. Bit 8 is in 3d4h index 78h.
  67.          For full screen panels this value is the number of lines
  68.          on the display-1 typically 479.
  69.          For Dual Panel Single Drive types use (number of lines in
  70.          each panel-1)*2 typically 478.
  71.          For Dual Panel Dual Drive types use (number of lines in
  72.          each panel-1) typically 239.
  73.  
  74. 3d4h index 7Ah (R/W): Horizontal Screen Size
  75. bit 0-7  Horizontal Screen Size. For Dual Panel Dual Drive types
  76.          this is (number of dots per line)/4 -1 typically 159.
  77.          For other types this is (number of dots per line)/8 -1
  78.          typically 79.
  79.  
  80. 3d4h index 7Bh (R/W): M Signal Pulse Width H
  81. bit 0-1  Bits 8-9 of the M Signal Control.
  82.          Lower 8 bits are in 3d4h index 7Ch.
  83.  
  84. 3d4h index 7Ch (R/W): M Signal Pulse Width L
  85. bit 0-7  Bits 0-7 of the M Signal Control.
  86.          Bits 8-9 are in 3d4h index 7Bh bits 0-1.
  87.          This sets the cycle time for reversing the polarity of the AC
  88.          conversion signal M which is transmitted to the LCD panel.
  89.          This is a way of controlling the brightness of the display.
  90.  
  91. 3d4h index 7Dh (R/W): Panel Control
  92. bit 0-1  Selects Panel Screen type.
  93.            0  1 Screen Panel
  94.            1  2 Screen Single Drive type
  95.            2  2 Screen Dual Drive type.
  96.     2-3  Selects number of bits to transfer for each pixel.
  97.            0 = 1 bit serial, 1 = 4 bit parallel and 2 = 8 bit parallel.
  98.       4  If set the Shift Clock is output constantly, otherwise
  99.          only during display intervals.
  100.       6  If set FLM is output 2 cycles delayed from VSYNC,
  101.          if clear they are simultaneous.
  102.       7  If set the cursor blinks at a field cycle of 32, 16 if not.
  103.  
  104. 3d4h index 7Eh (R/W): Stand By
  105. bit   0  If set VPDC functions are stopped and Stand-by mode is
  106.          entered. Operation is resumed when this bit is cleared.
  107.          If DRAMs are used for Video RAM the content of display
  108.          memory will be lost in Stand-by mode.
  109.       1  If set writing of the Configuration Switches Register
  110.          (3d4h index 7Fh) from the CPU is enabled.
  111.  
  112. 3d4h index 7Fh (R/W): Configuration Switches
  113. bit 0-3  Display Type
  114.     4-5  Panel/CRT connection
  115.           0  VGA CRT (analog) connected
  116.           1  EGA CRT (digital) connected
  117.           2 or 3  Flat panel connected
  118.       6  SRAM is used if set, DRAM else
  119.       7  Scratch
  120.  
  121. 3d4h index 80h..FFh (R/W): Color Map Registers.
  122. bit 0-3  Color Map for color #((index#-80h)*2)
  123.     4-7  Color Map for color #((index#-80h)*2+1)
  124. Note: index 80h contains color #0 and 1, index 81h color #2 and 3 et cetera.
  125.  
  126.  
  127.  
  128. Grey Scale/Hatching
  129.  
  130.   The Yamaha 6388 VPDC can support both analog, digital and
  131.   various panel, plasma and LCD displays.
  132.   In order to display original color information on displays
  133.   with limited colors (monochrome, 8, 16 or 64 colors/shades)
  134.   some conversions must be made.
  135.   The VPDC has a Color Mapping Table (CMT) which converts
  136.   the 8bit color signal to 4 bits.
  137.   This 4 bit code is either used directly for output
  138.   or sent through a Grey Scale/Hatching (G/H) converter.
  139.  
  140.    G/H Code   Gradation    Hatching
  141.       0         ----   OFF   ----
  142.       1         ----   1/3   ----
  143.       2         ----   2/3   ----
  144.       3         ----   ON    ----
  145.       4         ----   1/4   ----
  146.       5         ----   2/4   ----
  147.       6         ----   3/4   ----
  148.       7         1/5         1,3/4
  149.       8         2/5         2,0/4
  150.       9         3/5         2,4/4
  151.      10         4/5         1/3 Hatch
  152.      11         1/6         2/3 Hatch
  153.      12         5/6         3\1 Hatch
  154.      13         2/7         3\2 Hatch
  155.      14         3/7         2|3 Hatch
  156.      15         4/7         1/2 Hatch
  157.  
  158.  
  159.  
  160.   ID Yamaha VGA:
  161.  
  162.   if testinx2($3d4,$7c,$7c) then YAMAHA_6388
  163.