Does anyone know the VESA mode numbers that are supported by qemu ?
I have some problem whit my VESA Driver
My code return only one mode
Qemu lVESA Mode
- Pype.Clicker
- Member
- Posts: 5964
- Joined: Wed Oct 18, 2006 2:31 am
- Location: In a galaxy, far, far away
- Contact:
Re:Qemu lVESA Mode
i can tell you mode 115h (800x600x24) is supported with LFB ... i haven't tested any other mode(s) so far, nor scanned the modes list ...
Re:Qemu lVESA Mode
Ok thanks , but it does not work
Maybe i'm wrong
mov ax, 0x4F02
mov bx, 0x4115
int 10h
Maybe i'm wrong
mov ax, 0x4F02
mov bx, 0x4115
int 10h
- Pype.Clicker
- Member
- Posts: 5964
- Joined: Wed Oct 18, 2006 2:31 am
- Location: In a galaxy, far, far away
- Contact:
Re:Qemu lVESA Mode
there may be a couple of requirements for QEMU to have VBE active. Among other things, you need a good bios image, and you need QEMU to be compiled statically with sdlib ...
use service 0x4f00 to find out if VBE is supported (e.g. it should return "0x004f" in ax if supported).
use service 0x4f00 to find out if VBE is supported (e.g. it should return "0x004f" in ax if supported).
Re:Qemu lVESA Mode
It vas already done, this and other things
The bios is the good and VBE detection 2.0+ is ok
In fact the problem is solved
Explainaition
my previous version of os was in 640*480*16 colors
so i decide to add VESA support
before VESA support
1 - go to mode 640*480*16col
2 - palette modification
3 - dysplay logo
4 - loading kernel
to begin i decided to replace the first step
1.1 Vesa detection
1.2 Version check
1.3 Change mode to vesa mode
2 - palette modification
3 - dysplay logo
4 - loading kernel
no reaction on step 1.3
the step 2 (paleette modification ) was the problem
i supress it and the mode now change to vesa
Thanks for yor help pype
The bios is the good and VBE detection 2.0+ is ok
In fact the problem is solved
Explainaition
my previous version of os was in 640*480*16 colors
so i decide to add VESA support
before VESA support
1 - go to mode 640*480*16col
2 - palette modification
3 - dysplay logo
4 - loading kernel
to begin i decided to replace the first step
1.1 Vesa detection
1.2 Version check
1.3 Change mode to vesa mode
2 - palette modification
3 - dysplay logo
4 - loading kernel
no reaction on step 1.3
the step 2 (paleette modification ) was the problem
i supress it and the mode now change to vesa
Thanks for yor help pype