Mail Archives: djgpp/1998/06/11/08:46:19
From: | "Jan Humme" <info AT imedia-engineering DOT nl>
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | Software interrupt handler for TSR server?
|
Date: | 11 Jun 1998 11:39:54 GMT
|
Organization: | Imedia Engineering BV
|
Lines: | 23
|
Message-ID: | <6lofma$4u5@news3.euro.net>
|
NNTP-Posting-Host: | i238.asd.euronet.nl
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
I want to create a server application, that can be accessed by a client.
The server application will be a TSR program, I want to create a software
interrupt handler (for example on INT 0x66) so clients can send a request
(struct) to the server, very much like the DOS interrupt INT 21 works.
=> Would this be the correct way to implement such a server facility (by
software interrupt handler I mean)? Any other ideas?
=> how can I install a software interrupt handler? I tried doing it in the
same way a hardware interrupt handler is installed, but for some reason my
program crashes 100% (I have to reset my PC) whenever I use an interrupt
number that is not in use as a hardware IRQ handler. For example: on INT 8
and INT 0x70 it's OK, I can use _dpmi_int() to call my handler and it works
fine, but if I install it anywhere else (like on INT 0x66) it crashes.
=> Perhaps there is a good example of such a client/server program using
software interrupts for communication anywhere on the net?
Jan Humme.
- Raw text -