I am getting a distinct, familiar itchy feeling here, one that tells me you haven't read (or at least haven't understood) some of the relevant parts of the wiki. If so, I would strongly recommend (re-)reading certain parts, especially
Getting Started
How To Ask Questions
Required Knowledge
Beginner Mistakes (the "deadlines" section in particular, though it seems that someone removed the specific warning against trying to write an OS for a University project, for some reason)
What order should I make things in
Code Management
How kernel, compiler, and C library work together
FAQ
Real Mode, especially the section on memory addressing, and
Segmentation
Memory Map,
Detecting Memory and
A20 Line
BIOS, and
Boot Sequence
Interrupts
Bootloader and
Rolling Your Own Bootloader
FAT and
SFS
Whle this is a lot of reading, it simply reflects the due diligence that any OS-devver needs to go through in order to get anywhere. OS development, even as a simple project, is not amenable to the Stack Overflow cut-and-paste model of software development; you really need to understand a fair amount of the concepts and principles before writing any code, and the examples given in tutorials and forum posts generally are exactly that. Copying an existing code snippet without at least a basic idea of what it is doing simply won't do. While learning itself is an iterative process - you learn one thing, try it out, see what worked and what didn't, read some more, etc. - in this case a basic foundation is needed at the start. Without a solid understanding of at least some of the core ideas before starting, you simply can't get very far in OS dev.
As for us helping you, it might be useful if you could give us some idea of what your project goals and scope are. Given that you are starting with the boot loader (which we generally do
not recommend - it is a lot of work for a very, very small and largely irrelevant part of the OS framework, and existing generic bootloaders like
GRUB or
Gujin can do a lot of things that would take you far too long to implement yourself), is the bootloader itself the primary goal, or a key part of the OS design in some way, or are you constrainted regarding it in some way (e.g., the code has to all be your own for the professor to accept it)? How do you intend to write the rest of the OS, and what type of OS design do you have in mind? How long is the deadline for the project? Knowing these things would make it a lot easier for us to help you.
Finally, as always, remember to
put your code under source control if you haven't done so already. Seriously, do it. If you don't, you
will come to regret it.