Bona Fide OS Developer
View unanswered posts | View active topics It is currently Thu Mar 28, 2024 5:29 am



Post new topic Reply to topic  [ 2 posts ] 
 Current Problem: El Torito & BrokenThorn 
Author Message

Joined: Sat Jul 25, 2009 6:10 am
Posts: 112
Location: United Kingdom
Post 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...

_________________
Thanks,
Michael Sammels

OS Developing is 10% luck, 20% skill, 15% concentrated power of will. 5% pleasure, 50% pain, and a 100% reason continue the game.


Sat Mar 27, 2010 12:19 pm
Profile

Joined: Tue Jan 19, 2010 11:51 pm
Posts: 66
Post 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:
http://www.losethos.com/code/BootCD.html
My boot loader must be patched. That's done in here:
http://www.losethos.com/code/InsBoot.html

Here is my file which makes an ISO image:
http://www.losethos.com/code/DiskCDDVD.html

The operating system starts-up when the boot loader does a jmp.
http://www.losethos.com/code/OSStartUp.html

I think you're in over your head.


Sat Mar 27, 2010 6:31 pm
Profile
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 


Who is online

Users browsing this forum: No registered users and 27 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by Vjacheslav Trushkin and tweaked by the BF Team.