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.
it is meant to jump beyond the boot sector but it just loops infinitely.
No, the jmp itself do not perform loop.
It's like asking how to avoid blowing up a house, ignite the kitchen cooker is meant to have cooking fire but it just explode.
The problem lies on other things. What is on 0x200? it look like executing random garbage.
I actually changed my code up a bit so my next problem is how to find my bootloader on the disk. It is supposed to be in the first nine sectors of a floppy disk but it can't find "BOOTLOAD.BIN". Here is some code.
gabemaiberger wrote:It is supposed to be in the first nine sectors of a floppy disk
My crystal ball says it isn't. How are you trying to get it there?
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
Sounds like you're using an USB mass storage device rather than a true floppy drive.
Other than that, playing hide and seek with your code is not going to get you an answer really fast. People already start ignoring this thread because it has too many replies.
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]