[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [f-cpu] RC5, F-CPU and srotl



hi !

Michael Riepe wrote:
> On Mon, Apr 15, 2002 at 11:36:13PM +0200, Andreas Romeyke wrote:
> [...]
> > > - a FORTH interpreter
> >
> > That is a very well idea. forth is easy to learn, forth-programs are easy
> > to debug and a forth-interpreter is easy to write. And forth is a good
> > point to start experiments with development on F-CPU...
> 
> It's also a good starting point for writing a BIOS and a bootloader
> (see Sun SPARC).

If you can get a 16Mbit EEPROM you can certainly fit a tiny boot manager
(that will select your boot devices and load the necessary drive) and a 
working linux kernel (or a minimal Hurd).

> > But, could we really map a stack-based language to a register-machine like
> > F-CPU is?
> The question is: can we do it *efficiently*? ;)

if you can write a recompiler, sure. However, the more registers, the more
efforts your recompiler will have to do : it will have to track data dependencies
with a much much wider window (if you consider our 64 registers).
If you don't write self-modifying Forth code, it should work, then ;-)

>  Michael "Tired" Riepe <Michael.Riepe@stud.uni-hannover.de>
WHYGEE
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*************************************************************
To unsubscribe, send an e-mail to majordomo@seul.org with
unsubscribe f-cpu       in the body. http://f-cpu.seul.org/