home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!olivea!decwrl!sun-barr!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!cmcl2!acf3!jackson
- From: jackson@acf3.NYU.EDU (Robert Max Jackson,269 Mercer 4th Fl,998-8352,)
- Newsgroups: comp.protocols.tcp-ip.ibmpc
- Subject: Re: Crynwr WD8003E v. 10 packet driver problem
- Message-ID: <38560002@acf3.NYU.EDU>
- Date: 18 Aug 92 16:18:00 GMT
- Sender: notes@cmcl2.nyu.edu (Notes Person)
- Organization: New York University
- Lines: 33
- Nntp-Posting-Host: acf3.nyu.edu
-
-
-
- In response to my query about a problem using version 10 of
- the Crynwr packet drivers for Western Digital cards (WD8003E.COM)
- Hugh Redelmeier (Thanks Hugh) reposted a June message from Russ
- Nelson describing a bug in the 8390 driver used by the packet
- driver for this (and other) cards. As I have neither the skill nor
- time (after 7 months of time tracking this down) to figure out how
- to reassemble the whole packet driver, I decided to see if I could
- simply patch the existing v.10 driver. It seems to me that it will
- work and I am seeking confirmation (I tried it and it seems ok, but
- who knows what time bombs await).
- Below, as best I can figure it, is the incorrect and corrected
- code (a macro used to insert pauses in communications with the
- board).
-
- Actual Code
- in Hex Assembler
- ----------- -------------
- 50 PUSH AX
- E561 IN AX,61 <---WRONG
- 58 POP AX
-
- 50 PUSH AX
- E461 IN AL,61 <---RIGHT
- 58 POP AX
-
- This piece of code seems to appear nowhere else in the remaining
- code used for the packet driver. Therefore, a simple search and
- replace of the first 4 bytes by the second 4 bytes would seem to
- patch the buggy code.
-
- IS THIS CORRECT???
-