Interupt handlers

General discussion about Visopsys. We'll create more specific forums if the number of posts justifies that.
Post Reply
User avatar
osmiumusa
Posts: 36
Joined: Sat Jan 15, 2011 8:06 pm

Interupt handlers

Post by osmiumusa » Sun Oct 23, 2011 9:45 pm

Hello!

I was just curious because after a couple of hours I couldn't find them... where are the exception handlers for specific interupts (specifically int 15)? I'm trying to make the OS shutdown with APM using int 15 and when I try I get the kernel panic for the reserved interupt. I basically want to know where that exception is actually handled, and where I can tell it to ignore it.

Thank you,

~osmiumusa :mrgreen:
Lemons. :) Nobody doesn't like lemons!

User avatar
andymc
Posts: 470
Joined: Tue Nov 16, 2010 7:20 pm

Re: Interupt handlers

Post by andymc » Sun Oct 23, 2011 11:28 pm

osmiumusa wrote:Hello!

I was just curious because after a couple of hours I couldn't find them... where are the exception handlers for specific interupts (specifically int 15)? I'm trying to make the OS shutdown with APM using int 15 and when I try I get the kernel panic for the reserved interupt. I basically want to know where that exception is actually handled, and where I can tell it to ignore it.

Thank you,

~osmiumusa :mrgreen:
Hello,

You can't use the BIOS interrupts in Visopsys - they're (generally) 16-bit "real mode" code, but Visopsys runs in 32-bit protected mode.

Visopsys is fairly plug-and-play, so (hardware) interrupts are handled by whatever hardware driver is driving the device on that interrupt line. Visopsys doesn't use software interrupts.

The good news is that the next version of Visopsys can shut down (most) systems using a partial ACPI driver that was implemented specifically for that purpose.

Andy

User avatar
osmiumusa
Posts: 36
Joined: Sat Jan 15, 2011 8:06 pm

Re: Interupt handlers

Post by osmiumusa » Mon Oct 24, 2011 12:05 am

Fantastic! Any target date for the release of 0.8?
Lemons. :) Nobody doesn't like lemons!

User avatar
andymc
Posts: 470
Joined: Tue Nov 16, 2010 7:20 pm

Re: Interupt handlers

Post by andymc » Thu Oct 27, 2011 2:45 pm

Hi!

Not sure about 0.8 yet -- that's still pretty far away.

Version 0.71 is ready for release now.

I'm hoping to get everything posted up tonight, before I leave for a 2-week holiday!

User avatar
osmiumusa
Posts: 36
Joined: Sat Jan 15, 2011 8:06 pm

Re: Interupt handlers

Post by osmiumusa » Thu Oct 27, 2011 8:23 pm

Oh, ok. I was assuming that with such a large improvement such as the acpi shutdown the version would advance a whole .1

Looking forward to it. How easy will it be to incorporate the changes I've made (mainly graphical) from .7 to .71?
Lemons. :) Nobody doesn't like lemons!

User avatar
andymc
Posts: 470
Joined: Tue Nov 16, 2010 7:20 pm

Re: Interupt handlers

Post by andymc » Fri Oct 28, 2011 12:13 am

Released! :geek: http://visopsys.org/forums/viewtopic.php?p=461#p461

Nothing much graphical has changed, IIRC, so you should be able to patch/drop in whatever changes you've been working on..

Post Reply