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