Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

OS Development

Status
Not open for further replies.

robinci

Programmer
Jan 19, 2002
2
DE
Hi!
I've got a problem:
I downloaded a bootstrap loader which loads a *.bin file (for example OS.BIN) from a floppy disk.
But how can I create/compile these *.bin files? I'm using nasmw.

Thanks,
Robin
 
if you asked about bootsector

you can create ordinary .com file
then rename it as *.bin
then writing it to bootsector
as follow
debug bootsect.com
w 100 0 0 1

you can also disamble it using debug
write
L 0 0 0 1

and

u0
you will get assembly code of bootsector


or
===
debug bootsect.com
u100

the boot sector must load a kernel from a disk
then passing control to it
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top