flat assembler
Message board for the users of flat assembler.
Index
> Main > VESA 2.0 |
Author |
|
majidkamali1370 16 Sep 2012, 06:11
|
|||
16 Sep 2012, 06:11 |
|
lolkusus 16 Sep 2012, 10:14
thank you
|
|||
16 Sep 2012, 10:14 |
|
freecrac 16 Sep 2012, 12:34
lolkusus wrote: How to draw a bar in vesa or to put a pixel. I was searching it but i didn't found anything. I am in protected mode. I am in 112h vesa mode (640x480 24bpp). On my newest card (a Sapphire 7950) the modenumber 112h do not exist. And there are only vbe-modes with 8, 16 and 32 bit per pixel, like the modenumber 121h with a resolution of 640x480x32 on this card. So i think if we want that our routine run also with different lists of modenumbers, then we have to look into the modeslist that comes within the VBE 2 bios, or vbe 3 bios that we are "temporary" using and get each number by number and with each number we can find the resolution, the bits per pixel, the lenght of the scanline and the linear address of the framebuffer in the mode-info-buffer for each modenumber of the modelist. Quote: vbe3.pdf from vesa.org: Starting with VBE version 2.0, VESA will no longer define new VESA mode numbers and it will no longer be mandatory to support these old mode numbers. Dirk |
|||
16 Sep 2012, 12:34 |
|
majidkamali1370 16 Sep 2012, 17:24
you're welcome
|
|||
16 Sep 2012, 17:24 |
|
DOS386 02 Oct 2012, 02:06
You have to scan the mode list, and you have to be prepared for not finding any 24bpp modes, or not finding any 32bpp modes. Reportedly VESA 3.0 is no longer obligated to support "standard" modes, but 640x480 and 800x600 are present in 99.99% of cases.
|
|||
02 Oct 2012, 02:06 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.