Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

Turbo C - ISR chaining? (Developers)

posted by tkchia Homepage, 05.12.2020, 07:09

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:

Back to the forum
Board view  Mix view
22049 Postings in 2034 Threads, 396 registered users, 228 users online (0 registered, 228 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum