I'm in the process of developing an OS with my friends. I've written the boot code and was able to load a kernel less than 512 bytes. When I tried loading a kernel of size more than 512 bytes the system reboots. I used int 13h with ah = 0x02. When I try to read more than one sector using int 13 it reboots. Could you please help me to write code to load a kernel more than 512 bytes. I would be thankful to you if someone could help me out with a small code snippet(commented please:) to load a kernel which would span more than one sector. I would also be thankful if you could suggest me a link where I could get some information on this. Thanks Sincerely, Ekanth.
Red Flag Submitted
Thank you for helping keep Tek-Tips Forums free from inappropriate posts. The Tek-Tips staff will check this out and take appropriate action.
Reply To This Thread
Posting in the Tek-Tips forums is a member-only feature.