How to print a image on a bootloader?

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
UnknownSlayer
Posts: 2
Joined: Mon Apr 14, 2014 6:04 am

How to print a image on a bootloader?

Post by UnknownSlayer »

I trying to make a Bootloader for a OS project im doing 'BlueKnightOS' but i want it to be like the bootloader that windows has like for example it prints out a image on the screen.
User avatar
zhiayang
Member
Member
Posts: 368
Joined: Tue Dec 27, 2011 7:57 am
Libera.chat IRC: zhiayang

Re: How to print a image on a bootloader?

Post by zhiayang »

This might be a http://wiki.osdev.org/Beginner_Mistakes.

In any case, in the 512 bytes of a boot loader you can't do much, so load a stage2/stage3, then use either BIOS interrupts or ATA commands to read from the disk.

You can choose one of several formats to store the image, the simplest of which to implement is a bitmap (bmp) file.
Then, again either use BIOS interrupts to set a video mode and put the image on screen, or VESA to get a frame buffer or whatever.
Post Reply