Re: [cc65] Announcement: New compiler release

Date view Thread view Subject view

From: Adam Dunkels (adam_at_sics.se)
Date: 2001-11-26 21:59:50


On Monday 26 November 2001 21:41, you wrote:
> AD> I would also like to add that the cc65 port in uIP 0.5 is simpler
> AD> to adapt to new platforms. The 0.4 version used a timer IRQ to
> AD> drive timer events such as retransmissions. This was changed with
> AD> 0.5 so that it uses the clock() function and busy waiting instead.
> AD> Thus is should be simple to port to the Atari and other cc65
> AD> target architectures.
>
> So how "game friendly" is uIP? Is it possible to run it like an IRQ
> loader; have the game run in IRQs and just have uIP sit in the back-
> ground and use whatever CPU cycles are left? Then it's just the issue
> of getting SLIP to work -- most people will want to run it with a
> Windows host.

There should be no problems with running the uIP in as an idle thread and 
doing the actual work using IRQs. The RS232 input is done using NMI and it is 
fed into a 256 byte ring buffer so the timing requirements are quite lax. 
Cool idea, by the way!

As far as I know, Windows has SLIP support. SLIP is pretty standard in most 
"server" systems, and I know of at least one successfull attempt at running 
SLIP together with Windows. I don't know if Windows support IP routing, 
though. Perhaps the newer versions do, but I am not sure (it *should* support 
it). 

/adam
-- 
Adam Dunkels <adam_at_sics.se>
http://www.sics.se/~adam
----------------------------------------------------------------------
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:44 CET