Page 1 of 1

Available Interrupts

Posted: Tue Feb 19, 2008 10:48 am
by Butterman
First of all. Thanks for this awesome development series, i found my way here from gamedev, and im loving OS dev.

Now. I am very proficient in C/C++. But not so much ASM. My current plan is just to develop a small OS in 16-bit, this will be fun, and help me learn ASM at the same time. So, im writing the whole thing in ASM.

I do know some ASM, i can use interupts, labels, loops, variables etc. But i have never actually written any ASM programs apart from the bootloader.

So im wondering, in the 16-bit real mode. What interrupts are available to me?

Cheers.

Posted: Wed Feb 20, 2008 12:27 am
by Mike
Hey,

This is an impossible question to answer as it depends on the Bios. The Bios usually provides its own set of interrupts that may be used, and some basic information from devices that it initializes on startup.

Basically, if the interrupt can be provided by the basic chipset (Like int 0x10, ax=0) It may work.

<a href="http://www.ctyme.com/intr/cat-003.htm">THIS</a> is a nice reference for some Bios interrupts.