Show image at boot? (like Linux)

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
St8ic

Show image at boot? (like Linux)

Post by St8ic »

It seems very Newbie-ish of me to ask this, but is there any ASM code I could put in my boot code to display my .gif logo while booting? It's a floppy-bootable OS and the logo would be logo.gif.

Thanks alot!
St8ic.
carbonBased

RE:Show image at boot? (like Linux)

Post by carbonBased »

This is not a trivial matter.

You must enter a graphics mode, read and interpret the .GIF file format, and blit it to the screen.  There is no "code-plugin" for this... at least not for OSDev purposes.

Otherwise, if in text mode, you must change the visual representation of some ascii codes, and arrange the characters in such a way that they appear to be graphical.

For code examples, take a look at the patched Grub that RedHat uses, or any low-level graphics drivers for the OSs on this list.

Jeff
St8ic

RE:Show image at boot? (like Linux)

Post by St8ic »

I went into this realizing that it wouldn't be easy, but surely some other people's projects do employ images? There must be some source code from other people doing something like this! If anyone has some resources (source code?) about doing this it would be very much appreciated!
Post Reply