Turbo C - ISR chaining? (Developers)
Hello RayeR,
> Hi, is there some helper function/macro in Borland BC/TC for chaining ISR
> (DJGPP has such feature)? I'd like to hook and let my ISR code be called
> first, without modifying registers and when done call the old ISR with
> original registers. Problem is that BC automatically saves and restores all
Turbo C++ 3.0 and Borland C++ 3.1 apparently have a _chain_intr function which does this, though I have not tried it myself.
_chain_intr is also in Open Watcom, but not in Turbo C 2.x.
Thank you!
---
https://gitlab.com/tkchia · https://codeberg.org/tkchia · 😴 "MOV AX,0D500H+CMOS_REG_D+NMI"
Complete thread:
- Turbo C - ISR chaining? - RayeR, 05.12.2020, 00:26 (Developers)
- Turbo C - ISR chaining? - tkchia, 05.12.2020, 07:09
- Turbo C - ISR chaining? - RayeR, 06.12.2020, 18:25
- Turbo C - ISR chaining? - alexfru, 05.12.2020, 09:48
- Turbo C - ISR chaining? - RayeR, 06.12.2020, 18:29
- Turbo C - ISR chaining? - alexfru, 07.12.2020, 06:32
- Turbo C - ISR chaining? - tom, 07.12.2020, 14:42
- Turbo C - ISR chaining? - alexfru, 07.12.2020, 06:32
- Turbo C - ISR chaining? - RayeR, 06.12.2020, 18:29
- Turbo C - ISR chaining? - tkchia, 05.12.2020, 07:09