Page 1 of 1

VESA drawing

Posted: Tue Aug 24, 2010 11:40 pm
by lemonyii
hi,
i'm a fish in vesa programing, and i intended to do this for long, with many material,like VBE3,VGA Registers,and many articles read.
i switched to high solution just now, i didn't thought it is so easy, just an int 0x10 with ax=0x4f02. so i want to fill my screen green next, because i like the color.
My problem is:
Am i going to fill somewhere called LFB?
If so, how can i get the address and set it to somewhere i want, like 0xa0000?
thanks!

Re: VESA drawing

Posted: Wed Aug 25, 2010 1:14 am
by f2
For the LFB address, you need to use INT 0x10, AX=0x4F01.
Take a look here: http://wiki.osdev.org/Getting_VBE_Mode_ ... _Functions

Re: VESA drawing

Posted: Wed Aug 25, 2010 1:22 am
by lemonyii
thank you! i'm trying!