Re: [cc65] Zero page, C stack, and interrupts

From: Steve Davison <64subnet1gmail.com>
Date: 2010-04-26 00:43:32
On Sun, Apr 25, 2010 at 1:21 PM, Groepaz <groepaz@gmx.net> wrote:
> that said, i have a more-or-less functional preemptive kernel running,
> unfortunately it requires patching/replacing a dozen or so functions from the
> runtime (to make them reentrant), which is why i didnt release it yet (my last
> update of the compiler suite kinda broke it and introduced some weird bugs....
> probably some runtime stuff got changed, didnt look it yet). meaning: i would
> love to see an alternative fully reentrant runtime .... =P

That would be nice to see.  I've never run Contiki myself, but I've got to
check it out now.

I'm a little surprized that Lunix is not a supported target.  But
then, depending
on who you talk to, Lunix is either a buggy system with attrocious code,
which is why nobody maintains it, or it's a functional and viable unix-like
multitasking OS that many people use every day.

In a proper OS, the platform-specific libraries would be integrated as either
drivers or run-time resident system calls.  Because cc65 has no real OS
to target on a stock 64, it has to assume some of the responsibilities.
I don't think it would be too difficult to come up with libraries that were
re-entrant AND could be used efficiently by programs that don't care about
other tasks.  But then... I know not of which I speak.  probably.

// Steve
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Mon Apr 26 00:46:29 2010

This archive was generated by hypermail 2.1.8 : 2010-04-26 00:46:33 CEST