Problem with int 13h

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.
Post Reply
Kein

Problem with int 13h

Post by Kein »

Ive been working on my own simple OS for a while now, and i was using a simple bootloader that read data from a floppy using in 13h.  Up until a little while ago, my kernel was < 32 sectors in size, and i was using one read of 20h(32) sectors with int 13h to read.  Once my kernel's size got over 32 sectors, i tried to increase the number of sectors read, and now all my os dose is crash or hang right after the read call (I know its right after the read call because my os would useually go into a vga mode directly after the floppy read, and now it hadngs without doing so)  Any help would be greatly appreciated
EyeScream

RE:Problem with int 13h

Post by EyeScream »

If I'm not mistaken, there's a limit on the amount of sectors read at one time. Take a look at Ralf Brown's interrupt list, I'm sure it's written there.

Just read in blocks of 32 sectors, that'll fix the problem, I think.
Post Reply