VESA drawing

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
User avatar
lemonyii
Member
Member
Posts: 153
Joined: Thu Mar 25, 2010 11:28 pm
Location: China

VESA drawing

Post 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!
Enjoy my life!------A fish with a tattooed retina
User avatar
f2
Member
Member
Posts: 311
Joined: Mon Jun 15, 2009 10:01 am
Location: France

Re: VESA drawing

Post 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
"Open source seems to embrace the dark side of human nature." - Ville Turjanmaa
User avatar
lemonyii
Member
Member
Posts: 153
Joined: Thu Mar 25, 2010 11:28 pm
Location: China

Re: VESA drawing

Post by lemonyii »

thank you! i'm trying!
Enjoy my life!------A fish with a tattooed retina
Post Reply