Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.sys.apple2 > #26646
| 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 | 2016-01-08 17:49 +0000 |
| Organization | Mac GUI |
| Message-ID | <dog_cow-1452275549@macgui.com> (permalink) |
| References | <dog_cow-1452200720@macgui.com> |
Cross-posted to 2 groups.
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 | Next — Previous in thread | Find similar
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