[comp.sys.ibm.pc] Programming question

opielask@clutx.clarkson.edu (AAron nAAs,,,) (03/26/90)

I am writing an interrupt handler in Turbo C, and am having problems
with a pointer structure that I want to implement.

External programs will pass their array to the interrupt by placing
the array's location (seg&offset) into vector 60H.

The interrupt handler has access to a char array called send_buffer.

I want send_buffer to physically be where the vector 60H points.
So if a program wants to pass an array to the interrupt, all it has
to do is use a setvect function, to make vector 60H point to the
array it has declaired.  Then when ever the interrupt uses the char
array send_buffer, it is "automatically" dealing with the array of
the other program.

Or will my interrupt handler have to clumsily(sp?) copy
char arrays all over the place when it want's to pass
arrays to and from itself?
-------
I am writing the lowest level of a token ring LAN (I do what I am told),
and would appreciate any help/insights involving this problem.
I doubt that this topic is of general interest, so responses should
probably be mailed directly to me.  But I will try to keep up on the
comp.sys.ibm.pc postings to be sure...
-------
AAron nAAs
opielask@clutx.clarkson.edu       or       naas17@snypotba.bitnet
-------