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


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

Re: New discovery with Uthernet II/W5100 buffers

From D Finnigan <dog_cow@macgui.com>
Newsgroups comp.sys.apple2.programmer
Subject Re: New discovery with Uthernet II/W5100 buffers
Date 2016-01-20 19:34 +0000
Organization Mac GUI
Message-ID <dog_cow-1453318623@macgui.com> (permalink)
References <dog_cow-1452377234@macgui.com> <n7mcrm$sah$1@news.albasani.net> <n7ojt0$v1c$1@news.albasani.net>

Show all headers | View raw


Oliver Schmidt wrote:
> Hi David,
> 
>>>The W5100 will automatically wrap the address pointer from $7FFF back to
>>>$6000, -AND- it will also automatically wrap the address pointer from
>>>$5FFF
>>>back to $4000.
>>
>>Amazing. I'll try to reproduce that asap!
> 
> I could reproduce what you describe - a big thank-you for sharing this
> discovery!
> 
> In fact the W5100 indirect bus mode autoincrement pointer divides its
> 64 kB address space into 8 segments with 8 kB each and always stays in
> the current segment.

I need to put out the updated Uthernet II manual tomorrow, because that's
got full coverage of this undocumented wraparound feature. You can advance
the address pointer past $8000 but it's a mirror of the beginning of the
address space, as you no doubt encountered in your tests.

> 
> Given that using the W5100 with only a single socket results in
> faster/smaller code I'm pretty unsure if there's a momentum to
> actually implement/agree on the W5100 sharing between a driver being
> part of the OS and and a foreground program running on the OS using
> two sockets (as I described it in my previous post).
> 
> What are your opinions, gents?

It's hard to say, but I'm thinking about writing a tcplib that does three
things:
1.) Provides a simplified interface to open and interact with up to 4 UDP or
TCP sockets,
2.) Provides a DNS resolution service,
3.) Provides a DHCP client.

2 and 3 are essentially done at this point through my past efforts with the
Marina project. 1 is fairly close. I have no time-frame for when I could
complete this, but even having it going by March is not unrealistic, I
think.

-- 
]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

New discovery with Uthernet II/W5100 buffers D Finnigan <dog_cow@macgui.com> - 2016-01-09 22:04 +0000
  Re: New discovery with Uthernet II/W5100 buffers ol.sc@web.de (Oliver Schmidt) - 2016-01-19 22:20 +0000
    Re: New discovery with Uthernet II/W5100 buffers ol.sc@web.de (Oliver Schmidt) - 2016-01-20 18:33 +0000
      Re: New discovery with Uthernet II/W5100 buffers D Finnigan <dog_cow@macgui.com> - 2016-01-20 19:34 +0000
        Re: New discovery with Uthernet II/W5100 buffers ol.sc@web.de (Oliver Schmidt) - 2016-01-21 18:20 +0000
          Re: New discovery with Uthernet II/W5100 buffers D Finnigan <dog_cow@macgui.com> - 2016-01-22 23:47 +0000
            Re: New discovery with Uthernet II/W5100 buffers ol.sc@web.de (Oliver Schmidt) - 2016-01-24 01:01 +0000
              Re: New discovery with Uthernet II/W5100 buffers D Finnigan <dog_cow@macgui.com> - 2016-01-25 16:03 +0000
                Re: New discovery with Uthernet II/W5100 buffers Oliver Schmidt <ol.sc@web.de> - 2016-04-13 05:49 -0700

csiph-web