Problems on VBE
Posted: Fri Aug 09, 2024 1:02 am
CRTC information block is defined below:
00h WORD total number of pixels horizontally
02h WORD horizontal sync start (in pixels)
04h WORD horizontal sync end (in pixels)
06h WORD total number of scan lines
08h WORD vertical sync start (in scan lines)
0Ah WORD vertical sync end (in scan lines)
0Ch BYTE flags
0Dh DWORD pixel clock, in Hz
11h WORD refresh rate, in 0.01 Hz units
13h 40 BYTEs reserved
Is Horizontal_total always Horizontal_end-Horizontal_start? How does it work? I was trying to get the refresh rate by invoking ax=0x4f0b, then I got ax=0x14f(the VBE version number on my PC is 0x300). Is it possible that it supports all Vesa defined functionalities? I think I should seek answers from EDID.
00h WORD total number of pixels horizontally
02h WORD horizontal sync start (in pixels)
04h WORD horizontal sync end (in pixels)
06h WORD total number of scan lines
08h WORD vertical sync start (in scan lines)
0Ah WORD vertical sync end (in scan lines)
0Ch BYTE flags
0Dh DWORD pixel clock, in Hz
11h WORD refresh rate, in 0.01 Hz units
13h 40 BYTEs reserved
Is Horizontal_total always Horizontal_end-Horizontal_start? How does it work? I was trying to get the refresh rate by invoking ax=0x4f0b, then I got ax=0x14f(the VBE version number on my PC is 0x300). Is it possible that it supports all Vesa defined functionalities? I think I should seek answers from EDID.