Dear experts:
I wrote two programs:
1. A DOS program developed with Borland C++ 3.1
2. A terminating and staying resident (TSR) program. The development environment is the same.
In my program 1, I called the TSR, for example, interrupt number 1f.
Now the problem is: In the interrupt, I want to use a certain function in program 1, such as foo1(int arg1, int arg2, char **arg3). I don't want to directly write this function into the interrupt (this function triggers some other interrupts). I want to be able to call this function in program 1 when the interrupt is executed.
I don't have many ideas. Please give me some pointers, great experts.
I wrote two programs:
1. A DOS program developed with Borland C++ 3.1
2. A terminating and staying resident (TSR) program. The development environment is the same.
In my program 1, I called the TSR, for example, interrupt number 1f.
Now the problem is: In the interrupt, I want to use a certain function in program 1, such as foo1(int arg1, int arg2, char **arg3). I don't want to directly write this function into the interrupt (this function triggers some other interrupts). I want to be able to call this function in program 1 when the interrupt is executed.
I don't have many ideas. Please give me some pointers, great experts.
