the double fault was a page fault during procesing page fault.
but now return the old problem from Monitor "OUT OF RANGE",
I am sure I set the correct video mode. but when setting not supported mode the bios does not change graphic enviroment and return error code.
Im linux and windows we should implies set the frequence. does VBE do it internaly?
getting VESA Mode list
Re:getting VESA Mode list
Yes, the VESA bios , if correct set in the BIOS, contains the correct frequencies for setting the video mode..amirsadig wrote: Im linux and windows we should implies set the frequence. does VBE do it internaly?
(ps. Windows doesn't have any frequencies )
Re:getting VESA Mode list
under display setting (monitor register card) you can set refresh frequence(ps. Windows doesn't any frequencies )
Re:getting VESA Mode list
is there any different between VBE 2.0 and 3.0 in function calling?
VMWare and bochs VBE 2.0 and my real PC support VBE 3.0
VMWare and bochs VBE 2.0 and my real PC support VBE 3.0
Re:getting VESA Mode list
I think in VBE 3.0 I should use the a bove structure to set the refresh rate.
Re:getting VESA Mode list
Code: Select all
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
Re:getting VESA Mode list
Yes, but you don't have to set itamirsadig wrote:under display setting (monitor register card) you can set refresh frequence(ps. Windows doesn't any frequencies )