Bona Fide OS Development

Current Problem: El Torito & BrokenThorn
Page 1 of 1

Author:  Michael [ Sat Mar 27, 2010 12:19 pm ]
Post subject:  Current Problem: El Torito & BrokenThorn

OK, so I was following the tutorial here, which worked fine, until it came to loading the kernel. Mike uses a Floppy driver to do this, so of course it won't work on my ISO. Anyone know how to get from bootloader to code in C? Most of the tutorials I found load the kernel at the 1MB mark (0x1000), however, my problem is that my bootloader is loading the code at the 8MB mark (0x800) :o so if anyone has got ideas... handy...

Author:  Terry A. Davis [ Sat Mar 27, 2010 6:31 pm ]
Post subject:  Re: Current Problem: El Torito & BrokenThorn

You seem too confused to attempt this!

0x100000 is one meg
0x800000 is eight meg

You need a CD-ROM boot loader. You place that in about block 22 in the ISO. Block 20 is something, 21 another thing, and I think about 22 is the boot loader.

Here is my CD-ROM boot loader:
My boot loader must be patched. That's done in here:

Here is my file which makes an ISO image:

The operating system starts-up when the boot loader does a jmp.

I think you're in over your head.

Page 1 of 1 All times are UTC - 6 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group