Slimelite BBS

extern

Back to EMULATE

From Jigal Van Hemert · 1996-04-09 19:34 · #73689 in EMULATE

In reply to extern by Darin McBride

High! Jeff,

Ref: extern, dd.05-Apr-96, from: Darin McBride

 JS>> net and the compiler can't reconize a command calle 'getvert'
 JS>> what does this do and how can I get it working with Watcom c++?
 DM> That one I don't recognize...

I guess it's a typo and it should read 'getvect'.

getvect(int_nmbr) will give you a 4-byte address to the interrupt service
routine that handles that interrupt number.

It is most of the time used to store the address of the old ISR just prior
to changing it to a new one by setvect().

Look in the manual for interrupt and I think you can find the info there.
                     ___   __   __
Happy programming,  /   | / /__/ /
                ___/ /| |/ ___  /
Jigal.         /____/ |___/  /_/
--- Terminate 1.50/Pro
 * Origin: Happy Point 6 at The Dingo Board (2:281/713.6)