问题
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:
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.
回答2:
I'm sorry I never tried to code a bootloader however maybe you can find your way looking at the source code of XOSL.
回答3:
Check out the syslinux project on syslinux.zytor.com - you should find some code for it in that project
回答4:
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 :-)
回答5:
Grub? It's open source, you may check how it works.
来源:https://stackoverflow.com/questions/1936077/graphics-on-a-bootloader