Welcome, Guest. Please login or register.

Author Topic: uIP/lwIP for Amiga OS  (Read 21959 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline TrevTopic starter

  • Hero Member
  • *****
  • Join Date: May 2003
  • Posts: 1550
  • Country: 00
    • Show all replies
Re: uIP/lwIP
« Reply #44 from previous page: December 28, 2007, 10:19:26 PM »
Still busy, but haven't put lwIP aside. Will be out of town for a bit and then back to work.

Went with processes instead of tasks, as the core lwIP code wants functions that fall into dos.library. The stack is up and running with a loopback adapter but occassionally crashes. D'oh. Got to find out where, fix it, and add ethernet support. (It's probably just crashing on my debug output. Console I/O is wrapped with a semaphore--is that enough to make it thread safe?--but there are probably some stray printf statements somewhere causing havoc. Or it could be something else entirely. Need to do what I was talking about and implement a separate process that does nothing but accept and output debug messages.)

Trev
 

Offline TrevTopic starter

  • Hero Member
  • *****
  • Join Date: May 2003
  • Posts: 1550
  • Country: 00
    • Show all replies
Re: uIP/lwIP for Amiga OS
« Reply #45 on: January 16, 2008, 04:32:24 PM »
Hey. Yes, progress has been made. The crashes are all fixed, and lwIP runs happily as a CLI process without access to the network. Work to do: SANA-II code; resident stuff; bsdsocket.library. I've been playing with other things (VGA, iSCSI, AoE, and some Windows stuff), so I haven't been working on lwIP as much as I could be. My fiancee and I have also been catching up with the TiVo queue.

In the meantime, Robert Norris' blog on WebKit is a good read for anyone interested in the ins and outs of porting software: http://cataclysm.cx. He's done quite a bit of support work related to WebKit that could be helpful to other projects as well.

Trev
 

Offline TrevTopic starter

  • Hero Member
  • *****
  • Join Date: May 2003
  • Posts: 1550
  • Country: 00
    • Show all replies
Re: uIP/lwIP for Amiga OS
« Reply #46 on: January 24, 2008, 07:19:47 PM »
Or I could buy one on eBay, which I'd need to do anyway after destroying my card while trying to modify it. ;-)

Update: Still working, but not much progress. I've been looking at ways to improve performance in uIP, including making it much, much smaller, and backport the code to earlier operating systems. I might have a fun surprise for everyone sometime in the next few weeks. It all depends on how quickly AmigaKit fulfills my latest order. :-)
 

Offline TrevTopic starter

  • Hero Member
  • *****
  • Join Date: May 2003
  • Posts: 1550
  • Country: 00
    • Show all replies
Re: uIP/lwIP for Amiga OS
« Reply #47 on: January 29, 2008, 06:47:26 PM »
That's pretty cool! I guess I'd better write something that understands Workbench semantics. :-) The combination of ReadArgs and tooltypes is great for bridging the gap, but I need a ReadArgs replacement for older Amigas (or a less buggy ReadArgs replacement for all Amigas).
 

Offline TrevTopic starter

  • Hero Member
  • *****
  • Join Date: May 2003
  • Posts: 1550
  • Country: 00
    • Show all replies
Re: uIP/lwIP for Amiga OS
« Reply #48 on: May 30, 2008, 01:51:23 AM »
@maxlock

I got bored, and my Amiga is still spread about my desk in pieces. So, I've been spending time with my fiancee, playing video games, and generally slacking. In programming, I've been toying with a clean room specification for the MS-DOS redirector/IFS interface.

I'll get back to uIP and lwIP eventually, though, and probably from a different perspective. While we're stuck with the bsdsocket.library interface, I'd like to see something less UNIX-like and more Amiga-like, too. Maybe something like a udp.resource and tcp.resource that lets you allocate and use ports in an Amiga-friendly way. Anyhow, that's all just floating around my head, nothing on paper yet.

A Bonjour/mDNS implementation is on the back burner as well, although its utility on the Amiga is questionable. Build it and the apps will come, I suppose?

Trev
 

Offline TrevTopic starter

  • Hero Member
  • *****
  • Join Date: May 2003
  • Posts: 1550
  • Country: 00
    • Show all replies
Re: uIP/lwIP for Amiga OS
« Reply #49 on: August 05, 2010, 04:28:23 AM »
My A500 looks similar to that one, although I still need to cut a hole in the case for the jack. :-) The RRNet works just fine over the clockport. Performance isn't fantastic, but it's not as bad as you'd think.

I'd join the conversation over on a1k.org, but I don't speak German. EDIT: Jens is active there, too. :-( It's too bad he ditched Amiga.org.