Running a bootloader (of sorts) on bare hardware...

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Casm
Member
Member
Posts: 221
Joined: Sun Oct 17, 2010 2:21 pm
Location: United Kingdom

Re: Running a bootloader (of sorts) on bare hardware...

Post by Casm »

ajtgarber wrote:I have a bootloader that prints out a line of text and loads the sector next to it and jumps to where it placed it in memory, I'm trying to figure out how to get
it to run on bare hardware without directly overwriting my bootsector on my hard drive. Since its two sectors (1KB) I'm unable to get mkisofs to make a bootable
iso for me, it does not have support for file systems yet so its just doing a raw read on the disk, do I have to add this before I'm going to be able to test it?

As always if I'm being stupid, point it out please
You could buy a cheapo hard drive, and use it for the exclusive purpose of testing your OS. The only way of testing a bootloader that I can see, apart from that, is on a virtual machine.
Post Reply