[comp.os.os2.programmer] Hooking the clock interrupt from Protected Mode

mtp@allwet.zso.dec.com (Michael T. Peterson) (06/27/91)

I've just bought, and briefly scanned, Crawford's and Gelsinger's
"Programming the 80386".  The form and content of the book seem
to be almost exactly what I was looking for.  But, I now have a
couple of questions:

    1) How do protected mode programs obtain MSDOS services?
    
    2) Can interrupts be "hooked" from protected mode in much the same
       way as from real?  I'm specifically interested in the 08h clock
       interrupt.

I'm using a gnu's gcc (runs on MSDOS but generated 386 protected mode code).

Regards,

/mtp