Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Re: Free Forth for LPC2xxx

2006-03-28 by rtstofer

--- In lpc2000@yahoogroups.com, "Stephen Pelc" <stephen@...> wrote:
>
> With the rising interest in Forth, we have decided to make a 
> demo system for Philips LPC2xxx CPUs. I had a couple of hours 
> spare today, so a first cut is now available. You need 64k 
> Flash, 16k RAM and a 10, 12, or 14.7 MHz crystal and a terminal 
> emulator at 115200 baud. The distribution includes multitasking, 
> floating point and a manual!
> 
> http://www.mpeforth.com/arena/lpcforth.zip
> 
> Please let me have some feedback, and when it's been tested on 
> more LPC flavours, I'll put it in the files section.
> 
> Stephen
> --
> Stephen Pelc, stephen@...
> MicroProcessor Engineering Ltd - More Real, Less Time
> 133 Hill Lane, Southampton SO15 5AF, England
> tel: +44 (0)23 8063 1441, fax: +44 (0)23 8033 9691
> web: http://www.mpeforth.com - free VFX Forth downloads
>

Is floating point actually included?  The example in section 13.7 of
the manual comes back as undefined:

1.234 FCONSTANT CON1 is undefined
1.234 FCONSTANT CON1
     ^

Direct evaluation of integers works:
1 2 + . 3  ok

No so with floating point:
1.1 2.2 + . is undefined
1.1 2.2 + .
   ^

But, then, I have been working with Forth for about 5 minutes...

Richard

   ^

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.