How to make your own software interrupts

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
011010111

How to make your own software interrupts

Post by 011010111 »

are there any tutorials on how to make your own software
interupts? I need to jump to PMode so my own interrupts are a must.
Ingo Pansa

RE:How to make your own software interrupts

Post by Ingo Pansa »

>On 2001-09-24 22:59:45, 011010111 wrote:
>are there any tutorials on how to make your own software
>interupts? I need to jump to PMode so my own interrupts are a must.

look for information about IDT. good resources are
intels i386 manual, maybe any os in early stage of
development (see www.tunes.org, ... )
Chris Giese

RE:How to make your own software interrupts

Post by Chris Giese »

>On 2001-09-24 22:59:45, 011010111 wrote:
>are there any tutorials on how to make your own software
>interupts? I need to jump to PMode so my own interrupts are a must.

http://www.execpc.com/~geezer/osd/intr/ ... m#snippets

Here is code the sets up the IDT in both asm and C:
http://www.execpc.com/~geezer/temp/osd5.zip
Post Reply