Mail Archives: djgpp/1997/02/15/11:53:44
Schuster writes:
>What's the difference between the vesa modes? Is it the speed?
>just to be answered in short terms, no asembler code
Yup. With VESA 1.x, every time you switch banks (this has to be done
several times during most drawing functions), you have to call a 16 bit
real mode interrupt function, which involves the cpu switching from
protected mode into real mode and back. This is slow...
With VBE 2.0, you get protected mode functions for doing the bank
switching, which avoids the mode switch and is therefore a lot faster.
And on most recent cards, VBE 2.0 lets you use a linear framebuffer,
which removes the need for bank switching altogether, making graphics
coders very happy :-)
/*
* Shawn Hargreaves - shawn AT talula DOT demon DOT co DOT uk - http://www.talula.demon.co.uk/
* Ghoti: 'gh' as in 'enough', 'o' as in 'women', and 'ti' as in 'nation'.
*/
- Raw text -