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

From: Groepaz <groepaz1gmx.net>
Date: 2010-04-27 23:50:35
On Montag 26 April 2010, you wrote:

> I'm a little surprized that Lunix is not a supported target.  

the object fileformat is supported :) i also remember that someone was working 
on a runtime. *shrug*

> 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.

i very much doubt the later, and i agree with the first :) one of the core 
problems is that the lunix source is very dependend on the toolchain used to 
build it, and that toolchain is kinda buggy and not maintained either. i even 
started converting the lunix source to build with ca65 once, but i turned out 
to be way too much hazzle.

and then some (long) time later i decided to write my own kernel from scratch, 
almost completely in C ... which was a very interesting thing to do at least, 
and things worked out surprisingly well so far :) infact the only thing my 
"os" currently cant do that lunix can is networking, everything else works 
more or less.

> 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.

the problem is, that currently, with non-reentrant runtime, the library can 
cheat a lot at various places, and by that reduce codesize (and increase 
speed) quite a bit. i wouldnt want to miss that for code that doesnt require 
reentrant libs (which also is the common case). but indeed, i wouldnt mind 
reentrant libs as an option :)

-- 

http://www.hitmen-console.org    http://magicdisk.untergrund.net
http://www.pokefinder.org        http://ftp.pokefinder.org

Vor ein paar Jahren sagte jeder , man kann ja nur "das kleine Übel wählen". 
Heute wählt man nur noch die Farbe des Übels.

----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Tue Apr 27 23:51:39 2010

This archive was generated by hypermail 2.1.8 : 2010-04-27 23:51:41 CEST