[cc65] C64 web server

Date view Thread view Subject view

From: Ullrich von Bassewitz (uz_at_musoftware.de)
Date: 2001-10-17 11:30:14


Remember Adam Dunkels uIP TCP/IP stack? 

I've set up a web server on a C64 yesterday using the uIP stack and the http
server that comes with it. Have a look at

        http://c64.cc65.org/

This event has caused anxiety in the Atari world, because Atari users were
always shy to admit that the C64 is the far superior machine :-)

But since the stack is written in C and compiles with cc65, there is still
hope. All that is missing from the cc65 libraries to make uIP work are some
rs232 routines, preferrably routines that are compatible to the existing ones
for the C64 and CBM600/700 machines. Any takers out there?

And, while I'm talkink about it: There seems to be a problem with the existing
rs232 functions for the 6551. I've used the code from Craig Bruce which is
public domain, and this code seems to cause a hangup now and then. Maybe I've
introduced an error when porting the code, maybe the original code had an
error, or maybe the problem is with the hardware... If anyone has experience
with the 6551 ACIA and could have a look at the code, I would be really
grateful. The existing routines do not use interrupts to send characters,
which is not optimal, so if anyone has a better solution, it is welcome.

BTW: The words about the RS232 routines for the Atari are true for all other
machines as well. Any cc65 target that has support for RS232 can compile and
use the uIP stack and run a web server or other TCP/IP code. RS232 routines
are currently missing from the following target systems:

    CBM 500/600/700      Code is there but needs testing
    Apple ][             No code
    Plus/4               No code, may use the 6551 routines
    GEOS                 May use the 6551 routines with some changes,
    			 but needs testing
    PET                  No code
    Atari                No code
    C128                 May use the 6551 routines with some changes,
    			 but needs testing

Regards


        Uz


-- 
Ullrich von Bassewitz                                  uz_at_musoftware.de
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo_at_musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.


Date view Thread view Subject view

This archive was generated by hypermail 2.1.3 : 2001-12-14 22:05:43 CET