Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.apple2 > #26646

Re: Uthernet II manual updated, probe algorithm corrected

Path csiph.com!news.swapon.de!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail
From D Finnigan <dog_cow@macgui.com>
Newsgroups comp.sys.apple2, comp.sys.apple2.programmer
Subject Re: Uthernet II manual updated, probe algorithm corrected
Date Fri, 8 Jan 2016 17:49:51 -0000 (UTC)
Organization Mac GUI
Lines 34
Message-ID <dog_cow-1452275549@macgui.com> (permalink)
References <dog_cow-1452200720@macgui.com>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8
Content-Transfer-Encoding 8bit
Injection-Date Fri, 8 Jan 2016 17:49:51 -0000 (UTC)
Injection-Info mx02.eternal-september.org; posting-host="ac9e0e4d7dd3957fb97803ee6801bab8"; logging-data="14381"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19j8QVndwGjARjpzj3JggB3"
User-Agent Mac GUI Usenet
In-Reply-To <dog_cow-1452200720@macgui.com>
Cancel-Lock sha1:9qyKTCvAxH7KV636GNP83ub9kSs=
Xref csiph.com comp.sys.apple2:26646 comp.sys.apple2.programmer:2069

Cross-posted to 2 groups.

Show key headers only | View raw


D Finnigan wrote:
> The programming section is pretty good, but still not complete. Today I
> added a new section on probing for the Uthernet II on page 37. It suggests
> an algorithm to use for programmatically detecting the presence of the
> Uthernet II based on the behavior of the W5100 chip. I also fixed some
> typos
> in the manual, including one in the sample source code on page 23.
> 
> Visit the http://a2retrosystems.com/ web site, and click the manual link
> where it says "Please download the manual".
> 

I updated the manual again today to correct the new Uthernet II/W5100
probing algorithm on page 37. It failed to detect the W5100 if it had
previously been used and its internal address pointer was not at zero.

I had *assumed* that sending the $80 software reset command to the W5100
would also reset the internal address pointer to 0, but noooooooo, that
doesn't happen.

So I removed the last test which was to LDA $C0x7,X and CMP #3, because we
can't assume the state of the address pointer.

Hum-ho…..

Also coming soon: an improved and less headache-inducing data transfer loop
that eradicates that ridiculous split-copy algorithm for buffer wraparound.
Ugh.

-- 
]DF$
The Marina IP stack for Apple II--
http://marina.a2hq.com/

Back to comp.sys.apple2 | Previous | NextPrevious in thread | Find similar


Thread

Uthernet II manual updated D Finnigan <dog_cow@macgui.com> - 2016-01-07 21:02 +0000
  Re: Uthernet II manual updated, probe algorithm corrected D Finnigan <dog_cow@macgui.com> - 2016-01-08 17:49 +0000

csiph-web