tags:

views:

135

answers:

5

Managed to create a simple bootloader... and with VESA 2.0 I managed to change the resolution to 1024x768x32, also managed to setup a Linear Frame Buffer... Where can I find tutorials for using the frame buffer? Like lets say to display a picture before it finishes to load?

So far I saw one sample on how to "draw" an ipod...called CdPod

+1  A: 

I'm sorry I never tried to code a bootloader however maybe you can find your way looking at the source code of XOSL.

Gregory Pakosz
+1  A: 

Check out the syslinux project on syslinux.zytor.com - you should find some code for it in that project

Homie
+1  A: 

Grub? It's open source, you may check how it working.

XIAOMING LI
+1  A: 

If you have the address of the linear framebuffer all you need to do is to copy the raw image data to it's location.

Nils Pipenbrinck
Yeah, where can I find code like that...
Fredrick
Is it really that hard? memcpy (video_address, image_address, 1280*768*32); should do the trick.
Nils Pipenbrinck
I managed to find how to use the lfb from singularity os, even though the code was in c# it can easily be ported to c
Fredrick
+1  A: 

It's for x86 architecture?
If true, then look for old DOS tutorials for working with video memory.
May be something like that: "Farpointers and video in DJGPP"

Really, all new is well forgotten old :-)

ThinkJet