flat assembler
Message board for the users of flat assembler.

Index > OS Construction > IDT problems

Author
Thread Post new topic Reply to topic
asmmsa



Joined: 06 Feb 2010
Posts: 45
asmmsa
im learning about interrupts and i have a problem.

I cant find what is the diffrence between '16 bit int/trp gate' and '32 bit int/trp gate'.

How does it work?
obviously this structure of idt can be called from 32bit mode only.

when i call interrupt or make something that throw exception, and my cpl is <= dpl of IDT gate (exception always), im getting switched.

code executed is accordingly to cs segment size bit.
so whats diffrent between 16 and 32 gate?




also i have a question about bochs emulator, can i set up logging all interrupts? it might help me to learn if ill get explained error why it failed.



thx.
Post 09 Feb 2010, 16:53
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
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 vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar. Also on YouTube, Twitter.

Website powered by rwasa.