Jump to content
xisto Community
Sign in to follow this  
jayron

Interrupt For Windows

Recommended Posts

Unlike DOS, which works under Real mode of processor, Windows works under protected mode of the processor. In protected mode the registers are 32-bit long and are often known as extended registers For example, corresponding to the AX, BX, CX, DX, IP registers of real mode, there exist 32-bit registers called EAX, EBX, ECX, EDX and EIP under protectedAlso under protected mode interrupt handling is a little different. The interrupt vector table is no longer kept at a low address space. Instead it is replaced by another table Interrupt Descriptor Table (IDT) which is kept anywhere in physical memory. A dedicated register called IDTR holds the address of the IDT. While booting Windows constructs the table in available physical memory and stores its address in the IDTR register via a special instruction called SIDT (Store IDT). Windows fills the IDT with addresses of various kernel routines.

Share this post


Link to post
Share on other sites

Correct me if I'm wrong, but if I remember correctly, Ring 3 applications(which is what all user-designed programs that run in Windows are, unless they are a device driver or VxD) can't even use the interrupts in Windows.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.