Graphics on a bootloader

依然范特西╮ 提交于 2019-12-24 19:11:11

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!