Re: A85: Re: Sequel to Quest for Dragon Eye
[Prev][Next][Index][Thread]
Re: A85: Re: Sequel to Quest for Dragon Eye
At 15:23 1998-05-10 EDT, you wrote:
>Someone ought to write a full-blown compiler that could be loaded onto
>the calc in pieces, and together the pieces would compose a huge program
>that resides on the expander. One central program would be run and it
>would call the other programs as needed because of the obvious memory
>constraints. Programs in progress could be saved on the expander and
>tested almost immediately. This really wouldn't be too hard if you know
>anything about TASM and the expander.
A full-blown asm compiler isn't that hard actually. It isn't very
useful unless you have an expander or another calc to backup
your program on though.
I've been thinking on if an assembler interpretor would work... before
instructions writing to memory, a check could be made to make sure
it writes into a "legal" area. An interrupt handler could take care
of infinite loops etc. Of course the program would be muuuch slower,
but not THAT much slower, especially if you could turn on/off the
checking in some parts of the program.
Such a compiler would be quite big though...
--
Real name: Jimmy Mårdell "can't go mucking with a 'void *'"
IRC......: Yarin // Apple's MPW C compiler
Email....: mailto:yarin@acc.umu.se
Homepage.: http://www.algonet.se/~mja/
References: