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
njkt
Posts: 9
Joined: Sun Oct 24, 2004 11:00 pm

int 13h?

Post by njkt »

Hi,
well i honestly feel stupid for asking this but, when using int 13h how does it work? I was reading up on a boot loader, and it used int 13h and I know thats what you use to boot stuff, but i mean... how does it get the kernel from the floppy then boot it?

Im very sorry for such a question but it has been buggin gme for a while.

-Nick
User avatar
gaf
Member
Member
Posts: 349
Joined: Thu Oct 21, 2004 11:00 pm
Location: Munich, Germany

Re: int 13h?

Post by gaf »

Hi,
int 13h is a BIOS interrupt. It will trap to the BIOS which will then read or write some data from the disk.

This site explains how to use it:
[url ]http://www.xaff.org/GI/biosref.html[/url]

The reason one has to use the BIOS is that you can't write a floppy driver that is small enought to fit into the 512bytes of the bootsector.

regards,
gaf
njkt
Posts: 9
Joined: Sun Oct 24, 2004 11:00 pm

Re: int 13h?

Post by njkt »

thanks :D
Peter
Posts: 13
Joined: Wed Jan 05, 2005 12:00 am

Re: int 13h?

Post by Peter »

A very good interrupt list is,
Ralf Brown's Interrupt list.

http://www.ctyme.com/rbrown.htm
Post Reply