⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 whatvga.doc

📁 比较详尽的VGA端口寄存器的文档
💻 DOC
📖 第 1 页 / 共 4 页
字号:

    !!NOTE!! this may hang your PC or expose your video card or monitor
    to conditions beoynd their intended operational specifications.
    While damage to your monitor or video card is extremely unlikely
    (I haven't heard of a confirmed case since the old IBM MDA monitor),
    it is theoretically possible and my insurence company refuses to
    recognize any responsibility what so ever :-).

    Hanging your PC is however a very real possibility.
    Note the bit you were testing, reboot (power off may be required)
    and restart from the NEXT bit.

  D DAC test submenu
    Tests various special DAC functions:

      2 - Test 24bit (16Mcolor) mode
      3 - Test 32bit (16Mcolor RGBa) mode
      5 - Test 15bit (32Kcolor) mode
      6 - Test 16bit (64Kcolor) mode
          Tests the switching between 256color mode and 15/16/24/32bit mode.
          Besides the normal 256color test pattern a RGB color scale in the
          selected mode is also shown (this will look weird in 256color mode)
          Pressing + toggles between the two modes.
          Esc or Enter terminates the test.

      8 - Test 6/8bit mode
          A test pattern is drawn in the selected 256color mode. The palette
          is set up to use the full 256 of 16m palette (256 shades of each
          basic color). When the DAC is in 6bit mode there are only 64 shades,
          thus the color bars will "break". The + key switches between 6bit
          and 8bit DAC mode. Esc or Enter terminates the test.

      A - DAC Cmd register Analysis
          This test examines the DAC command register which is accessed by
          reading 3C6h several times. Note that only some DACs have this
          register! The PEL register (3C6h) is set to 4 different patterns
          (55h, AAh, 5Ah and A5h) and for each pattern 3C6h is read 8 times.
          If the DAC has a command register it will show after 4 or 5 reads.
          Some DACs have more than one "hidden" register at 3C6h and some DACs
          revert to the PEL register after the first read of the command
          register, while others allow multiple reads of the command register.
          Then the command register is tested for read/writability, first bit
          by bit (0 to 7) this is reported as: "Dac Single Bit Mask: EF" where
          EF indicates that all but bit 4 is Read/Writable, then all values (0
          to 255) are tested and reported as: "DAC mask: AA R/W: BB Change: CC
           Set: DD Clear: EE" where AA shows the bits actually tested - FFh =
          all (Some DACs have problems with some bits combinations), BB are the
          Read/Writable bits, CC the ones that changed but aren't R/W, DD the
          bits that are always set and EE the ones that are always clear.
          If any patterns causes unexpected results they are shown as: "  AA =
           BB" where AA is the value written and BB the one read back.
          All fields above are in hex.

      C - Test Command register
          Allows you to test the behaviour of the DAC command register. Apart
          from the usual 256color test pattern a number of color scales are
          drawn in (from top to bottom) 15, 16, 24 and 32 bit color format.
          These will of course look hopeless in 256color mode, but allows you
          to detect if you switch to one of these modes. The F1 - F8 keys will
          toggle bits 0 - 7 of the command register. The value you are
          currently trying to program, is shown at the top.

      G - Gamma Test
          Allows you to test if your DAC can handle gamma correction in Hi-
          and True color modes. You are asked to select a Hi- or Truecolor
          mode, the test pattern is drawn and now one of the basic colors
          (Red, Green and Blue) will be inverted every time + is pressed.

      M - Select base mode
          Selects the mode to use for the DAC tests from the available 256
          color modes. By default the 640x480 mode is used.

    A test pattern is drawn in the selected 256color mode.
    The palette is set up to use the full 256 of 16m palette (256
    shades of each basic color). When the DAC is in 6bit mode there
    are only 64 shades, thus the color bars will "break".
    The keys 6 and 8 switches between 6bit and 8bit DAC mode
    (if the 8bit DAC mode works :-) ).
    Esc or Enter terminater the test.
    Currently this only works for the AT&T (20c490/491), Sierra 24bit 
    (SC15021/25), Trident TDK8001 and Brooktree (Bt477,Bt484/5) DACs.

  R Register Read/Write test.

    You are asked for the base register (such as 3C0h, 3C4h, 3CEh or 3d4h),
    the mask used for the index register. The mask is entered as an 8 character
    string where each character controls one bit of the index (bit 0 first) and
    can be 'x' (don't care), '0' (always 0), '1' (always 1) or ' ' (don't care
    if the bit is Read/Writable in the index register, 0 or 1 if it is always 0
    or 1). Any other characters are interpreted as ' '.
    Finally you are asked for the mode to use for the test. After the test a
    table showing the status of each bit tested is output starting from index 0
    bit 0. Each bit is shown as: '.' (Masked), '0' (Always 0), '1' (Always 1),
    'A' (Automatically changing), 'C' (Read/Writable, but changed by some other
    bit) or 'W' (Read/Writable).


