Hyperstone (RISC/DSP) port .. TCP/IP?

Tom Poliquin poliquin at softcomp.com
Thu Feb 15 06:54:01 UTC 2001


We are about 90% thru a port of Squeak 2.2 to a Hyperstone
RISC/DSP .. a cool (and cheap) processor ..
  
  http://www.hyperstone-ag.com/welcome.htm

We've got two Xilinx CPLDs doing the LCD controller,
keyboard, mouse and Smart (a misnomer) Media .. the
whole thing plugs into one of their development boards.

Alas .. we now have turned our attention to networking ..
the Hyperstone 32k  RTOS (free) doesn't have a stack ..



Most of the licenses for TCP/IP stacks are expensive .. so
what about writing one in Squeak then using the CTranslator ?



I've got TCP/IP Vol I, and Vol II, TCP/IP Lean (by Jeremy Bentham,
who outlines getting a webserver running on a PIC .. using SLIP),
the "Back to the Future" article, stay awake pills, tranquilizers,
and champagne ..

The real question is does this all make sense .. (and will I go
crazy without objects) or should I just code in C.

Assuming it's about 15,000 lines of C code (a common estimate)
the TCP/IP part is about 2/3 of that .. The CTranslator doesn't
support objects so that's one big code pool .. I guess the main
advantage is that I can debug in Squeak (are there others?).
It might get us closer to an OSLess Squeak ..

The Physical and Network layers I could code directly in C then
do the Network and Transport layers in Squeak .. There would be
some spiral development (at least) as I could start with ICMP
work my way up thru Ping, then UDP .. then the big banana.

Please discourage me as my son wouldn't see his dad again until 
he graduates from medical school (he's 11 now) if I do this.

Couldn't find much in discussions ..

Any info appreciated ..

Tom





More information about the Squeak-dev mailing list