Available Interrupts

If you are new to OS Development, plan on spending some time here first before going into the other forums.

Moderator:Moderators

Post Reply
Butterman
Posts:1
Joined:Tue Feb 19, 2008 10:44 am
Available Interrupts

Post by Butterman » Tue Feb 19, 2008 10:48 am

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.

User avatar
Mike
Site Admin
Posts:465
Joined:Sat Oct 20, 2007 7:58 pm
Contact:

Post by Mike » Wed Feb 20, 2008 12:27 am

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.
Lead Programmer for BrokenThorn Entertainment, Co.
Website: http://www.brokenthorn.com
Email: webmaster@brokenthorn.com

Post Reply