VBE 2 - LFB

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
Pulser

VBE 2 - LFB

Post by Pulser »

Hi, I am finding it father difficult to find docs on VBE 2 LFB using assembler. Could anyone please give me some quick links for it? Much appreciated.

Ps. Hi! I'm new to the board :)
User avatar
Brendan
Member
Member
Posts: 8561
Joined: Sat Jan 15, 2005 12:00 am
Location: At his keyboard!
Contact:

Re:VBE 2 - LFB

Post by Brendan »

Hi,
Pulser wrote: Hi, I am finding it father difficult to find docs on VBE 2 LFB using assembler. Could anyone please give me some quick links for it? Much appreciated.

Ps. Hi! I'm new to the board :)
The VBE standard contains enough information to figure this out. General idea is:

- Determine if VBE is present and get list of video modes (function 0)
- Use the list of video modes to get information on each video mode (function 1), and choose a video mode
- Set the video mode (function 2)
- Get the LFB address from the data returned with mode information (function 1)
- Pump your video data into the LFB!

The newer VESA VBE 3.0 standard can be downloaded here:
http://www.vesa.org/standards_free.html

Cheers,

Brendan
For all things; perfection is, and will always remain, impossible to achieve in practice. However; by striving for perfection we create things that are as perfect as practically possible. Let the pursuit of perfection be our guide.
Post Reply