http://www.osdever.net/tutorials/ch01.php
It;s really good, that's where I learn't to make mine, but to learn how to load from a file system, you'll have to study the docs...
Jules
Help with linker on bare-bones
Re: Help with linker on bare-bones
Thank's, everyone, for the help.
Re: Help with linker on bare-bones
Yes.... sorry I thought this would have been obvious. In the code I posted the global label for the entry point was called _multiboot_entry, but in the linker.ld file in the tutorial it says ENTRY (_loader). Just change it to ENTRY (_multiboot_entry). It should still run though, since GRUB doesn't really care what the linker thinks is the entry point.That method didn't work.
I get this when I link:
ld: warning: cannot find entry symbol _loader; defaulting to 00100000
is that normal?
Re: Help with linker on bare-bones
Actually, when I wrote the tutorial it said in the introduction that it works fine under Windows if you followed the GCC Cross-Compiler tutorial first. Somehow that got lost in the meantime...midir wrote:(The tutorial is aimed primarily at those compiling on Linux).
Every good solution is obvious once you've found it.