1

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

starblue
  • 55,348
  • 14
  • 97
  • 151
Fredrick
  • 513
  • 4
  • 17
  • what sort of hardware are you trying to boot? – bmargulies Dec 20 '09 at 15:42
  • @Fredrick: Hi I am also creating bootloader created first stage to display "Hello World". I want to load second stage from first stage bootloader. Can you please refer me a link which can show me how achieve it? Here is my question http://stackoverflow.com/questions/2065370/how-to-load-second-stage-boot-loader-from-first-stage – Xinus Jan 15 '10 at 08:04

5 Answers5

2

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
  • 83,631
  • 31
  • 151
  • 221
1

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
  • 69,011
  • 20
  • 139
  • 164
1

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

Homie
  • 11
  • 1
1

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

Ciro Santilli OurBigBook.com
  • 347,512
  • 102
  • 1,199
  • 985
1

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
  • 6,725
  • 24
  • 33