Page 1 of 1

Interupt handlers

Posted: Sun Oct 23, 2011 9:45 pm
by osmiumusa
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:

Re: Interupt handlers

Posted: Sun Oct 23, 2011 11:28 pm
by andymc
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

Re: Interupt handlers

Posted: Mon Oct 24, 2011 12:05 am
by osmiumusa
Fantastic! Any target date for the release of 0.8?

Re: Interupt handlers

Posted: Thu Oct 27, 2011 2:45 pm
by andymc
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!

Re: Interupt handlers

Posted: Thu Oct 27, 2011 8:23 pm
by osmiumusa
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?

Re: Interupt handlers

Posted: Fri Oct 28, 2011 12:13 am
by andymc
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..