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


Groups > comp.sys.apple2.programmer > #3254

Re: Uthernet II manual - sample code

From D Finnigan <dog_cow@macgui.com>
Newsgroups comp.sys.apple2.programmer
Subject Re: Uthernet II manual - sample code
Date 2017-02-06 03:41 +0000
Organization Mac GUI
Message-ID <dog_cow-1486352616@macgui.com> (permalink)
References <878838ba-6367-4afb-b045-0b6bdb53ec65@googlegroups.com>

Show all headers | View raw


Chris Torrence wrote:
> Hi all,
> 
> I've been working my way through the Uthernet II manual (which is
> excellent
> by the way!) and I've encountered a couple of minor bugs with the TCP
> socket demo code.
> 

"Fixing bugs in the sample code is an exercise left to the reader."

:-D

Seriously though, thanks for testing the code and reporting what you've
found. I'll be sure to update the manual as soon as I can.

> 
> I've prototyped the code, and it seems to work fine, but I'm wondering
> whether anyone (David Finnigan?) sees anything wrong with this approach?

It's probably good. And since you've tested it, I believe you. The next
approach I found was to take advantage of address wraparound inherent in the
W5100's address space. This technique is documented in a thread somewhere in
this newsgroup.

Finally, I also advise looking at Oliver Schmidt's driver for the W5100 (if
you haven't yet). He has some more technical documentation that isn't in the
manual.

Further reading:
https://github.com/a2retrosystems/uthernet2
https://github.com/a2retrosystems/uthernet2/wiki
https://github.com/burniouf/A2osX/tree/master/DRV
https://github.com/oliverschmidt/ip65/blob/master/drivers/w5100.s

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

Back to comp.sys.apple2.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Uthernet II manual - sample code Chris Torrence <gorthmog@gmail.com> - 2017-02-05 14:16 -0800
  Re: Uthernet II manual - sample code D Finnigan <dog_cow@macgui.com> - 2017-02-06 03:41 +0000
    Re: Uthernet II manual - sample code Oliver Schmidt <ol.sc@web.de> - 2017-02-06 10:20 +0000
  Re: Uthernet II manual - sample code Oliver Schmidt <ol.sc@web.de> - 2017-02-06 10:28 +0000
    Re: Uthernet II manual - sample code Chris Torrence <gorthmog@gmail.com> - 2017-02-06 17:20 -0800
      Re: Uthernet II manual - sample code D Finnigan <dog_cow@macgui.com> - 2017-02-07 02:59 +0000
        Re: Uthernet II manual - sample code "Mark D. Overholser" <marko@markoverholser.com> - 2017-02-07 10:33 -0800
          Re: Uthernet II manual - sample code D Finnigan <dog_cow@macgui.com> - 2017-02-07 21:42 +0000
  Re: Uthernet II manual - sample code D Finnigan <dog_cow@macgui.com> - 2017-02-12 20:49 +0000
    Re: Uthernet II manual - sample code D Finnigan <dog_cow@macgui.com> - 2017-02-25 23:29 +0000
      Re: Uthernet II manual - sample code "Mark D. Overholser" <marko@markoverholser.com> - 2017-02-25 21:12 -0800
        Re: Uthernet II manual - sample code D Finnigan <dog_cow@macgui.com> - 2017-02-26 20:03 +0000
          Re: Uthernet II manual - sample code "Mark D. Overholser" <marko@markoverholser.com> - 2017-02-26 16:26 -0800
            Re: Uthernet II manual - sample code D Finnigan <dog_cow@macgui.com> - 2017-02-27 01:38 +0000
              Re: Uthernet II manual - sample code "Mark D. Overholser" <marko@markoverholser.com> - 2017-02-27 09:58 -0800

csiph-web