Smallest TCP/IP code?

Randy McLaughlin cctalk at randy482.com
Fri Feb 18 12:00:20 CST 2005


From: "Brad Parker" <brad at heeltoe.com>
Sent: Friday, February 18, 2005 11:15 AM
> "Randy McLaughlin" wrote:
>>
>>On comp.os.cpm there is a thread on porting TCP/IP to CP/M.  One idea was 
>>to
>>use a micro-controller as a smart device off-loading the stack to it and
>>communicating via serial or parallel port.
>
> hum.  I would think with 64k and BSD C you could get a simple tcp + slip
> going on CP/M.  It's been a long time since I did any CP/M work,
> however.
>
> I did a tcp/udp from scratch w/ethernet on a PIC 18F.  It would not pass
> muster with Van Jaconson (or Sally Floyd :-) but it works fine on a
> local wire.  Nothing like advertising a window size of 256 bytes :-)
>
> -brad

The issues include:

What are you doing with TCP/IP?

If you want a simple client you get to use the entire 64K (telnet, ftp, 
email).

If you want to use it via a redirector to attach to a file server then you 
have a problem:  The TCP/IP code takes up most of the 64K now you want to 
load a word-processor to access files on the server?


Another issue is how to physically attach it.


Randy 





More information about the cctalk mailing list