Page 1 of 1

Boot loaders

Posted: Tue Dec 18, 2001 12:00 am
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?

RE:Boot loaders

Posted: Tue Dec 18, 2001 12:00 am
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

Thanks

Posted: Wed Dec 19, 2001 12:00 am
by os_dev
Thanks a lot man, looking at these has helped quite
a bit.

Problems making boot diskette

Posted: Wed Dec 19, 2001 12:00 am
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?

Nevermind

Posted: Thu Dec 20, 2001 12:00 am
by os_dev
I found some better software.

RE:Nevermind

Posted: Thu Dec 20, 2001 12:00 am
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)