http://www.X-Hacker.org [^^Up^^] [Menu] [About The Guide]
 Standard color VGA registers
 General registers (no indexing)
  Misc. output           read 03CCh  write 03C2h
  Feature control        read 03CAh  write 03DAh
  Input status #0        read 03C2h  write  n/a
  Input status #1        read 03DAh  write  n/a
 -
 Sequencer registers     Addr 03C4h  Data 03C5h (read/write)
  Reset                  index 00h
  Clocking mode          index 01h
  Map mask               index 02h
  Character map select   index 03h
  Memory mode            index 04h
 -
 CRTC registers          Addr 03D4h  Data 03D5h (read/write)                *
  Horizontal total       index 00h   protected
  Horiz display end      index 01h   protected
  Start horiz blank      index 02h   protected
  End horiz blank        index 03h   protected
  Start horiz retrace    index 04h   protected
  End horiz retrace      index 05h   protected
  Vertical total         index 06h   protected
  Overflow               index 07h   protected
  Preset row scan        index 08h
  Max scan line          index 09h
  Cursor start           index 0Ah
  Cursor end             index 0Bh
  Start address high     index 0Ch
  Start address low      index 0Dh
  Cursor location high   index 0Eh
  Cursor location low    index 0Fh
  Vert retrace start     index 10h   (protected)
  Vert retrace end       index 11h   (protected)
  Vertical display end   index 12h
  Offset                 index 13h
  Underline location     index 14h
  Start vert blank       index 15h
  End vert blank         index 16h
  Mode control CRTC      index 17h
  Line compare           index 18h
 -
 Graphics registers      Addr 03CEh  Data 03CFh (read/write)
  Set/reset              index 00h
  Enable set/reset       index 01h
  Color compare          index 02h
  Data rotate            index 03h
  Read map select        index 04h
  Mode register          index 05h
  Miscellaneous          index 06h
  Color don't care       index 07h
  Bit mask               index 08h
 -
 Attribute registers     Read 03C1h  Write 03C0h
  Address
  Palette                index 00h-0Fh \
  Mode control ATTRIB    index 10h      \
  Overscan color         index 11h       \ Clear
  Color plane enable     index 12h       / flip-flop
  Horiz pixel panning    index 13h      /
  Color select           index 14h     /
 -
 Color registers (no indexing)
  DAC state              read 03C7h  write n/a
  PEL address read mode  read n/a    write 03C7h
  PEL address write mode read 03C8h  write 03C8h
  PEL data               read 03C9h  write 03C9h
  PEL mask               read 03C6h  write 03C6h
 .

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson