Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!wuarchive!zaphod.mps.ohio-state.edu!rpi!image.soe.clarkson.edu!news From: nelson@sun.soe.clarkson.edu (Russ Nelson) Newsgroups: comp.protocols.tcp-ip.ibmpc Subject: Re: Token Ring Packet driver and "tokreui". Message-ID: Date: 25 Dec 89 19:36:07 GMT References: <341@rulcs.cs.rul.nl> Sender: news@sun.soe.clarkson.edu Reply-To: nelson@clutx.clarkson.edu Organization: Clarkson University, Potsdam NY Lines: 27 In-reply-to: kranenbu@.uucp's message of 25 Dec 89 13:43:10 GMT In article <341@rulcs.cs.rul.nl> kranenbu@.uucp (Paul Kranenburg) writes: A small oversight in the Token Ring Packet driver (from the clarkson archive) prevented it from working with the "tokreui" program which we still use at our site. The problem: the _receiver interrupt procedure fails to reset the direction bit used in string instructions. Hmmmm... I'm dubious of the need for this patch. The 'recv' routine is called by 'recv_isr', found in head.asm. Recv_isr save the registers, switches stacks, clears the direction flag, and calls 'recv'. After 'recv' returns, the interrupt is acknowledged, the stack gets restored, 'recv_exiting' gets called, the registers get restored, and an interrupt return is exited. Certainly clearing the direction flag at that point won't hurt, but neither should it help. If it *does* fix something, then I need to find out how the direction flag is getting set. -- --russ (nelson@clutx [.bitnet | .clarkson.edu]) Russ.Nelson@$315.268.6667 Live up to the light thou hast, and more will be granted thee. A recession now appears more than 2 years away -- John D. Mathon, 4 Oct 1989. I think killing is value-neutral in and of itself. -- Gary Strand, 8 Nov 1989. Liberals run this country, by and large. -- Clayton Cramer, 20 Nov 1989. Shut up and mind your Canadian business, you meddlesome foreigner. -- TK, 23 N.