From: "Jan Humme" Newsgroups: comp.os.msdos.djgpp Subject: Re: Software interrupt handler for TSR server? Date: 12 Jun 1998 16:52:55 GMT Organization: Imedia Engineering BV Lines: 77 Message-ID: <6lrmd7$f7q@news3.euro.net> References: <6lofma$4u5 AT news3 DOT euro DOT net> NNTP-Posting-Host: i226.asd.euronet.nl To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Jan Humme wrote in message <6lofma$4u5 AT news3 DOT euro DOT net>... >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. > .....etc. etc. etc...... >=> Perhaps there is a good example of such a client/server program using >software interrupts for communication anywhere on the net? I am actually a little disappointed that nobody seems to be interested in this kind of problem. I posted a similar question 2 weeks ago, without any reply........ Anyway, in order to stimulate all of you a little bit, let me attach what I believe to be an improved and debugged version of an simple hardware interrupt library that I downloaded from somewhere (probably DJ's server?). It does no locking, so it's best to switch virtual memory off. Jan Humme. begin 666 irq.zip M4$L#! H````&`#:4S"0 AT U7"9,P8``)H.```%````25)1+D,-`@$2(Q05-C=H MB9K;/ 4&$A-$Q?:6]U^J;*@0Q' 'B32H5*)7AG=1D$F=4BTJ56I5J%2G*#]( MHDJ/0H4*TJJ,\0XB.)W6+4BH),%V?8MV3+?C;C'S)G3!O AT 6FQ=D MT[1CT88MRQ;D%.-==\[YE AT MB&&)1N6S#9"_L+==ES!G9$7- ;Y AT Q01I]*\=[ MHRV;MLU]^"/)NFU8MWFH>YGDG9:MCG ]%&G5*74?:-&B5ET6;9&\GK?3I$M= M5B'>+:@WTZ!.CQ9UZI)H$;&1<8CM4L.R-=._ZY:=.U>LG+:'#E%IV+-DO$Z0 M,F%\#0^31K &Z;2N''\MAND^XS70A60-,/A5F!IIW;9MRW1#)%K&>@M1NZI4 M6#]L6#I:=TLCX!%CPJQ9PZJV AT KR#MIE3D AT W;YCLBE2A5WE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