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


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

Re: Web server for Uthernet II written in PLASMA

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news2.arglkargh.de!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.programmer
Subject Re: Web server for Uthernet II written in PLASMA
Date Fri, 3 Apr 2015 01:36:05 +0000 (UTC)
Organization Mac GUI
Lines 52
Message-ID <dog_cow-1428025017@macgui.com> (permalink)
References <dog_cow-1427579397@macgui.com> <de462888-abc8-47f1-8983-fa2dad9e551c@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8
Content-Transfer-Encoding 8bit
Injection-Date Fri, 3 Apr 2015 01:36:05 +0000 (UTC)
Injection-Info mx02.eternal-september.org; posting-host="ac9e0e4d7dd3957fb97803ee6801bab8"; logging-data="24143"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+sSrtE54FYZOBWsf5oX1q/"
User-Agent Mac GUI Usenet
In-Reply-To <de462888-abc8-47f1-8983-fa2dad9e551c@googlegroups.com>
Cancel-Lock sha1:6QEVFp7PLmBm4F2SUBPJT8QqxeI=
Xref csiph.com comp.sys.apple2.programmer:1576

Show key headers only | View raw


David Schmenk wrote:
> On Saturday, 28 March 2015 14:49:59 UTC-7, D Finnigan  wrote:
>> Dave Schmenk says "What do you do when you build a new ethernet card,
>> implement an SDCard storage device using the SuperSerial Card, and create
>> a
>> new language just for the Apple II? Tie it all together with a web
>> server"
>> 
>> He is using the built-in TCP/IP stack of the W5100 chip on the upcoming
>> Uthernet II. The language used is PLASMA.
>> 
>> http://schmenk.is-a-geek.com/wordpress/?p!6
>> 
>> 
>> I would also like to toot my own horn and post a link to my upcoming
>> vaporware product, the Marina IP stack. Take a look:
>> http://marina.a2hq.com/
>> 
>> It does not work on the Uthernet II yet.
> 
> David, that is very cool. I also have a stack for the original Uthernet
> that is coming along (implementing TCP now). I chose to implement the
> Wiznet stack first, as I wanted to make sure I took full advantage of its
> features instead of using it as just an Ethernet packet send/receive
> device. You might want to review the 5100's functionality so that you
> match
> your API up to it. I also auto-detect the CS8900 and Wiznet 5100 to load
> the appropriate driver, although I can't promise how robust is is.

You know, I would give my left shift key to figure out to implement media
sense detection on the original Uthernet (in other words, when the cable
comes out or in).

Now there's this silly status byte you can poll that is LinkOK but that
times out after 50 MS! What do to? Well you can test for TxOK, which I do.
And then if you get 2 or three failures in a row then the cable is probably
unplugged. At this point you could test the LinkOK bit.

Great. It's not a work of beauty, but it's not too bad either.

Now how to detect the cable being plugged back in??!! Just blindly send
Ethernet frames until one succeeds? What!

Regarding TCP: ain't gonna happen until I've got a clock card giving me at
least 1 second IRQs. No way, man. Not gonna go down the software loop timer
path!

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

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


Thread

Web server for Uthernet II written in PLASMA D Finnigan <dog_cow@macgui.com> - 2015-03-28 21:49 +0000
  Re: Web server for Uthernet II written in PLASMA David Schmenk <dschmenk@gmail.com> - 2015-03-30 11:14 -0700
    Re: Web server for Uthernet II written in PLASMA aiiadict@gmail.com - 2015-04-01 11:27 -0700
    Re: Web server for Uthernet II written in PLASMA D Finnigan <dog_cow@macgui.com> - 2015-04-03 01:36 +0000
  Re: Web server for Uthernet II written in PLASMA "Bill Garber" <willy46pa@comcast.net> - 2015-03-30 18:20 -0400
    Re: Web server for Uthernet II written in PLASMA David Schmenk <dschmenk@gmail.com> - 2015-03-30 22:04 -0700
      Re: Web server for Uthernet II written in PLASMA "Bill Garber" <willy46pa@comcast.net> - 2015-03-31 14:01 -0400
        Re: Web server for Uthernet II written in PLASMA David Schmenk <dschmenk@gmail.com> - 2015-03-31 12:11 -0700
          Re: Web server for Uthernet II written in PLASMA "Bill Garber" <willy46pa@comcast.net> - 2015-03-31 15:42 -0400
          Re: Web server for Uthernet II written in PLASMA D Finnigan <dog_cow@macgui.com> - 2015-04-03 01:41 +0000
          Re: Web server for Uthernet II written in PLASMA pitz <pitz.wong@gmail.com> - 2015-04-07 23:26 -0700
            Re: Web server for Uthernet II written in PLASMA ol.sc@web.de (Oliver Schmidt) - 2015-04-09 21:22 +0000
              Re: Web server for Uthernet II written in PLASMA David Schmenk <dschmenk@gmail.com> - 2015-04-13 07:27 -0700
      Re: Web server for Uthernet II written in PLASMA Antoine Vignau <antoine.vignau@laposte.net> - 2015-03-31 12:09 -0700
        Re: Web server for Uthernet II written in PLASMA "Bill Garber" <willy46pa@comcast.net> - 2015-03-31 15:48 -0400
          Re: Web server for Uthernet II written in PLASMA D Finnigan <dog_cow@macgui.com> - 2015-04-03 01:39 +0000
        Re: Web server for Uthernet II written in PLASMA D Finnigan <dog_cow@macgui.com> - 2015-04-03 01:29 +0000

csiph-web