| delorie.com/archives/browse.cgi | search |
| Original-Received: | by ulysses.lib.ntua.gr via NTUAnet with |
| ESMTP id JAA29138 at Sun, 29 Oct 1995 09:49:37 +0200 | |
| PP-warning: | Illegal Received field on preceding line |
| Original-Received: | by |
| cc.ece.ntua.gr with ESMTP id JAA11466 at Sun, 29 Oct 1995 | |
| 09:52:07 +0200 (EET) | |
| PP-warning: | Illegal Received field on preceding line |
| Original-Received: | by cc.ece.ntua.gr [client - skorpios] |
| id JAA23603 at Sun, 29 Oct 1995 09:52:05 +0200 (EET) | |
| PP-warning: | Illegal Received field on preceding line |
| From: | "George C. Moschovitis" <gmoscho AT cc DOT ece DOT ntua DOT gr> |
| Subject: | Interrupt chaining question / lint |
| To: | djgpp AT sun DOT soe DOT clarkson DOT edu (djgpp) |
| Date: | Sun, 29 Oct 1995 09:52:05 +0200 (EET) |
Hi,
I have the following problem an wonder if anyone can help me:
I 've written an interrupt handler in C plus code to install it etc,etc
and it all works fine. But now i want to chain the old handler to my
handler. I have saved the old vector in
void (*old_vec)();
how can I call the handler that old_vec points to from C as gcc does not
support the interrupt keyword found in other pc compilers ?
I tried something like:
asm ("
pushf
call (_old09)
");
but it just crashed... However I am not sure I 've written the above asm
code correct as I am not familiar with the AT&T syntax.
Anyone can help on this ?
And something else,
does anyone know where I can find a msdos version of lint ? (pd/shareware)
Thanks in advance,
George Moshovitis
tmL-
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |