[net.micro.pc] Turbo Pascal query??

dmt@hocsl.UUCP (08/22/84)

I am looking for some help with a Turbo Pascal problem.
I'm writing an interrupt handler, and would prefer doing
it in Turbo if I can.  The guidance I get from the Turbo manual
(B.1.10, page 184) includes the admonition,
"The programmer must initialize the interrupt vector used to
activate the interrupt service routine."  So far, obvious.
But HOW do you get the entry point of the interrupt
service routine to put in the vector?

Right now I'm using an ugly kludge where "inline" machine code
gets the instruction counter, increments it by a known small
number (obtained by looking at the .COM file with DEBUG),
and plants it in the vector. 

I'd appreciate hearing from anyone with a more elegant approach
to the problem. I DO know how to do it in assembler and CI C86,
but I'd rather do it in Turbo if I can.

Thanks in advance.
			Dave Tutelman - ATTIS Holmdel