The tests:

ID:      Is the Chip Set, DAC and video memory identified correctly?

Xres:    Are the modes (standard and extended) displayed correctly?
         Display type, Switch settings and BIOS versions can cause
         some modes to be unavailable or out of sync.

Scrl:    Can you display and scroll in the Virtual Screen ?
         You should be able to move in the entire virtual screen,
         but not to move so far right or down that the display wraps.
         If you can move past the right edge (or can't reach it)
         we probably miss a factor of two in the SetVStart function.
         Also can you scroll horizontally in 1 pixel steps ?
         If the display wraps when the start crosses the middle (or 1/4)
         of memory we have a problem with the high bits (the Y variable)
         in the SetVStart function or with an enable bit.
         Also part of video memory can be inaccessible in modes that
         normally only use <half the memory causing the testpattern to
         be overwritten.

Anal:    Are the modes (particularly the extended ones) analysed
         correctly (Ie do the "Calc:" fields match the "List:" ones) ?
         Some modes, such as 2 and 4 color and mode 13h are hard to ID
         on many adapters.

Cur:     Is the HardWare cursor shown correctly and can it be moved
         around the display with the arrow keys ?
         The cursor should look like a snipers sights with a dot in the
         upper left corner.

Blit:    Is the central palette drawn correctly ? Are the secondary palettes
         copied correctly ?

Line:    Are the lines drawn from the middle to fill a rectangle ?

RWbank:  Do the two halfs of the screen match ?


Adapters tested:

               Mem: ID: Xres: Scrl:  Anal:  Cur:  Blit:  Line:  RWbank:

Acer:
  M3135
  M3145
Acumos:  See Cirrus 5401 and 5402
  AVGA2 (5402)  512 Ok  Ok    Ok     Ok     Ok*   NA     NA     NA
Ahead:          .   .   .     .      .      .     .      .      .
  V5000 A
  V5000 B       1M  Ok  Ok    Ok     Ok     NA    NA     NA     Ok
Alliance (ProMotion):
  3210          1M  Ok  Ok    Ok     Ok
Appian:         .   .   .     .      .      .     .      .      .
  AGC-98032     2M  No
ARK Logic:      .   .   .     .      .      .     .      .      .
  ARK1000VL     2M  Ok  Ok    Ok*    Ok     Ok    No     No     Ok
  ARK1000PV
  ARK2000PV     2M  Ok  Ok    Ok*    Ok     Ok    No     No     Ok
ATI:            .   .   .     .      .      .     .      .      .
  18800                                     NA    NA     NA
  18800-1       512 Ok  Ok    Ok     Ok     NA    NA     NA     Ok
  28800-2                                   NA    NA     NA
  28800-4                                   NA    NA     NA
  28800-5                                   NA    NA     NA
  28800-6       1M  Ok  Ok    Ok     Ok     NA    NA     NA     Ok
  68800-3 (VGA):2M  Ok  Ok*   Ok     Ok     NA    NA     NA     Ok
          (ACC):2M  Ok  Ok    Ok     Ok*    Ok    Ok*    Ok*    Ok
  68800-6
  68800-LX
  68800-AX
  88000GX (VGA):1M* Ok  Ok    Ok*    Ok     NA    NA     NA     Ok
          (ACC):4M  Ok  Ok*   Ok*    Ok     Ok    Ok*    Ok*    Ok
Avance Logic:   .   .   .     .      .      .     .      .      .
  ALG2101       1M  Ok  Ok    Ok     Ok     Ok*   Ok*    Ok*    Ok
  ALG2201       1M  Ok  Ok    Ok     Ok     No    No     No     Ok
  ALG2228           Ok  Ok    Ok     Ok     No    No     No     Ok
  ALG2301       2M  Ok  Ok    Ok     Ok     No    No     No     Ok
Chips&Tech:     .   .   .     .      .      .     .      .      .
  82c450        512 Ok  Ok    Ok     Ok     NA    NA     NA     NA
  82c451                                    NA
  82c452        512 Ok  Ok    Ok     OK     Ok    NA     NA     NA
  82c453
  82c455
  82c456
  82c457
  F65510
  F65520
  F65530
  F65535
  F65540
  F65545
  F64200
  F64300        2M  Ok  Ok    Ok     Ok     Ok                  NA
Cirrus:         .   .   .     .      .      .     .      .      .
  510/520                                         NA     NA     NA
  610/620                                         NA     NA     NA
  5401(AVGA1)   256 No                            NA     NA     NA
  5402(AVGA2)   512 Ok* Ok    Ok     Ok     Ok*   NA     NA     NA
  5410                                            NA     NA     NA
  5420          512 Ok  Ok    Ok     Ok     Ok*   NA     NA     NA
  5422                                            NA     NA     NA
  5424                                            NA     NA     NA
  5426          2M  Ok  Ok    Ok     Ok     Ok*   Ok*    NA     NA
  5428          1M  Ok  Ok    Ok     Ok     Ok*   Ok*    NA     NA
  5429                                                   NA     NA
  5430          2M  Ok  Ok*   Ok     Ok     Ok*   Ok*    NA     NA
  5434          1M  Ok  Ok    Ok     Ok     Ok*   Ok*    NA     NA
  5452
  6205                                      NA    NA     NA     NA
  6215
  6225
  6235
  6410          512 Ok  Ok    Ok     Ok*    NA    NA     NA     NA
  6412
  6420
  6440
Compaq:         .   .   .     .      .      .     .      .      .
  IVGS
  AVGA          512 Ok  Ok    Ok     Ok     NA    Ok*    NA     NA
  QVGA
  QVGA1024
  QVGA1280      2M  Ok  Ok*   Ok*    Ok*    Ok*   Ok*           NA
Everex:
Genoa:          .   .   .     .      .      .     .      .      .
  51/5200
  53/5400
  6100
  62/6300
  64/6600
  7900
HMC:            .   .   .     .      .      .     .      .      .
  HM86304       512 Ok  Ok    Ok*    Ok     NA    NA     NA     NA
  HM86314
IIT:            .   .   .     .      .      .     .      .      .
  AGX-xx (VGA): 1M* Ok  Ok    Ok     Ok     NA    NA     NA     NA
  AGX10/11
  AGX-14        1M  Ok  Ok    Ok*    Ok     Ok    Ok     Ok     NA
  AGX-15        2M  Ok  Ok    Ok*    Ok     Ok    Ok     Ok     NA
  AGX-16        2M  Ok  Ok    Ok*    Ok     Ok    Ok     Ok     NA
Matrox:         .   .   .     .      .      .     .      .      .
  Impres (VGA):
         (ACC):
  Ultima (VGA):     Ok  Ok*   Ok     Ok
         (ACC): 2M  Ok*
  Imp Pl (VGA):     Ok  Ok*   Ok     Ok
         (ACC): 2M
Media Vision:   .   .   .     .      .      .     .      .      .
  PG 1024       2琈 Ok*
  PG 1280       4M  No
MXIC:           .   .   .     .      .      .     .      .      .
  86000         512 Ok  Ok    Ok     Ok     NA    NA     NA     NA
  86010
  86100
NCR:            .   .   .     .      .      .     .      .      .
  77C20
  77C21

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -