Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

Announcement: KEEPHOOK (Announce)

posted by bretjohn Homepage E-mail, Rio Rancho, NM, 14.10.2021, 00:55

> A different way may be possible by installing KEEPHOOK and covering the
> same interrupt twice: once before installing the TSR and once after.
> However, I'm not sure how to avoid loops or insure that the order of the
> handlers is correct.

Yeah, that's a problem since you don't really know how the TSR handles the interrupt (preprocessing vs. post-processing vs. both, sometimes passing the interrupt through to previous handler and sometimes not, CALLing vs JMPing, IRQ handlers sometimes issuing the EOI and sometimes not, etc.). It can get really ugly. AMIS, or even just IISP, makes much of that a whole lot easier. Though I've never seen one that did this, a TSR could keep track internally (instead of using the IISP header) of, e.g., whether or not it needs to issue an EOI and changing the order around could mess that up.

> Thanks for the feedback. I may consider adding a diagram. I'd have to draw
> it with ASCII art though.

I was imagining ASCII art rather than a "real picture".

 

Complete thread:

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