Page 1 of 1

VESA CRTC and refresh rate

Posted: Fri Aug 22, 2003 4:13 am
by Thunder
CRTCInfoBlock struc
HorizontalTotal dw ? ; Horizontal total in pixels
HorizontalSyncStart dw ? ; Horizontal sync start in pixels
HorizontalSyncEnd dw ? ; Horizontal sync end in pixels
VerticalTotal dw ? ; Vertical total in lines
VerticalSyncStart dw ? ; Vertical sync start in lines
VerticalSyncEnd dw ? ; Vertical sync end in lines
Flags db ? ; Flags (Interlaced, Double Scan etc)
PixelClock dd ? ; Pixel clock in units of Hz
RefreshRate dw ? ; Refresh rate in units of 0.01 Hz
Reserved db 40 dup (?) ; remainder of ModeInfoBlock
CRTCInfoBlock ends

Can someone explain where can I get or calculate: HorizontalTotal dw ? ; Horizontal total in pixels
HorizontalSyncStart dw ? ; Horizontal sync start in pixels
HorizontalSyncEnd dw ? ; Horizontal sync end in pixels
VerticalTotal dw ? ; Vertical total in lines
VerticalSyncStart dw ? ; Vertical sync start in lines
VerticalSyncEnd dw ? ; Vertical sync end in lines

Bye ;)

Re:VESA CRTC and refresh rate

Posted: Fri Aug 22, 2003 5:08 am
by Slasher
check the vesa 3 doc. www.vesa.org or seach vesa3.pdf in google

Re:VESA CRTC and refresh rate

Posted: Fri Aug 22, 2003 9:32 am
by Thunder
I have VESA.pdf already ;)
But there isn't no info about some vars, nor in ModeInfoBlock, nor in VESA info Block :/