Boot loaders

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
os_dev

Boot loaders

Post by os_dev »

Does anyone have a copy of a well commented
first stage bootloader? I have taken asm
classes in school but some parts of the boot
loaders I have studied still confuse me.

If you know of any good sources, could you post
me a link?
Chris Giese

RE:Boot loaders

Post by Chris Giese »

>On 2001-12-18 00:12:40, os_dev wrote:
>Does anyone have a copy of a well commented
>first stage bootloader?

http://www.execpc.com/~geezer/temp/contig.asm
http://www.execpc.com/~geezer/temp/ext2.asm
http://www.execpc.com/~geezer/temp/fat12.asm
os_dev

Thanks

Post by os_dev »

Thanks a lot man, looking at these has helped quite
a bit.
os_dev

Problems making boot diskette

Post by os_dev »

I tried both the original and my own variation of
the fat12.asm and tried to write it to a disk using
the rawwrite linux utility. However, it couldn't find
my kernel. I have tried downloading other source codes
that supposedly write to specific sectors, but they all
don't work because of an external unreferenced _biosdisk
from bios.h

I would rather have some assembly code, but is there anything
else I am doing wrong?
os_dev

Nevermind

Post by os_dev »

I found some better software.
Chris Giese

RE:Nevermind

Post by Chris Giese »

>On 2001-12-20 15:33:59, os_dev wrote:
>I found some better software.

OK.

If you were using FAT12.ASM, there was a bug in it. Find the line that says

%define SS_NAME "load.bin"

and change it to

%define SS_NAME "LOAD BIN"

(4 spaces between LOAD and BIN)
Post Reply