User:Johnburger/Demo/Exec/Ints/NoSeg
From OSDev Wiki
< User:Johnburger | Demo
Jump to navigation
Jump to search
Install the simple No Segment handler, which doesn't require its own context to run.
Demo/Exec/Ints/NoSeg.inc
; ; Exec/Ints/NoSeg.inc ; ; This module installs an example No Segment handler. Exec.Ints.NoSeg: MOVEAX,Ints.NoSeg MOVEBX,IDT.NoSeg MOVCX,Selector(GDT.Ints,GDT,RPL0) MOVDL,Type.Sys(Trap,DPL0,386) CALLExec.Alloc.IDT RET