Page 1 of 1

How to make your own software interrupts

Posted: Sun Sep 23, 2001 11:00 pm
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.

RE:How to make your own software interrupts

Posted: Mon Sep 24, 2001 11:00 pm
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, ... )

RE:How to make your own software interrupts

Posted: Mon Sep 24, 2001 11:00 pm
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