next up previous contents index
Next: Creating own interrupt handlers Up: Protected mode memory organization Previous: Handling interrupts with DPMI

Protected mode interrupts vs. Real mode interrupts

As mentioned before, there's a distinction between real mode interrupts and protected mode interrupts; the latter are protected mode programs, while the former must be real mode programs. To call a protected mode interrupt handler, an assembly 'int' call must be issued, while the other is called via the realintr() or intr() function. Consequently, a real mode interrupt then must either reside in DOS memory (<1MB) or the application must allocate a real mode callback address via the get_rm_callback() function.



Michael Van Canneyt
Thu Sep 10 13:59:33 CEST 1998