visopsys.org

Visopsys Forums
It is currently Fri Jan 19, 2018 6:49 am

All times are UTC




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Interupt handlers
PostPosted: Sun Oct 23, 2011 9:45 pm 
Offline
User avatar

Joined: Sat Jan 15, 2011 8:06 pm
Posts: 36
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!


Top
 Profile  
 
 Post subject: Re: Interupt handlers
PostPosted: Sun Oct 23, 2011 11:28 pm 
Offline
User avatar

Joined: Tue Nov 16, 2010 7:20 pm
Posts: 460
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


Top
 Profile  
 
 Post subject: Re: Interupt handlers
PostPosted: Mon Oct 24, 2011 12:05 am 
Offline
User avatar

Joined: Sat Jan 15, 2011 8:06 pm
Posts: 36
Fantastic! Any target date for the release of 0.8?

_________________
Lemons. :) Nobody doesn't like lemons!


Top
 Profile  
 
 Post subject: Re: Interupt handlers
PostPosted: Thu Oct 27, 2011 2:45 pm 
Offline
User avatar

Joined: Tue Nov 16, 2010 7:20 pm
Posts: 460
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!


Top
 Profile  
 
 Post subject: Re: Interupt handlers
PostPosted: Thu Oct 27, 2011 8:23 pm 
Offline
User avatar

Joined: Sat Jan 15, 2011 8:06 pm
Posts: 36
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!


Top
 Profile  
 
 Post subject: Re: Interupt handlers
PostPosted: Fri Oct 28, 2011 12:13 am 
Offline
User avatar

Joined: Tue Nov 16, 2010 7:20 pm
Posts: 460
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..


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group