🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.os2.programmer
Article #3239

Hooking the clock interrupt from Protected Mode

#3239
From: Michael T. Peterson
Date: Wed, 26 Jun 1991 21:50
16 lines
1002 bytes
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
Technical Details
Message-ID: <1564@rust.zso.dec.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!decwrl!pa.dec.com!rust.zso.dec.com!allwet.zso.dec.com!mtp

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!decwrl!pa.dec.com!rust.zso.dec.com!allwet.zso.dec.com!mtp
From: mtp@allwet.zso.dec.com (Michael T. Peterson)
Newsgroups: comp.os.os2.programmer
Subject: Hooking the clock interrupt from Protected Mode
Message-ID: <1564@rust.zso.dec.com>
Date: 26 Jun 91 21:50:04 GMT
Sender: news@rust.zso.dec.com
Reply-To: mtp@mold.zso.dec.com
Organization: DECwest Engineering
Lines: 16