I want to write svga driver. First of all, I want to change video modes and learn about modes. For these, what is processes? (I will continue to ask.

Thanks.
First understand that video cards are complex. I'd recommend doing a "standard VGA" video driver, just to make sure you've got the basics sorted out (horizontal and vertical sync, VGA registers, video memory access/format, etc).Tolga wrote:I want to write svga driver. First of all, I want to change video modes and learn about modes. For these, what is processes? (I will continue to ask.)
It's possible to use BIOS interrupts in virtual-8086-mode.Tolga wrote:Yes thanks but i'm in pmode. So i dont have bios interrupts.
For VESA VBE, you can set up one SVGA video mode in real mode during boot, or for VBE 3.0 there's a protected mode interface that can be used to change video modes, etc while in protected mode. Unfortunately the VBE 3.0 protected mode functions are "optional", but it's better than the protected mode interface for VBE 2.0...Tolga wrote:Yes thanks but i'm in pmode. So i dont have bios interrupts. To start, what do i need?
You'd better not rely on VBE3 support--many cards don't have it. Additionally, I've seen people say the pmode interface support is sometimes there but broken.Tolga wrote: Hmm. In pmode, I think using VBE3 functions are very useful. Is there any example about this? (Using V86 is hard for SVGA.)
For speed, real mode would execute the code a tiny bit faster but costs much more CPU time to enter and leave. IMHO speed is the least important thing though...Tolga wrote:Which is faster the other? Is turning to Real Mode or using V86?