X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=specs%2Ffreevga%2Fvga%2Fcrtcreg.htm;fp=specs%2Ffreevga%2Fvga%2Fcrtcreg.htm;h=db4aa6ae4183cfcf641839c0cf5749792df5dc0a;hb=8af06d1fd50343e17229618ef4d2693193b2b3d9;hp=0000000000000000000000000000000000000000;hpb=d0d14ca50fbac167253e1e1d8d806bfd749a5e8a;p=pintos-anon diff --git a/specs/freevga/vga/crtcreg.htm b/specs/freevga/vga/crtcreg.htm new file mode 100644 index 0000000..db4aa6a --- /dev/null +++ b/specs/freevga/vga/crtcreg.htm @@ -0,0 +1,1355 @@ + + + + + + + VGA/SVGA Video Programming--CRT Controller Registers + + + +
Home Back  +
Hardware Level VGA and SVGA Video Programming Information +Page
+ +
CRT Controller Registers  +
+ + +

        The CRT Controller (CRTC) +Registers are accessed via a pair of registers, the CRTC Address Register +and the CRTC Data Register. See the Accessing the +VGA Registers section for more details. The Address Register is located +at port 3x4h and the Data Register is located at port 3x5h.  The value +of the x in 3x4h and 3x5h is dependent on the state of the Input/Output +Address Select field, which allows these registers to be mapped at +3B4h-3B5h or 3D4h-3D5h.   Note that when the CRTC +Registers Protect Enable field is set to 1, writing to register indexes +00h-07h is prevented, with the exception of the Line Compare +field of the Overflow Register. +

+  + + + + + + + + + + + + + + + + + + + + + + + + +
Horizontal Total Register (Index +00h)
76543210
Horizontal Total
+  + +  + + + + + + + + + + + + + + + + + + + + + + + + +
End Horizontal Display Register +(Index 01h)
76543210
End Horizontal Display
+  + +  + + + + + + + + + + + + + + + + + + + + + + + + +
Start Horizontal Blanking Register +(Index 02h)
76543210
Start Horizontal Blanking
+  + +  + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
End Horizontal Blanking Register +(Index 03h)
76543210
EVRADisplay Enable SkewEnd Horizontal Blanking
+  + +  + + + + + + + + + + + + + + + + + + + + + + + + +
Start Horizontal Retrace Register +(Index 04h)
76543210
Start Horizontal Retrace
+  + +  + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
End Horizontal Retrace Register +(Index 05h)
76543210
EHB5Horiz. Retrace SkewEnd Horizontal Retrace
+  + +  + + + + + + + + + + + + + + + + + + + + + + + + +
Vertical Total Register (Index 06h)
76543210
Vertical Total
+  + +  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Overflow Register (Index 07h)
76543210
VRS9VDE9VT9LC8SVB8VRS8VDE8VT8
+  + +  + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Preset Row Scan Register (Index +08h)
76543210
Byte PanningPreset Row Scan
+  + +  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Maximum Scan Line Register (Index +09h)
76543210
SDLC9SVB9Maximum Scan Line
+  + +  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Cursor Start Register (Index 0Ah)
76543210
CDCursor Scan Line Start
+  + +  + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
 Cursor End Register (Index +0Bh)
76543210
Cursor SkewCursor Scan Line End
+  + +  + + + + + + + + + + + + + + + + + + + + + + + + +
Start Address High Register (Index +0Ch)
76543210
Start Address High
+  + +  + + + + + + + + + + + + + + + + + + + + + + + + +
Start Address Low Register (Index +0Dh)
76543210
Start Address Low
+  + +  + + + + + + + + + + + + + + + + + + + + + + + + +
Cursor Location High Register (Index 0Eh)
76543210
Cursor Location High
+  + +  + + + + + + + + + + + + + + + + + + + + + + + + +
Cursor Location Low Register (Index +0Fh)
76543210
Cursor Location Low
+  + +  + + + + + + + + + + + + + + + + + + + + + + + + +
Vertical Retrace Start Register +(Index 10h)
76543210
Vertical Retrace Start
+  + +  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Vertical Retrace End Register (Index +11h)
76543210
ProtectBandwidthVertical Retrace End
+  + +  + + + + + + + + + + + + + + + + + + + + + + + + +
Vertical Display End Register (Index +12h)
76543210
Vertical Display End
+  + +  + + + + + + + + + + + + + + + + + + + + + + + + +
Offset Register (Index 13h)
76543210
Offset
+  + +  +
  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Underline Location Register (Index +14h)
76543210
DWDIV4Underline Location
+  + +  + + + + + + + + + + + + + + + + + + + + + + + + +
Start Vertical Blanking Register +(Index 15h)
76543210
Start Vertical Blanking
+  + +  + + + + + + + + + + + + + + + + + + + + + + + + + + +
End Vertical Blanking Register (Index +16h)
76543210
End Vertical Blanking
+  + +  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
CRTC Mode Control Register (Index +17h)
76543210
SEWord/ByteAWDIV2SLDIVMAP14MAP13
+  + +  + + + + + + + + + + + + + + + + + + + + + + + + +
Line Compare Register (Index 18h)
76543210
Line Compare Register
+  + +Notice: All trademarks used or referred to on this page are the property +of their respective owners. +
All pages are Copyright © 1997, 1998, J. D. Neal, except where +noted. Permission for utilization and distribution +
is subject to the terms of the FreeVGA Project +Copyright License. + +