OSDev.org

The Place to Start for Operating System Developers
It is currently Sat Apr 27, 2024 11:40 pm

All times are UTC - 6 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Real mode interrupt table address
PostPosted: Sun Apr 17, 2005 1:46 am 
Hello,
I'm still at my real mode stages and I'm now starting (trying to) to develop my first ISR.

My question is where does the interrupt table reside in real mode.
The documentation I've read so far deal with IDT's which is nice if you are coding for PM.

(Also, a pointer to a document that explains the memory layout after the POST process is finished would be great).

TIA

Shaya


Top
  
 
 Post subject: Re:Real mode interrupt table address
PostPosted: Sun Apr 17, 2005 2:05 am 
Map of low memory in the Wiki

The IVT starts at 0000:0000, each 4 bytes represents a CS:IP pair (IIRC) for the interrupt. If you're using the IVT then I think the recommended approach is to read the existing value, replace it with yours then rememeber to far call to the one you read afterwards


Top
  
 
 Post subject: Re:Real mode interrupt table address
PostPosted: Sun Apr 17, 2005 2:13 am 
Thanks for the quick reply.

I guess my IVT is going to suffer lots of abuse, when i come back home this evening, until i get it working right :-)


Top
  
 
 Post subject: Re:Real mode interrupt table address
PostPosted: Sun Apr 17, 2005 12:06 pm 
Here is some asm code that may help, it for making your own ISR in realmode, from a OS dev point of view.

Dex4u.


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

All times are UTC - 6 hours


Who is online

Users browsing this forum: Google [Bot], Majestic-12 [Bot] and 10 guests


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