home *** CD-ROM | disk | FTP | other *** search
/ BBS 1 / BBS#1.iso / document / vgadoc.arj / YAMAHA.DOC < prev   
Text File  |  1991-12-05  |  7KB  |  165 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, Gray scale if not.
  14.         1  Enable Gray 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, Gray Scale if not.
  22.         1  Use Hatching for G/H code 9 if set, Gray Scale if not.
  23.         2  Use Hatching for G/H code 10 if set, Gray Scale if not.
  24.         3  Use Hatching for G/H code 11 if set, Gray Scale if not.
  25.         4  Use Hatching for G/H code 12 if set, Gray Scale if not.
  26.         5  Use Hatching for G/H code 13 if set, Gray Scale if not.
  27.         6  Use Hatching for G/H code 14 if set, Gray Scale if not.
  28.         7  Use Hatching for G/H code 15 if set, Gray 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 C ontrol.
  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
  88.            the AC conversion signal M which is transmitted to the
  89.            LCD panel.
  90.            This is a way of controlling the brightness of the display.
  91.  
  92.   3d4h index 7Dh (R/W): Panel Control
  93.   bit 0-1  Selects Panel Screen type.
  94.              0  1 Screen Panel
  95.              1  2 Screen Single Drive type
  96.              2  2 Screen Dual Drive type.
  97.       2-3  Selects number of bits to transfer for each pixel.
  98.              0 = 1 bit serial, 1 = 4 bit parallel and 2 = 8 bit parallel.
  99.         4  If set the Shift Clock is output constantly, otherwise
  100.            only during display intervals.
  101.         6  If set FLM is output 2 cycles delayed from VSYNC,
  102.            if clear they are simultaneous.
  103.         7  If set the cursor blinks at a field cycle of 32, 16 if not.
  104.  
  105.   3d4h index 7Eh (R/W): Stand By
  106.     bit 0  If set VPDC functions are stopped and Stand-by mode is
  107.            entered. Operation is resumed when this bit is cleared.
  108.            If DRAMs are used for Video RAM the content of display
  109.            memory will be lost in Stand-by mode.
  110.         1  If set writing of the Configuration Switches Register
  111.            (3d4h index 7Fh) from the CPU is enabled.
  112.  
  113.   3d4h index 7Fh (R/W): Configuration Switches
  114.   bit 0-3  Display Type
  115.       4-5  Panel/CRT connection
  116.             0  VGA CRT (analog) connected
  117.             1  EGA CRT (digital) connected
  118.             2 or 3  Flat panel connected
  119.         6  SRAM is used if set, DRAM else
  120.         7  Scratch
  121.  
  122.   3d4h index 80h..FFh (R/W): Color Map Registers.
  123.   bit 0-3  Color Map for color #((index#-80h)*2)
  124.       4-7  Color Map for color #((index#-80h)*2+1)
  125.   Note: index 80h contains color #0 and 1, index 81h color #2 and 3 etc.
  126.  
  127.  
  128.  
  129.   Grey Scale/Hatching
  130.  
  131.     The Yamaha 6388 VPDC can support both analog, digital and
  132.     various panel, plasma and LCD displays.
  133.     In order to display original color information on displays
  134.     with limited colors (monochrome, 8, 16 or 64 colors/shades)
  135.     some conversions must be made.
  136.     The VPDC has a Color Mapping Table (CMT) which converts
  137.     the 8bit color signal to 4 bits.
  138.     This 4 bit code is either used directly for output
  139.     or sent through a Grey Scale/Hatching (G/H) converter.
  140.  
  141.      G/H Code   Gradation    Hatching
  142.         0         ----   OFF   ----
  143.         1         ----   1/3   ----
  144.         2         ----   2/3   ----
  145.         3         ----   ON    ----
  146.         4         ----   1/4   ----
  147.         5         ----   2/4   ----
  148.         6         ----   3/4   ----
  149.         7         1/5         1,3/4
  150.         8         2/5         2,0/4
  151.         9         3/5         2,4/4
  152.        10         4/5         1/3 Hatch
  153.        11         1/6         2/3 Hatch
  154.        12         5/6         3\1 Hatch
  155.        13         2/7         3\2 Hatch
  156.        14         3/7         2|3 Hatch
  157.        15         4/7         1/2 Hatch
  158.  
  159.  
  160.  
  161.   ID Yamaha VGA:
  162.  
  163.   if isport($3d4,$7c,$7f) then YAMAHA_6388
  164.  
  165.