Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

We can predict everything, except the future.


devel / comp.lang.forth / Re: Jeff Fox's "Anti Ansi Forth"

SubjectAuthor
* Re: Jeff Fox's "Anti Ansi Forth"Kip Ingram
+* Re: Jeff Fox's "Anti Ansi Forth"Jurgen Pitaske
|`* Re: Jeff Fox's "Anti Ansi Forth"Myron Plichota
| `* Re: Jeff Fox's "Anti Ansi Forth"Anton Ertl
|  +* Re: Jeff Fox's "Anti Ansi Forth"Myron Plichota
|  |`* Re: Jeff Fox's "Anti Ansi Forth"Anton Ertl
|  | `* Re: Jeff Fox's "Anti Ansi Forth"Myron Plichota
|  |  +* Re: Jeff Fox's "Anti Ansi Forth"Myron Plichota
|  |  |`* Re: Jeff Fox's "Anti Ansi Forth"Myron Plichota
|  |  | `- Re: Jeff Fox's "Anti Ansi Forth"Anton Ertl
|  |  `- Re: Jeff Fox's "Anti Ansi Forth"dxforth
|  `* Re: Jeff Fox's "Anti Ansi Forth"Paul Rubin
|   +* Re: Jeff Fox's "Anti Ansi Forth"David Schultz
|   |`* Re: Jeff Fox's "Anti Ansi Forth"Paul Rubin
|   | `- Re: Jeff Fox's "Anti Ansi Forth"David Schultz
|   +* FRAM (was: Jeff Fox's "Anti Ansi Forth")Anton Ertl
|   |+* Re: FRAM (was: Jeff Fox's "Anti Ansi Forth")none
|   ||`- Re: FRAM (was: Jeff Fox's "Anti Ansi Forth")Anton Ertl
|   |`* Re: FRAMPaul Rubin
|   | `- Re: FRAMPaul Rubin
|   `* Re: Jeff Fox's "Anti Ansi Forth"dxforth
|    `* Re: Jeff Fox's "Anti Ansi Forth"Paul Rubin
|     `- Re: Jeff Fox's "Anti Ansi Forth"dxforth
+- Re: Jeff Fox's "Anti Ansi Forth"Wayne morellini
+* Re: Jeff Fox's "Anti Ansi Forth"Wayne morellini
|`* Re: Jeff Fox's "Anti Ansi Forth"dxforth
| `- Re: Jeff Fox's "Anti Ansi Forth"Wayne morellini
+* Re: Jeff Fox's "Anti Ansi Forth"Wayne morellini
|`* Re: Jeff Fox's "Anti Ansi Forth"Paul Rubin
| +* Re: Jeff Fox's "Anti Ansi Forth"Wayne morellini
| |`- Re: Jeff Fox's "Anti Ansi Forth"Hans Bezemer
| +* Re: Jeff Fox's "Anti Ansi Forth"none
| |`* Re: Jeff Fox's "Anti Ansi Forth"S Jack
| | `* Re: Jeff Fox's "Anti Ansi Forth"Wayne morellini
| |  `* Re: Jeff Fox's "Anti Ansi Forth"S Jack
| |   `* Re: Jeff Fox's "Anti Ansi Forth"Wayne morellini
| |    `* Re: Jeff Fox's "Anti Ansi Forth"S Jack
| |     `* Re: Jeff Fox's "Anti Ansi Forth"Wayne morellini
| |      `* Re: Jeff Fox's "Anti Ansi Forth"S Jack
| |       `* Re: Jeff Fox's "Anti Ansi Forth"Wayne morellini
| |        `- Re: Jeff Fox's "Anti Ansi Forth"Wayne morellini
| `* Re: Jeff Fox's "Anti Ansi Forth"Howerd Oakford
|  `- Re: Jeff Fox's "Anti Ansi Forth"Paul Rubin
`* Re: Jeff Fox's "Anti Ansi Forth"Jan Coombs
 `* Re: Jeff Fox's "Anti Ansi Forth"Wayne morellini
  +* Re: Jeff Fox's "Anti Ansi Forth"Myron Plichota
  |`* Re: Jeff Fox's "Anti Ansi Forth"Wayne morellini
  | `* Re: Jeff Fox's "Anti Ansi Forth"Myron Plichota
  |  `* Re: Jeff Fox's "Anti Ansi Forth"Wayne morellini
  |   +- Re: Jeff Fox's "Anti Ansi Forth"Jurgen Pitaske
  |   `* Re: Jeff Fox's "Anti Ansi Forth"Myron Plichota
  |    `* Re: Jeff Fox's "Anti Ansi Forth"Wayne morellini
  |     `* Re: Jeff Fox's "Anti Ansi Forth"Kerr-Mudd, John
  |      `* Re: Jeff Fox's "Anti Ansi Forth"Wayne morellini
  |       +* Re: Jeff Fox's "Anti Ansi Forth"Hans Bezemer
  |       |+* covid rants (OT) was: Jeff Fox's "Anti Ansi Forth"none
  |       ||+- Re: covid rants (OT) was: Jeff Fox's "Anti Ansi Forth"Hans Bezemer
  |       ||`* Re: covid rants (OT) was: Jeff Fox's "Anti Ansi Forth"dxforth
  |       || `* Re: covid rants (OT) was: Jeff Fox's "Anti Ansi Forth"Wayne morellini
  |       ||  `* Re: covid rants (OT) was: Jeff Fox's "Anti Ansi Forth"dxforth
  |       ||   `* Re: covid rants (OT) was: Jeff Fox's "Anti Ansi Forth"Brian Fox
  |       ||    `- Re: covid rants (OT) was: Jeff Fox's "Anti Ansi Forth"dxforth
  |       |`* Re: Jeff Fox's "Anti Ansi Forth"Wayne morellini
  |       | `- Re: Jeff Fox's "Anti Ansi Forth"Hans Bezemer
  |       `- Re: Jeff Fox's "Anti Ansi Forth"Wayne morellini
  `* F21 Series Forth Processors was: Re: Jeff Fox's "Anti AnsiJan Coombs
   +- Re: F21 Series Forth Processors was: Re: Jeff Fox's "Anti Ansi Forth"Myron Plichota
   +- Re: F21 Series Forth Processors was: Re: Jeff Fox's "Anti Ansi Forth"Wayne morellini
   `- Re: F21 Series Forth Processors was: Re: Jeff Fox's "Anti Ansi Forth"Wayne morellini

Pages:123
Re: Jeff Fox's "Anti Ansi Forth"

<820325b1-23b0-4a48-a31a-ab5d4b2ae8f3n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=17458&group=comp.lang.forth#17458

  copy link   Newsgroups: comp.lang.forth
X-Received: by 2002:a37:68c9:0:b0:67b:21e6:297c with SMTP id d192-20020a3768c9000000b0067b21e6297cmr12783328qkc.464.1649036741646;
Sun, 03 Apr 2022 18:45:41 -0700 (PDT)
X-Received: by 2002:ac8:5a88:0:b0:2e1:bbda:3b21 with SMTP id
c8-20020ac85a88000000b002e1bbda3b21mr15706413qtc.307.1649036741449; Sun, 03
Apr 2022 18:45:41 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.forth
Date: Sun, 3 Apr 2022 18:45:41 -0700 (PDT)
In-Reply-To: <bUqD2.4556$FZ5.969@news.rdc1.sfba.home.com>#1/1>
Injection-Info: google-groups.googlegroups.com; posting-host=2600:1700:16f0:f520:8343:5d0d:c80f:ed4f;
posting-account=r8UStgoAAAACbe69ChDYpwoUPvc4GUp6
NNTP-Posting-Host: 2600:1700:16f0:f520:8343:5d0d:c80f:ed4f
References: <7bje9c$k7$1@nnrp1.dejanews.com> <bUqD2.4556$FZ5.969@news.rdc1.sfba.home.com>#1/1>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <820325b1-23b0-4a48-a31a-ab5d4b2ae8f3n@googlegroups.com>
Subject: Re: Jeff Fox's "Anti Ansi Forth"
From: kip.ing...@gmail.com (Kip Ingram)
Injection-Date: Mon, 04 Apr 2022 01:45:41 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 35
 by: Kip Ingram - Mon, 4 Apr 2022 01:45 UTC

On Thursday, March 4, 1999 at 2:00:00 AM UTC-6, Alex Bilyk wrote:
> Great article. Good points.
> I have got a book on Forth dated by 1988: 153 pages. Everything is in
> there: language, internals future ideas and examples. Simple and easy to
> understand. And now I have been looking at the ANS documents -- what a
> disappointment.
> Although, I find ANS as an excellent scripting language specification. It is
> rather resembling a language I got to know back in 1988 -- it was called
> FORTH.
> AB
> he...@albany.net wrote in message <7bje9c$k7$1...@nnrp1.dejanews.com>...
> >Jeff's article contrasts ANS Forth with what Jeff
> >and Chuck call Machine Forth, "27 easy to learn
> >and understand Forth opcodes that take 2ns. We
> >took people who never learned ANSI Forth and taught
> >them Machine Forth in an hour and had them programming
> >an embedded wireless ethernet controller in it the
> >next day."
> >
> >Most of us could spare an hour. Is there a teacher
> >in the house?
> >
> >Anti Ansi Forth:
> >
> ><http://www.UltraTechnology.com/antiansi.htm>
> >
> >Leo Wong
> >he...@albany.net
> >http://www.albany.net/~hello/
> >
> >-----------== Posted via Deja News, The Discussion Network ==----------
> >http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
Is that Mcabe's book, Forth Fundamentals v1? I have that book, and love it. It's been the basis of all of my Forth work, along with Jeff's numerous writings.

Kip Ingram
kip.ingram@gmail.com

Re: Jeff Fox's "Anti Ansi Forth"

<21e6e855-1efd-4205-93a5-6b2a535e5333n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=17460&group=comp.lang.forth#17460

  copy link   Newsgroups: comp.lang.forth
X-Received: by 2002:a05:622a:18a:b0:2e1:cea3:88e9 with SMTP id s10-20020a05622a018a00b002e1cea388e9mr16141316qtw.391.1649054148448;
Sun, 03 Apr 2022 23:35:48 -0700 (PDT)
X-Received: by 2002:a05:620a:31a0:b0:67d:7500:1752 with SMTP id
bi32-20020a05620a31a000b0067d75001752mr13036350qkb.485.1649054148258; Sun, 03
Apr 2022 23:35:48 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.forth
Date: Sun, 3 Apr 2022 23:35:48 -0700 (PDT)
In-Reply-To: <820325b1-23b0-4a48-a31a-ab5d4b2ae8f3n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2.103.50.80; posting-account=eAOrwQkAAABheFES5y-02sBOFdTlBRio
NNTP-Posting-Host: 2.103.50.80
References: <7bje9c$k7$1@nnrp1.dejanews.com> <bUqD2.4556$FZ5.969@news.rdc1.sfba.home.com>
<820325b1-23b0-4a48-a31a-ab5d4b2ae8f3n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <21e6e855-1efd-4205-93a5-6b2a535e5333n@googlegroups.com>
Subject: Re: Jeff Fox's "Anti Ansi Forth"
From: jpita...@gmail.com (Jurgen Pitaske)
Injection-Date: Mon, 04 Apr 2022 06:35:48 +0000
Content-Type: text/plain; charset="UTF-8"
 by: Jurgen Pitaske - Mon, 4 Apr 2022 06:35 UTC

On Monday, 4 April 2022 at 02:45:42 UTC+1, Kip Ingram wrote:
> On Thursday, March 4, 1999 at 2:00:00 AM UTC-6, Alex Bilyk wrote:
> > Great article. Good points.
> > I have got a book on Forth dated by 1988: 153 pages. Everything is in
> > there: language, internals future ideas and examples. Simple and easy to
> > understand. And now I have been looking at the ANS documents -- what a
> > disappointment.
> > Although, I find ANS as an excellent scripting language specification. It is
> > rather resembling a language I got to know back in 1988 -- it was called
> > FORTH.
> > AB
> > he...@albany.net wrote in message <7bje9c$k7$1...@nnrp1.dejanews.com>...
> > >Jeff's article contrasts ANS Forth with what Jeff
> > >and Chuck call Machine Forth, "27 easy to learn
> > >and understand Forth opcodes that take 2ns. We
> > >took people who never learned ANSI Forth and taught
> > >them Machine Forth in an hour and had them programming
> > >an embedded wireless ethernet controller in it the
> > >next day."
> > >
> > >Most of us could spare an hour. Is there a teacher
> > >in the house?
> > >
> > >Anti Ansi Forth:
> > >
> > ><http://www.UltraTechnology.com/antiansi.htm>
> > >
> > >Leo Wong
> > >he...@albany.net
> > >http://www.albany.net/~hello/
> > >
> > >-----------== Posted via Deja News, The Discussion Network ==----------
> > >http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
> Is that Mcabe's book, Forth Fundamentals v1? I have that book, and love it. It's been the basis of all of my Forth work, along with Jeff's numerous writings.
>
> Kip Ingram
> kip.i...@gmail.com

Unfortunately the link to Leo Wong has changed, see http://www.murphywong.net/hello/simple.htm
When I found it years ago,
we started communicating and he agreed that I can use to as a basis - and out came the

Forth Lite Tutorial

- then with lots of example code that I used to get into Forth.
It helped me a lot at the time to understand Forth better, and the book seems to be quite popular for beginners
You can see Leo with the Forth Mug I had sent him at the time on the cover
http://www.murphywong.net/hello/simple.htm

It was a very nice addition to my Forth Bookshelf
https://www.amazon.co.uk/Juergen-Pintaske/e/B00N8HVEZM

eForth as Arduino Sketch seems to be quite popular to try out Forth.
Just get an Arduino nano or Uno
load the sketch
and start programming.
More info is here
https://wiki.forth-ev.de/doku.php/projects:430eforth:start

Re: Jeff Fox's "Anti Ansi Forth"

<4d8f6910-59c3-4c5d-a76a-ed80531ae4een@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=17617&group=comp.lang.forth#17617

  copy link   Newsgroups: comp.lang.forth
X-Received: by 2002:a05:6214:3e3:b0:444:3f84:d230 with SMTP id cf3-20020a05621403e300b004443f84d230mr2769507qvb.4.1649751895792;
Tue, 12 Apr 2022 01:24:55 -0700 (PDT)
X-Received: by 2002:aca:3587:0:b0:2ec:a23c:e197 with SMTP id
c129-20020aca3587000000b002eca23ce197mr1245003oia.47.1649751895640; Tue, 12
Apr 2022 01:24:55 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.forth
Date: Tue, 12 Apr 2022 01:24:55 -0700 (PDT)
In-Reply-To: <21e6e855-1efd-4205-93a5-6b2a535e5333n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=199.48.66.218; posting-account=zkoivgoAAABqROvHfKJPu3S9NWXITnSr
NNTP-Posting-Host: 199.48.66.218
References: <7bje9c$k7$1@nnrp1.dejanews.com> <bUqD2.4556$FZ5.969@news.rdc1.sfba.home.com>
<820325b1-23b0-4a48-a31a-ab5d4b2ae8f3n@googlegroups.com> <21e6e855-1efd-4205-93a5-6b2a535e5333n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <4d8f6910-59c3-4c5d-a76a-ed80531ae4een@googlegroups.com>
Subject: Re: Jeff Fox's "Anti Ansi Forth"
From: myronpli...@gmail.com (Myron Plichota)
Injection-Date: Tue, 12 Apr 2022 08:24:55 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: Myron Plichota - Tue, 12 Apr 2022 08:24 UTC

> eForth as Arduino Sketch seems to be quite popular to try out Forth.
> Just get an Arduino nano or Uno
> load the sketch
> and start programming.
> More info is here
> https://wiki.forth-ev.de/doku.php/projects:430eforth:start

I'm glad to see any simple to use Forth boards come to life. There is no better way than Forth to introduce a novice to the fundamentals of computer programming and hardware interface IMHO. Arranging a meeting between said novices and boards is the difficulty because reasons...

I'm a fan of native Forth instruction sets vs VMs and inner interpreters (oops, not to forget inline native code generators). I'm amused to read serious debate concerning whether DUP >R beats >R R@ or not.

Since the turn of the millenia, low-cost FPGA development kits have been available for anyone to design their own notion of a (e.g. Forth) CPU, RAM, and IO SoC. I'm an embedded guy, so ANS compliance has never been an objective in my projects. If I were obsessed with ANS compliance, I would never have completed any of these projects, and learned nothing.

To my mind, ANS implementations are valuable for desktop boxes that must deal with the *nix notion that all IO is through files (except for IOCTLs...and...er...um). So a keystroke plops a fresh char (whatever that is) into the stdin stream. Long ago, when I looked into how gforth implemented key? a dependency on the venerable ncurses library was discovered. "Huh", I thought.

Having said that, a board that boots *nix in order to run gforth on platformX is a great idea especially if floating-point is required. Perhaps in the future widespread adoptance of ferromagnetic RAM will solve the flash write endurance problem for non-volatile memory.

- Myron

Re: Jeff Fox's "Anti Ansi Forth"

<2022Apr12.112211@mips.complang.tuwien.ac.at>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=17619&group=comp.lang.forth#17619

  copy link   Newsgroups: comp.lang.forth
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: ant...@mips.complang.tuwien.ac.at (Anton Ertl)
Newsgroups: comp.lang.forth
Subject: Re: Jeff Fox's "Anti Ansi Forth"
Date: Tue, 12 Apr 2022 09:22:11 GMT
Organization: Institut fuer Computersprachen, Technische Universitaet Wien
Lines: 81
Message-ID: <2022Apr12.112211@mips.complang.tuwien.ac.at>
References: <7bje9c$k7$1@nnrp1.dejanews.com> <bUqD2.4556$FZ5.969@news.rdc1.sfba.home.com> <820325b1-23b0-4a48-a31a-ab5d4b2ae8f3n@googlegroups.com> <21e6e855-1efd-4205-93a5-6b2a535e5333n@googlegroups.com> <4d8f6910-59c3-4c5d-a76a-ed80531ae4een@googlegroups.com>
Injection-Info: reader02.eternal-september.org; posting-host="441397f7d199c44b694ed5c2421d39c7";
logging-data="32059"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/AaAGUqDtlxpNSlyRIwZMN"
Cancel-Lock: sha1:vsScp2ZT5DxuQcfXMLWp09Atdgk=
X-newsreader: xrn 10.00-beta-3
 by: Anton Ertl - Tue, 12 Apr 2022 09:22 UTC

Myron Plichota <myronplichota@gmail.com> writes:
>I'm a fan of native Forth instruction sets vs VMs and inner interpreters (o=
>ops, not to forget inline native code generators). I'm amused to read serio=
>us debate concerning whether DUP >R beats >R R@ or not.

That's just as relevant for native code as for threaded code. In
either case, optimization can eliminate the difference (and for
SwiftForth and VFX, it does by default). However, when I say, in VFX
4.72:

unoptimised
defer foo
: bar1 dup >r foo r> ;
: bar2 >r r@ foo r> ;
see bar1 see bar2

I get:

BAR1
( 080C0AA0 8D6DFC ) LEA EBP, [EBP+-04]
( 080C0AA3 895D00 ) MOV [EBP], EBX
( 080C0AA6 53 ) PUSH EBX
( 080C0AA7 8B5D00 ) MOV EBX, [EBP]
( 080C0AAA 8D6D04 ) LEA EBP, [EBP+04]
( 080C0AAD FF15800A0C08 ) CALL [080C0A80] FOO
( 080C0AB3 5A ) POP EDX
( 080C0AB4 8D6DFC ) LEA EBP, [EBP+-04]
( 080C0AB7 895D00 ) MOV [EBP], EBX
( 080C0ABA 8BDA ) MOV EBX, EDX
( 080C0ABC C3 ) NEXT,
( 29 bytes, 11 instructions )

BAR2
( 080C0AE0 53 ) PUSH EBX
( 080C0AE1 8B5D00 ) MOV EBX, [EBP]
( 080C0AE4 8D6D04 ) LEA EBP, [EBP+04]
( 080C0AE7 8B1424 ) MOV EDX, [ESP]
( 080C0AEA 8D6DFC ) LEA EBP, [EBP+-04]
( 080C0AED 895D00 ) MOV [EBP], EBX
( 080C0AF0 8BDA ) MOV EBX, EDX
( 080C0AF2 FF15800A0C08 ) CALL [080C0A80] FOO
( 080C0AF8 5A ) POP EDX
( 080C0AF9 8D6DFC ) LEA EBP, [EBP+-04]
( 080C0AFC 895D00 ) MOV [EBP], EBX
( 080C0AFF 8BDA ) MOV EBX, EDX
( 080C0B01 C3 ) NEXT,
( 34 bytes, 13 instructions )

So DUP >R beats >R R@ on an unoptimized native-code system.

>To my mind, ANS implementations are valuable for desktop boxes that must de=
>al with the *nix notion that all IO is through files (except for IOCTLs...a=
>nd...er...um). So a keystroke plops a fresh char (whatever that is) into th=
>e stdin stream. Long ago, when I looked into how gforth implemented key? a =
>dependency on the venerable ncurses library was discovered. "Huh", I though=
>t.

I have not found "curses" in the C parts of Gforth 0.3.0, 0.4.0,
0.5.0, 0.6.2, 0.7.3, or the current development version.

But sure, you certainly find a lot of legacy interfaces there, having
to do with the fact that Unix started on machines with terminals
attached though serial interfaces, and these days we have layers upon
layers of software that still work with these interfaces, even though
serial terminals are long gone.

> Perhaps in the=
> future widespread adoptance of ferromagnetic RAM will solve the flash writ=
>e endurance problem for non-volatile memory.

Persistent memory (whatever implementation technology) has been
promised to be around the corner for close to a decade, but has not
been widely competetive with the current combo of DRAM and flash yet,
so I would not hold my breath.

- anton
--
M. Anton Ertl http://www.complang.tuwien.ac.at/anton/home.html
comp.lang.forth FAQs: http://www.complang.tuwien.ac.at/forth/faq/toc.html
New standard: http://www.forth200x.org/forth200x.html
EuroForth 2021: https://euro.theforth.net/2021

Re: Jeff Fox's "Anti Ansi Forth"

<0c97084a-ef41-4b20-8994-f5e0c4bb0493n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=17624&group=comp.lang.forth#17624

  copy link   Newsgroups: comp.lang.forth
X-Received: by 2002:a05:620a:2946:b0:67b:3047:6d9d with SMTP id n6-20020a05620a294600b0067b30476d9dmr2679900qkp.691.1649764973610;
Tue, 12 Apr 2022 05:02:53 -0700 (PDT)
X-Received: by 2002:a54:4096:0:b0:2ec:eaaf:a045 with SMTP id
i22-20020a544096000000b002eceaafa045mr1574464oii.158.1649764973305; Tue, 12
Apr 2022 05:02:53 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.forth
Date: Tue, 12 Apr 2022 05:02:53 -0700 (PDT)
In-Reply-To: <2022Apr12.112211@mips.complang.tuwien.ac.at>
Injection-Info: google-groups.googlegroups.com; posting-host=199.48.66.218; posting-account=zkoivgoAAABqROvHfKJPu3S9NWXITnSr
NNTP-Posting-Host: 199.48.66.218
References: <7bje9c$k7$1@nnrp1.dejanews.com> <bUqD2.4556$FZ5.969@news.rdc1.sfba.home.com>
<820325b1-23b0-4a48-a31a-ab5d4b2ae8f3n@googlegroups.com> <21e6e855-1efd-4205-93a5-6b2a535e5333n@googlegroups.com>
<4d8f6910-59c3-4c5d-a76a-ed80531ae4een@googlegroups.com> <2022Apr12.112211@mips.complang.tuwien.ac.at>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <0c97084a-ef41-4b20-8994-f5e0c4bb0493n@googlegroups.com>
Subject: Re: Jeff Fox's "Anti Ansi Forth"
From: myronpli...@gmail.com (Myron Plichota)
Injection-Date: Tue, 12 Apr 2022 12:02:53 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 32
 by: Myron Plichota - Tue, 12 Apr 2022 12:02 UTC

Dear Anton,

Far be it from me to belittle the efforts of the ANS/gforth maintainers. I have used 32 and 64 bit versions of gforth with gratitude in desktop environments. As you read on, you may perceive why the desktop and embedded environments are so different.

[snip]
> So DUP >R beats >R R@ on an unoptimized native-code system.

A valid comparison for x86 inline code implementations. A non-issue for a competently-designed stack machine that is free of industry standards.

[snip]
> I have not found "curses" in the C parts of Gforth 0.3.0, 0.4.0,
> 0.5.0, 0.6.2, 0.7.3, or the current development version.

I cited ncurses, but perhaps the situation has changed in the years gone by. Please inform us on the current solution of key? in C-land.

> But sure, you certainly find a lot of legacy interfaces there, having
> to do with the fact that Unix started on machines with terminals
> attached though serial interfaces, and these days we have layers upon
> layers of software that still work with these interfaces, even though
> serial terminals are long gone.

But USB/UART interfaces are alive and well for embedded developers no matter which language they craft their work in.

> Persistent memory (whatever implementation technology) has been
> promised to be around the corner for close to a decade, but has not
> been widely competetive with the current combo of DRAM and flash yet,
> so I would not hold my breath.

And I'm not. My current realization doesn't require any future technology.

Jimbo is not James Bond.

- Myron

Re: Jeff Fox's "Anti Ansi Forth"

<2022Apr12.175851@mips.complang.tuwien.ac.at>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=17628&group=comp.lang.forth#17628

  copy link   Newsgroups: comp.lang.forth
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: ant...@mips.complang.tuwien.ac.at (Anton Ertl)
Newsgroups: comp.lang.forth
Subject: Re: Jeff Fox's "Anti Ansi Forth"
Date: Tue, 12 Apr 2022 15:58:51 GMT
Organization: Institut fuer Computersprachen, Technische Universitaet Wien
Lines: 84
Message-ID: <2022Apr12.175851@mips.complang.tuwien.ac.at>
References: <7bje9c$k7$1@nnrp1.dejanews.com> <bUqD2.4556$FZ5.969@news.rdc1.sfba.home.com> <820325b1-23b0-4a48-a31a-ab5d4b2ae8f3n@googlegroups.com> <21e6e855-1efd-4205-93a5-6b2a535e5333n@googlegroups.com> <4d8f6910-59c3-4c5d-a76a-ed80531ae4een@googlegroups.com> <2022Apr12.112211@mips.complang.tuwien.ac.at> <0c97084a-ef41-4b20-8994-f5e0c4bb0493n@googlegroups.com>
Injection-Info: reader02.eternal-september.org; posting-host="441397f7d199c44b694ed5c2421d39c7";
logging-data="20871"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/uUYqwbeghwSf9JGw3Pf7i"
Cancel-Lock: sha1:gq7ujZqz0N4oWRmEHNz8ifBqD8s=
X-newsreader: xrn 10.00-beta-3
 by: Anton Ertl - Tue, 12 Apr 2022 15:58 UTC

Myron Plichota <myronplichota@gmail.com> writes:
[someone:]
>> So DUP >R beats >R R@ on an unoptimized native-code system.
>
>A valid comparison for x86 inline code implementations.

Let's see for other architectures (on gforth-fast):

Aarch64:
dup >r >r r@ superinstr.
mov x21, x27 sub x22, x22, #0x8 sub x22, x22, #0x8
add x26, x26, #0x8 add x26, x26, #0x8 add x26, x26, #0x10
sub x22, x22, #0x8 str x27, [x22,#0x0] str x27, [x22,#0x0]
add x26, x26, #0x8 ldr x27, [x22,#0x0]
str x21, [x22,#0x0] add x26, x26, #0x8

RISC-V
dup >r >r r@
mv s1,s7 addi s2,s2,-8
addi s10,s10,8 addi s10,s10,8
addi s2,s2,-8 sd s7,$0(s2)
addi s10,s10,8 ld s7,$0(s2)
sd s1,$0(s2) addi s10,s10,8

The same number of instructions, but >R R@ has a store followed by a
load of the same value, while DUP >R has only a store; however, a
reason for that is that gforth-fast has stack caching for the data
stack, but not for the return stack.

> A non-issue for a competently-designed stack machine that is free of industry standards.

Let's take a look at b16 and b16-small <https://bernd-paysan.de/b16.html>:

On b16 you can use DUP and >R in every slot, but R@ only in slot 1
(instruction $12 is R@ in slot 1, but R@+ in other slots).

On b16-small there is DUP and >R, but no R@.

Do you think they are not competently designed?

If you have enough encoding space (i.e., many bits per instruction),
it's just as easy to implement a single DUP-R> instruction as R@, and
that is faster on such an architecture than either DUP >R or >R R@.

>[snip]
>> I have not found "curses" in the C parts of Gforth 0.3.0, 0.4.0,
>> 0.5.0, 0.6.2, 0.7.3, or the current development version.
>
>I cited ncurses,

If a file contains "ncurses", and I search for "curses", I will find
that file.

>but perhaps the situation has changed in the years gone by.

As you should see from the long list of versions starting from 0.3.0
in 1996.

>Please inform us on the current solution of key? in C-land.

I don't think there is one. That's why we have OS-specific solutions
in Gforth.

>> But sure, you certainly find a lot of legacy interfaces there, having
>> to do with the fact that Unix started on machines with terminals
>> attached though serial interfaces, and these days we have layers upon
>> layers of software that still work with these interfaces, even though
>> serial terminals are long gone.
>
>But USB/UART interfaces are alive and well for embedded developers no matter which language they craft their work in.

Yes, so we also have layers of hardware.

And these layers work once you get the code right (which is not easy;
e.g., lxf and vfx have problems when pasting code into them). Jeff
Fox would have lamented all these layers, but it seems that the basic
implementation in Gforth has not changed much since 1994.

- anton
--
M. Anton Ertl http://www.complang.tuwien.ac.at/anton/home.html
comp.lang.forth FAQs: http://www.complang.tuwien.ac.at/forth/faq/toc.html
New standard: http://www.forth200x.org/forth200x.html
EuroForth 2021: https://euro.theforth.net/2021

Re: Jeff Fox's "Anti Ansi Forth"

<875yndakg1.fsf@nightsong.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=17629&group=comp.lang.forth#17629

  copy link   Newsgroups: comp.lang.forth
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: no.em...@nospam.invalid (Paul Rubin)
Newsgroups: comp.lang.forth
Subject: Re: Jeff Fox's "Anti Ansi Forth"
Date: Tue, 12 Apr 2022 17:36:14 -0700
Organization: A noiseless patient Spider
Lines: 23
Message-ID: <875yndakg1.fsf@nightsong.com>
References: <7bje9c$k7$1@nnrp1.dejanews.com>
<bUqD2.4556$FZ5.969@news.rdc1.sfba.home.com>
<820325b1-23b0-4a48-a31a-ab5d4b2ae8f3n@googlegroups.com>
<21e6e855-1efd-4205-93a5-6b2a535e5333n@googlegroups.com>
<4d8f6910-59c3-4c5d-a76a-ed80531ae4een@googlegroups.com>
<2022Apr12.112211@mips.complang.tuwien.ac.at>
Mime-Version: 1.0
Content-Type: text/plain
Injection-Info: reader02.eternal-september.org; posting-host="47a565743e47b5e6dc1073072c73b08d";
logging-data="12219"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+lVLfPMBYmCI5hkXtrYh4C"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Cancel-Lock: sha1:m9B7gA9HtD3WQyW8FAn4puysyDU=
sha1:KqnSYh34pReO0svNz5PGb8tp4X8=
 by: Paul Rubin - Wed, 13 Apr 2022 00:36 UTC

anton@mips.complang.tuwien.ac.at (Anton Ertl) writes:
>> Perhaps in the future widespread adoptance of ferromagnetic RAM will
>> solve the flash write endurance problem for non-volatile memory.
>
> Persistent memory ... has not been widely competetive with the current
> combo of DRAM and flash yet

FRAM seems almost perfect for embedded Forth on a small scale. It's not
cost effective at the gigabyte scale but a 64KB FRAM chip costs a few
dollars. The MSP430FR5969 which has 64K of FRAM built in (plus 2K of
SRAM) seemed like a great choice as a Forth processor, with its 16 bit
cells, FRAM, and stack-friendly addressing cells. It used to be
available on a low cost Launchpad board but I think they have
discontinued that, as 16 bit cpus have gone out of style.

There are some SPI FRAM breakout boards on Adafruit that could be used
with ARM processors or whatever. I think that for development though,
conventional flash write wear isn't that big an issue. You can use You
can use <BUILDS DOES> instead of CREATE DOES> or various other tricks to
avoid rewriting flash, and wearing out flash just from debugging doesn't
seem that likely. Finally, many of today's MCU's have enough ram that
compiling direct to flash isn't important. You can compile to ram, and
freeze to flash once you want to save a working version.

Re: Jeff Fox's "Anti Ansi Forth"

<EuWdnbdf4Z5xg8v_nZ2dnUU7-aednZ2d@earthlink.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=17630&group=comp.lang.forth#17630

  copy link   Newsgroups: comp.lang.forth
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!buffer2.nntp.dca1.giganews.com!nntp.earthlink.com!news.earthlink.com.POSTED!not-for-mail
NNTP-Posting-Date: Tue, 12 Apr 2022 19:53:00 -0500
Date: Tue, 12 Apr 2022 19:53:00 -0500
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
Thunderbird/91.7.0
Subject: Re: Jeff Fox's "Anti Ansi Forth"
Content-Language: en-US
Newsgroups: comp.lang.forth
References: <7bje9c$k7$1@nnrp1.dejanews.com>
<bUqD2.4556$FZ5.969@news.rdc1.sfba.home.com>
<820325b1-23b0-4a48-a31a-ab5d4b2ae8f3n@googlegroups.com>
<21e6e855-1efd-4205-93a5-6b2a535e5333n@googlegroups.com>
<4d8f6910-59c3-4c5d-a76a-ed80531ae4een@googlegroups.com>
<2022Apr12.112211@mips.complang.tuwien.ac.at> <875yndakg1.fsf@nightsong.com>
From: david.sc...@earthlink.net (David Schultz)
In-Reply-To: <875yndakg1.fsf@nightsong.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Message-ID: <EuWdnbdf4Z5xg8v_nZ2dnUU7-aednZ2d@earthlink.com>
Lines: 11
X-Usenet-Provider: http://www.giganews.com
NNTP-Posting-Host: 108.194.109.212
X-Trace: sv3-1chwqv/P1yGw0A38DukfyKSnKkJGxR8DAod7c3/RfmsPUsdpPex3EosvUJBojqHBnOxRqyubhuX8IbO!3UH/KFp/uCSHQA3Uv9nvcbDtjesbe2WTGmKyH0f4PTDX9ZJwxk1/yoM+QmmsJsypBfmcBtiXayo/!f+/NgaIBZQjoYSYtJqc/mH8KqI4NwJY/5g==
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
X-Original-Bytes: 1740
 by: David Schultz - Wed, 13 Apr 2022 00:53 UTC

On 4/12/22 7:36 PM, Paul Rubin wrote:

> FRAM seems almost perfect for embedded Forth on a small scale.
http://davesrocketworks.com/electronics/msp430/eforth/index.html

https://www.ti.com/tool/MSP-EXP430FR5969

--
http://davesrocketworks.com
David Schultz

FRAM (was: Jeff Fox's "Anti Ansi Forth")

<2022Apr13.083811@mips.complang.tuwien.ac.at>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=17632&group=comp.lang.forth#17632

  copy link   Newsgroups: comp.lang.forth
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: ant...@mips.complang.tuwien.ac.at (Anton Ertl)
Newsgroups: comp.lang.forth
Subject: FRAM (was: Jeff Fox's "Anti Ansi Forth")
Date: Wed, 13 Apr 2022 06:38:11 GMT
Organization: Institut fuer Computersprachen, Technische Universitaet Wien
Lines: 40
Message-ID: <2022Apr13.083811@mips.complang.tuwien.ac.at>
References: <7bje9c$k7$1@nnrp1.dejanews.com> <bUqD2.4556$FZ5.969@news.rdc1.sfba.home.com> <820325b1-23b0-4a48-a31a-ab5d4b2ae8f3n@googlegroups.com> <21e6e855-1efd-4205-93a5-6b2a535e5333n@googlegroups.com> <4d8f6910-59c3-4c5d-a76a-ed80531ae4een@googlegroups.com> <2022Apr12.112211@mips.complang.tuwien.ac.at> <875yndakg1.fsf@nightsong.com>
Injection-Info: reader02.eternal-september.org; posting-host="d1a03c372822f1c5c2f9c9140eca9d0a";
logging-data="16366"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/J8NxWZdwD3hwuxNuB7677"
Cancel-Lock: sha1:dSXvwDyOBcCwrVuTR+V63s1uTGk=
X-newsreader: xrn 10.00-beta-3
 by: Anton Ertl - Wed, 13 Apr 2022 06:38 UTC

Paul Rubin <no.email@nospam.invalid> writes:
>FRAM seems almost perfect for embedded Forth on a small scale. It's not
>cost effective at the gigabyte scale but a 64KB FRAM chip costs a few
>dollars. The MSP430FR5969 which has 64K of FRAM built in (plus 2K of
>SRAM) seemed like a great choice as a Forth processor, with its 16 bit
>cells, FRAM, and stack-friendly addressing cells. It used to be
>available on a low cost Launchpad board but I think they have
>discontinued that, as 16 bit cpus have gone out of style.

It still seems to be available:
<https://www.mouser.de/ProductDetail/Texas-Instruments/MSP-EXP430FR5969?qs=FBI%252BX3tnPf0g8H7ws5NtfA%3D%3D>

23 immediately available (but you can only buy up to 3), and more from
the manufacturer. It's not cheap, though.

Anyway, most of the MSP430 chips did not use FRAM, and AFAIK none of
the MSP432 chips do, nor any of the competition AFAIK, so this does
not look like FRAM has a future even in the specific niche that the
MSP430FR5969 is occupying. That niche seems to be embedded systems
with fluctuating power supply.

So the chip would get a little power for an unpredictable amount of
time, do some computations, store them in FRAM, and when the power
goes away, it would just stop. On the next wakeup it would get the
last checkpoint from the FRAM and compute some more.

I don't know if that niche is too small, or if that mode of operation
would require major changes to the ARM cores that the MSP432 chips are
based on, if the ARM cores cannot be produced on the process that TI
uses for chips that contain FRAM, or if it's something else, but the
bottom line is that we are not seeing new FRAM designs, so FRAM can
certainly not be seen as an example of a coming wave of persistent
memory technologies.

- anton
--
M. Anton Ertl http://www.complang.tuwien.ac.at/anton/home.html
comp.lang.forth FAQs: http://www.complang.tuwien.ac.at/forth/faq/toc.html
New standard: http://www.forth200x.org/forth200x.html
EuroForth 2021: https://euro.theforth.net/2021

Re: FRAM (was: Jeff Fox's "Anti Ansi Forth")

<nnd$0fbfe1e7$2424d008@39eccf3dc71b88e6>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=17633&group=comp.lang.forth#17633

  copy link   Newsgroups: comp.lang.forth
Newsgroups: comp.lang.forth
Subject: Re: FRAM (was: Jeff Fox's "Anti Ansi Forth")
References: <7bje9c$k7$1@nnrp1.dejanews.com> <2022Apr12.112211@mips.complang.tuwien.ac.at> <875yndakg1.fsf@nightsong.com> <2022Apr13.083811@mips.complang.tuwien.ac.at>
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
From: alb...@cherry (none)
Originator: albert@cherry.(none) (albert)
Message-ID: <nnd$0fbfe1e7$2424d008@39eccf3dc71b88e6>
Organization: KPN B.V.
Date: Wed, 13 Apr 2022 10:26:23 +0200
Path: i2pn2.org!i2pn.org!aioe.org!news.uzoreto.com!news-out.netnews.com!news.alt.net!fdc2.netnews.com!peer02.ams1!peer.ams1.xlned.com!news.xlned.com!peer02.ams4!peer.am4.highwinds-media.com!news.highwinds-media.com!abe006.abavia.com!abp001.abavia.com!news.kpn.nl!not-for-mail
Lines: 49
Injection-Date: Wed, 13 Apr 2022 10:26:23 +0200
Injection-Info: news.kpn.nl; mail-complaints-to="abuse@kpn.com"
X-Received-Bytes: 3097
 by: none - Wed, 13 Apr 2022 08:26 UTC

In article <2022Apr13.083811@mips.complang.tuwien.ac.at>,
Anton Ertl <anton@mips.complang.tuwien.ac.at> wrote:
>Paul Rubin <no.email@nospam.invalid> writes:
>>FRAM seems almost perfect for embedded Forth on a small scale. It's not
>>cost effective at the gigabyte scale but a 64KB FRAM chip costs a few
>>dollars. The MSP430FR5969 which has 64K of FRAM built in (plus 2K of
>>SRAM) seemed like a great choice as a Forth processor, with its 16 bit
>>cells, FRAM, and stack-friendly addressing cells. It used to be
>>available on a low cost Launchpad board but I think they have
>>discontinued that, as 16 bit cpus have gone out of style.
>
>It still seems to be available:
><https://www.mouser.de/ProductDetail/Texas-Instruments/MSP-EXP430FR5969?qs=FBI%252BX3tnPf0g8H7ws5NtfA%3D%3D>
>
>23 immediately available (but you can only buy up to 3), and more from
>the manufacturer. It's not cheap, though.
>
>Anyway, most of the MSP430 chips did not use FRAM, and AFAIK none of
>the MSP432 chips do, nor any of the competition AFAIK, so this does
>not look like FRAM has a future even in the specific niche that the
>MSP430FR5969 is occupying. That niche seems to be embedded systems
>with fluctuating power supply.
>
>So the chip would get a little power for an unpredictable amount of
>time, do some computations, store them in FRAM, and when the power
>goes away, it would just stop. On the next wakeup it would get the
>last checkpoint from the FRAM and compute some more.
>
>I don't know if that niche is too small, or if that mode of operation
>would require major changes to the ARM cores that the MSP432 chips are
>based on, if the ARM cores cannot be produced on the process that TI
>uses for chips that contain FRAM, or if it's something else, but the
>bottom line is that we are not seeing new FRAM designs, so FRAM can
>certainly not be seen as an example of a coming wave of persistent
>memory technologies.

FRAM also doesn't fit in the hierarchy of L1 cache, L2 cache,
L3 cache, main memory, swap space on disk.

>
>- anton

--
"in our communism country Viet Nam, people are forced to be
alive and in the western country like US, people are free to
die from Covid 19 lol" duc ha
albert@spe&ar&c.xs4all.nl &=n http://home.hccnet.nl/a.w.m.van.der.horst

Re: Jeff Fox's "Anti Ansi Forth"

<t366g1$10bp$1@gioia.aioe.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=17634&group=comp.lang.forth#17634

  copy link   Newsgroups: comp.lang.forth
Path: i2pn2.org!i2pn.org!aioe.org!7AktqsUqy5CCvnKa3S0Dkw.user.46.165.242.75.POSTED!not-for-mail
From: dxfo...@gmail.com (dxforth)
Newsgroups: comp.lang.forth
Subject: Re: Jeff Fox's "Anti Ansi Forth"
Date: Wed, 13 Apr 2022 19:52:01 +1000
Organization: Aioe.org NNTP Server
Message-ID: <t366g1$10bp$1@gioia.aioe.org>
References: <7bje9c$k7$1@nnrp1.dejanews.com>
<bUqD2.4556$FZ5.969@news.rdc1.sfba.home.com>
<820325b1-23b0-4a48-a31a-ab5d4b2ae8f3n@googlegroups.com>
<21e6e855-1efd-4205-93a5-6b2a535e5333n@googlegroups.com>
<4d8f6910-59c3-4c5d-a76a-ed80531ae4een@googlegroups.com>
<2022Apr12.112211@mips.complang.tuwien.ac.at> <875yndakg1.fsf@nightsong.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Injection-Info: gioia.aioe.org; logging-data="33145"; posting-host="7AktqsUqy5CCvnKa3S0Dkw.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.7.0
Content-Language: en-GB
X-Notice: Filtered by postfilter v. 0.9.2
 by: dxforth - Wed, 13 Apr 2022 09:52 UTC

On 13/04/2022 10:36, Paul Rubin wrote:
>
> FRAM seems almost perfect for embedded Forth on a small scale. It's not
> cost effective at the gigabyte scale but a 64KB FRAM chip costs a few
> dollars. The MSP430FR5969 which has 64K of FRAM built in (plus 2K of
> SRAM) seemed like a great choice as a Forth processor, with its 16 bit
> cells, FRAM, and stack-friendly addressing cells.

If the MSP430 is anything like Atmel's 8-bit in the way the latter eat
program memory then 64K starts to look underwhelming.

Re: FRAM (was: Jeff Fox's "Anti Ansi Forth")

<2022Apr13.124014@mips.complang.tuwien.ac.at>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=17635&group=comp.lang.forth#17635

  copy link   Newsgroups: comp.lang.forth
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: ant...@mips.complang.tuwien.ac.at (Anton Ertl)
Newsgroups: comp.lang.forth
Subject: Re: FRAM (was: Jeff Fox's "Anti Ansi Forth")
Date: Wed, 13 Apr 2022 10:40:14 GMT
Organization: Institut fuer Computersprachen, Technische Universitaet Wien
Lines: 19
Message-ID: <2022Apr13.124014@mips.complang.tuwien.ac.at>
References: <7bje9c$k7$1@nnrp1.dejanews.com> <2022Apr12.112211@mips.complang.tuwien.ac.at> <875yndakg1.fsf@nightsong.com> <2022Apr13.083811@mips.complang.tuwien.ac.at> <nnd$0fbfe1e7$2424d008@39eccf3dc71b88e6>
Injection-Info: reader02.eternal-september.org; posting-host="d1a03c372822f1c5c2f9c9140eca9d0a";
logging-data="18236"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/POpRYN01/mCq92d9/rx6g"
Cancel-Lock: sha1:JikQnWXgPjSMpBv+pLLvBT3OIxY=
X-newsreader: xrn 10.00-beta-3
 by: Anton Ertl - Wed, 13 Apr 2022 10:40 UTC

albert@cherry.(none) (albert) writes:
>FRAM also doesn't fit in the hierarchy of L1 cache, L2 cache,
>L3 cache, main memory, swap space on disk.

All persistent memory technologies promise to combine the advantages
of DRAM (main memory) and SSDs. However, a lot of the attractiveness
of this combination is based on the misconception that we then can
avoid the software complications of dealing with files, persistent
data bases, etc.

Caches would continue to be used where applicable (possibly with more
write-through guarantees), and "swap space on disk" is an anachronism.

- anton
--
M. Anton Ertl http://www.complang.tuwien.ac.at/anton/home.html
comp.lang.forth FAQs: http://www.complang.tuwien.ac.at/forth/faq/toc.html
New standard: http://www.forth200x.org/forth200x.html
EuroForth 2021: https://euro.theforth.net/2021

Re: Jeff Fox's "Anti Ansi Forth"

<19569540-bfcf-4176-894e-5a77c2a8b342n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=17637&group=comp.lang.forth#17637

  copy link   Newsgroups: comp.lang.forth
X-Received: by 2002:a05:620a:28ca:b0:67f:3f2b:c1e0 with SMTP id l10-20020a05620a28ca00b0067f3f2bc1e0mr7218975qkp.111.1649863519050;
Wed, 13 Apr 2022 08:25:19 -0700 (PDT)
X-Received: by 2002:a05:620a:4055:b0:67d:61ca:e9f2 with SMTP id
i21-20020a05620a405500b0067d61cae9f2mr6970448qko.510.1649863518842; Wed, 13
Apr 2022 08:25:18 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.forth
Date: Wed, 13 Apr 2022 08:25:18 -0700 (PDT)
In-Reply-To: <2022Apr12.175851@mips.complang.tuwien.ac.at>
Injection-Info: google-groups.googlegroups.com; posting-host=199.48.66.218; posting-account=zkoivgoAAABqROvHfKJPu3S9NWXITnSr
NNTP-Posting-Host: 199.48.66.218
References: <7bje9c$k7$1@nnrp1.dejanews.com> <bUqD2.4556$FZ5.969@news.rdc1.sfba.home.com>
<820325b1-23b0-4a48-a31a-ab5d4b2ae8f3n@googlegroups.com> <21e6e855-1efd-4205-93a5-6b2a535e5333n@googlegroups.com>
<4d8f6910-59c3-4c5d-a76a-ed80531ae4een@googlegroups.com> <2022Apr12.112211@mips.complang.tuwien.ac.at>
<0c97084a-ef41-4b20-8994-f5e0c4bb0493n@googlegroups.com> <2022Apr12.175851@mips.complang.tuwien.ac.at>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <19569540-bfcf-4176-894e-5a77c2a8b342n@googlegroups.com>
Subject: Re: Jeff Fox's "Anti Ansi Forth"
From: myronpli...@gmail.com (Myron Plichota)
Injection-Date: Wed, 13 Apr 2022 15:25:19 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 52
 by: Myron Plichota - Wed, 13 Apr 2022 15:25 UTC

> >A valid comparison for x86 inline code implementations.
> Let's see for other architectures (on gforth-fast):
>
> Aarch64:
> dup >r >r r@ superinstr.
> mov x21, x27 sub x22, x22, #0x8 sub x22, x22, #0x8
> add x26, x26, #0x8 add x26, x26, #0x8 add x26, x26, #0x10
> sub x22, x22, #0x8 str x27, [x22,#0x0] str x27, [x22,#0x0]
> add x26, x26, #0x8 ldr x27, [x22,#0x0]
> str x21, [x22,#0x0] add x26, x26, #0x8
>
> RISC-V
> dup >r >r r@
> mv s1,s7 addi s2,s2,-8
> addi s10,s10,8 addi s10,s10,8
> addi s2,s2,-8 sd s7,$0(s2)
> addi s10,s10,8 ld s7,$0(s2)
> sd s1,$0(s2) addi s10,s10,8
>
> The same number of instructions, but >R R@ has a store followed by a
> load of the same value, while DUP >R has only a store; however, a
> reason for that is that gforth-fast has stack caching for the data
> stack, but not for the return stack.

Due to the implementation, not an inherent characteristic of Forth.

> > A non-issue for a competently-designed stack machine that is free of industry standards.
> Let's take a look at b16 and b16-small <https://bernd-paysan.de/b16.html>:
>
> On b16 you can use DUP and >R in every slot, but R@ only in slot 1
> (instruction $12 is R@ in slot 1, but R@+ in other slots).
>
> On b16-small there is DUP and >R, but no R@.
>
> Do you think they are not competently designed?

I apologize for a poor choice of words. I wasn't looking for a fight, and I did not mean to disparage any other stack machine designs or designers. It just so happens that my design encodes both >R R@ and DUP >R as a pair of 4-bit instructions, and both sequences execute in a total of 2 clock cycles no matter which slots they occur in.

> >but perhaps the situation has changed in the years gone by.
> As you should see from the long list of versions starting from 0.3.0
> in 1996.

I stand corrected. I can't explain how I came to believe the ncurses fallacy. Perhaps years ago, I read something somewhere and accepted it because it made sense to me.

- Myron

Re: Jeff Fox's "Anti Ansi Forth"

<f0bc4fe5-6123-4e5f-8c25-6d617463ffebn@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=17640&group=comp.lang.forth#17640

  copy link   Newsgroups: comp.lang.forth
X-Received: by 2002:ae9:e20e:0:b0:69c:1159:ad9c with SMTP id c14-20020ae9e20e000000b0069c1159ad9cmr7540244qkc.293.1649873922065;
Wed, 13 Apr 2022 11:18:42 -0700 (PDT)
X-Received: by 2002:a05:620a:31a0:b0:69c:52f4:4af0 with SMTP id
bi32-20020a05620a31a000b0069c52f44af0mr3715273qkb.485.1649873921871; Wed, 13
Apr 2022 11:18:41 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.forth
Date: Wed, 13 Apr 2022 11:18:41 -0700 (PDT)
In-Reply-To: <19569540-bfcf-4176-894e-5a77c2a8b342n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=199.48.66.218; posting-account=zkoivgoAAABqROvHfKJPu3S9NWXITnSr
NNTP-Posting-Host: 199.48.66.218
References: <7bje9c$k7$1@nnrp1.dejanews.com> <bUqD2.4556$FZ5.969@news.rdc1.sfba.home.com>
<820325b1-23b0-4a48-a31a-ab5d4b2ae8f3n@googlegroups.com> <21e6e855-1efd-4205-93a5-6b2a535e5333n@googlegroups.com>
<4d8f6910-59c3-4c5d-a76a-ed80531ae4een@googlegroups.com> <2022Apr12.112211@mips.complang.tuwien.ac.at>
<0c97084a-ef41-4b20-8994-f5e0c4bb0493n@googlegroups.com> <2022Apr12.175851@mips.complang.tuwien.ac.at>
<19569540-bfcf-4176-894e-5a77c2a8b342n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <f0bc4fe5-6123-4e5f-8c25-6d617463ffebn@googlegroups.com>
Subject: Re: Jeff Fox's "Anti Ansi Forth"
From: myronpli...@gmail.com (Myron Plichota)
Injection-Date: Wed, 13 Apr 2022 18:18:42 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 8
 by: Myron Plichota - Wed, 13 Apr 2022 18:18 UTC

I carelessly stated "Long ago, when I looked into how gforth implemented key? a dependency on the venerable ncurses library was discovered.".

The truth of the matter is that I never studied gforth source with due diligence. Perhaps a search engine result landed me in a forum, and the blind led the blind.

I have nothing but respect for the ANS and gforth developers. You are doing what I can't.

I can only claim a clear understanding of my own embedded designs.

- Myron

Re: FRAM

<871qy0ahro.fsf@nightsong.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=17641&group=comp.lang.forth#17641

  copy link   Newsgroups: comp.lang.forth
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: no.em...@nospam.invalid (Paul Rubin)
Newsgroups: comp.lang.forth
Subject: Re: FRAM
Date: Wed, 13 Apr 2022 12:46:19 -0700
Organization: A noiseless patient Spider
Lines: 25
Message-ID: <871qy0ahro.fsf@nightsong.com>
References: <7bje9c$k7$1@nnrp1.dejanews.com>
<bUqD2.4556$FZ5.969@news.rdc1.sfba.home.com>
<820325b1-23b0-4a48-a31a-ab5d4b2ae8f3n@googlegroups.com>
<21e6e855-1efd-4205-93a5-6b2a535e5333n@googlegroups.com>
<4d8f6910-59c3-4c5d-a76a-ed80531ae4een@googlegroups.com>
<2022Apr12.112211@mips.complang.tuwien.ac.at>
<875yndakg1.fsf@nightsong.com>
<2022Apr13.083811@mips.complang.tuwien.ac.at>
Mime-Version: 1.0
Content-Type: text/plain
Injection-Info: reader02.eternal-september.org; posting-host="47a565743e47b5e6dc1073072c73b08d";
logging-data="24583"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18ASmOnl/TG3TP5a95wyUl3"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Cancel-Lock: sha1:moNZbD6EpzZ69RqdK4qTDWRBQxU=
sha1:TutHApqREWXTOTdm5eEN/vwuXN4=
 by: Paul Rubin - Wed, 13 Apr 2022 19:46 UTC

anton@mips.complang.tuwien.ac.at (Anton Ertl) writes:
> It still seems to be available:
> <https://www.mouser.de/ProductDetail/Texas-Instruments/MSP-EXP430FR5969?qs=FBI%252BX3tnPf0g8H7ws5NtfA%3D%3D>
>
> 23 immediately available (but you can only buy up to 3), and more from
> the manufacturer. It's not cheap, though.

That is a pretty fancy board with 128K of FRAM, and it says 19.36 euro
which includes an alphanumeric LCD display iirc. IIRC There was a less
expensive board (10 or so euro?) with 64K of FRAM and without the LCD.
And of course you can buy the cpu chip by itself: I think that fancy one
is around 7 euro. Idk about the lower models.

Yes TI said something about the MSP430 FRAM parts using a special fab
process that wouldn't work with ARM cores. I think the MSP430 itself is
now something of a legacy architecture. It was nice in many ways, but
nobody wants 16 bit cpus any more. A pity. Maybe they can make a
RISC-V series using the FRAM-friendly fab process.

Here is an Adafruit SPI FRAM breakout board, on the expensive side at 10
USD for 64KB: https://www.adafruit.com/product/1895

They also have larger and smaller ones. I expect that the bare chips
are somewhat less expensive than those boards, since the boards are
retail products.

Re: Jeff Fox's "Anti Ansi Forth"

<87wnfs92ut.fsf@nightsong.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=17642&group=comp.lang.forth#17642

  copy link   Newsgroups: comp.lang.forth
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: no.em...@nospam.invalid (Paul Rubin)
Newsgroups: comp.lang.forth
Subject: Re: Jeff Fox's "Anti Ansi Forth"
Date: Wed, 13 Apr 2022 12:53:46 -0700
Organization: A noiseless patient Spider
Lines: 15
Message-ID: <87wnfs92ut.fsf@nightsong.com>
References: <7bje9c$k7$1@nnrp1.dejanews.com>
<bUqD2.4556$FZ5.969@news.rdc1.sfba.home.com>
<820325b1-23b0-4a48-a31a-ab5d4b2ae8f3n@googlegroups.com>
<21e6e855-1efd-4205-93a5-6b2a535e5333n@googlegroups.com>
<4d8f6910-59c3-4c5d-a76a-ed80531ae4een@googlegroups.com>
<2022Apr12.112211@mips.complang.tuwien.ac.at>
<875yndakg1.fsf@nightsong.com> <t366g1$10bp$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain
Injection-Info: reader02.eternal-september.org; posting-host="47a565743e47b5e6dc1073072c73b08d";
logging-data="24583"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/c/JvghTye9g8NHY/txjPw"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Cancel-Lock: sha1:loMxU1PEuKEjASIAc8JsECEcE5M=
sha1:Jd1MbqKOQzu0LM5IIm9AO8asvsQ=
 by: Paul Rubin - Wed, 13 Apr 2022 19:53 UTC

dxforth <dxforth@gmail.com> writes:
> If the MSP430 is anything like Atmel's 8-bit in the way the latter eat
> program memory then 64K starts to look underwhelming.

MSP430 code density is actually pretty good. It is a 16 bit cpu with
architecture reminiscent of the PDP-11, with autoincrement and
autodecrement addressing modes and all that, but with 16 registers
instead of 8. The addressing modes are quite handy for implementing
stacks, threaded code interpreters, buffer pointers, and the like. It
is very nice for Forth with 16 bit cells. It has lost popularity
though, as people have moved on to 32 bit cpus.

The 4e4th board used a small MSP430 as an attempt to make a popular, low
cost embedded Forth device. These days though, ARM and RISC-V devices
are probably more attractive.

Re: FRAM

<87sfqg92gk.fsf@nightsong.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=17643&group=comp.lang.forth#17643

  copy link   Newsgroups: comp.lang.forth
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: no.em...@nospam.invalid (Paul Rubin)
Newsgroups: comp.lang.forth
Subject: Re: FRAM
Date: Wed, 13 Apr 2022 13:02:19 -0700
Organization: A noiseless patient Spider
Lines: 12
Message-ID: <87sfqg92gk.fsf@nightsong.com>
References: <7bje9c$k7$1@nnrp1.dejanews.com>
<bUqD2.4556$FZ5.969@news.rdc1.sfba.home.com>
<820325b1-23b0-4a48-a31a-ab5d4b2ae8f3n@googlegroups.com>
<21e6e855-1efd-4205-93a5-6b2a535e5333n@googlegroups.com>
<4d8f6910-59c3-4c5d-a76a-ed80531ae4een@googlegroups.com>
<2022Apr12.112211@mips.complang.tuwien.ac.at>
<875yndakg1.fsf@nightsong.com>
<2022Apr13.083811@mips.complang.tuwien.ac.at>
<871qy0ahro.fsf@nightsong.com>
Mime-Version: 1.0
Content-Type: text/plain
Injection-Info: reader02.eternal-september.org; posting-host="47a565743e47b5e6dc1073072c73b08d";
logging-data="6685"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/KBYc/YPoN2A/cLWwOS9kt"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Cancel-Lock: sha1:0UhXcNibSZEe0hSRnq+AUnEt5Ck=
sha1:kSsC2Zkn3beqjQ/RS2uTFlm7ZPI=
 by: Paul Rubin - Wed, 13 Apr 2022 20:02 UTC

Paul Rubin <no.email@nospam.invalid> writes:
> Here is an Adafruit SPI FRAM breakout board, on the expensive side at 10
> USD for 64KB: https://www.adafruit.com/product/1895

Oops, that one is 32KB not 64KB. They also have 8KB (
https://www.adafruit.com/product/1897 , $6), 256KB (
https://www.adafruit.com/product/4718 , $13), and 512KB (
https://www.adafruit.com/product/4719 , $18).

I guess these are useful for some purposes, though today's cpus often
have some very low powered backup SRAM, that can retain data in the
lowest powered sleep modes, that consume a tiny amount of battery power.

Re: Jeff Fox's "Anti Ansi Forth"

<87o81491iv.fsf@nightsong.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=17644&group=comp.lang.forth#17644

  copy link   Newsgroups: comp.lang.forth
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: no.em...@nospam.invalid (Paul Rubin)
Newsgroups: comp.lang.forth
Subject: Re: Jeff Fox's "Anti Ansi Forth"
Date: Wed, 13 Apr 2022 13:22:32 -0700
Organization: A noiseless patient Spider
Lines: 9
Message-ID: <87o81491iv.fsf@nightsong.com>
References: <7bje9c$k7$1@nnrp1.dejanews.com>
<bUqD2.4556$FZ5.969@news.rdc1.sfba.home.com>
<820325b1-23b0-4a48-a31a-ab5d4b2ae8f3n@googlegroups.com>
<21e6e855-1efd-4205-93a5-6b2a535e5333n@googlegroups.com>
<4d8f6910-59c3-4c5d-a76a-ed80531ae4een@googlegroups.com>
<2022Apr12.112211@mips.complang.tuwien.ac.at>
<875yndakg1.fsf@nightsong.com>
<EuWdnbdf4Z5xg8v_nZ2dnUU7-aednZ2d@earthlink.com>
Mime-Version: 1.0
Content-Type: text/plain
Injection-Info: reader02.eternal-september.org; posting-host="47a565743e47b5e6dc1073072c73b08d";
logging-data="16098"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18g4+yHvRAzwX5AE/686XnA"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Cancel-Lock: sha1:HFgUFTisBrWyhQPJ4ZNy4W2GwCQ=
sha1:1VM31OEdbjjDHRHeYS/u5gxQqrc=
 by: Paul Rubin - Wed, 13 Apr 2022 20:22 UTC

David Schultz <david.schultz@earthlink.net> writes:
>> FRAM seems almost perfect for embedded Forth on a small scale.
> http://davesrocketworks.com/electronics/msp430/eforth/index.html

Hey, that is nice. Any update about the Teensy version? The Raspberry
Pi Pico would also be a nice host for this Forth. I've been wanting
more of a "luxury" Forth for such devices though, along the lines of
Gforth-EC instead of eForth. There is plenty of code space and flash on
those boards for a bigger Forth.

Re: Jeff Fox's "Anti Ansi Forth"

<qOmdnQ7e1O-Krsr_nZ2dnUU7-KfNnZ2d@earthlink.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=17645&group=comp.lang.forth#17645

  copy link   Newsgroups: comp.lang.forth
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!buffer2.nntp.dca1.giganews.com!buffer1.nntp.dca1.giganews.com!nntp.earthlink.com!news.earthlink.com.POSTED!not-for-mail
NNTP-Posting-Date: Wed, 13 Apr 2022 15:31:19 -0500
Date: Wed, 13 Apr 2022 15:31:16 -0500
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
Thunderbird/91.7.0
Subject: Re: Jeff Fox's "Anti Ansi Forth"
Content-Language: en-US
Newsgroups: comp.lang.forth
References: <7bje9c$k7$1@nnrp1.dejanews.com>
<bUqD2.4556$FZ5.969@news.rdc1.sfba.home.com>
<820325b1-23b0-4a48-a31a-ab5d4b2ae8f3n@googlegroups.com>
<21e6e855-1efd-4205-93a5-6b2a535e5333n@googlegroups.com>
<4d8f6910-59c3-4c5d-a76a-ed80531ae4een@googlegroups.com>
<2022Apr12.112211@mips.complang.tuwien.ac.at> <875yndakg1.fsf@nightsong.com>
<EuWdnbdf4Z5xg8v_nZ2dnUU7-aednZ2d@earthlink.com>
<87o81491iv.fsf@nightsong.com>
From: david.sc...@earthlink.net (David Schultz)
In-Reply-To: <87o81491iv.fsf@nightsong.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Message-ID: <qOmdnQ7e1O-Krsr_nZ2dnUU7-KfNnZ2d@earthlink.com>
Lines: 14
X-Usenet-Provider: http://www.giganews.com
NNTP-Posting-Host: 108.194.109.24
X-Trace: sv3-fmCXduyn2Yue+BVSAHE7c90fyPUELi89rktO4ua1UacGMXjD0z/yLKhmHZyYVi6BHywRmvyyO89CKoP!+q41HVzUroxPRDN2N04dcbKRYS3Qd1eaaRPEgnrXjbHDiuGF+sg70WEm7hYbQmHRyTzXKeSdKvHS!n+Ik5rClefga9C6qRzo9d1Ue+Gjqq+nN
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
X-Original-Bytes: 2027
 by: David Schultz - Wed, 13 Apr 2022 20:31 UTC

On 4/13/22 3:22 PM, Paul Rubin wrote:
> David Schultz <david.schultz@earthlink.net> writes:
>>> FRAM seems almost perfect for embedded Forth on a small scale.
>> http://davesrocketworks.com/electronics/msp430/eforth/index.html
>
> Hey, that is nice. Any update about the Teensy version? The Raspberry
> Pi Pico would also be a nice host for this Forth.

http://davesrocketworks.com/electronics/logger/eforth.html

--
http://davesrocketworks.com
David Schultz

Re: Jeff Fox's "Anti Ansi Forth"

<t37hmh$lkn$1@gioia.aioe.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=17647&group=comp.lang.forth#17647

  copy link   Newsgroups: comp.lang.forth
Path: i2pn2.org!i2pn.org!aioe.org!7AktqsUqy5CCvnKa3S0Dkw.user.46.165.242.75.POSTED!not-for-mail
From: dxfo...@gmail.com (dxforth)
Newsgroups: comp.lang.forth
Subject: Re: Jeff Fox's "Anti Ansi Forth"
Date: Thu, 14 Apr 2022 08:09:21 +1000
Organization: Aioe.org NNTP Server
Message-ID: <t37hmh$lkn$1@gioia.aioe.org>
References: <7bje9c$k7$1@nnrp1.dejanews.com>
<bUqD2.4556$FZ5.969@news.rdc1.sfba.home.com>
<820325b1-23b0-4a48-a31a-ab5d4b2ae8f3n@googlegroups.com>
<21e6e855-1efd-4205-93a5-6b2a535e5333n@googlegroups.com>
<4d8f6910-59c3-4c5d-a76a-ed80531ae4een@googlegroups.com>
<2022Apr12.112211@mips.complang.tuwien.ac.at> <875yndakg1.fsf@nightsong.com>
<t366g1$10bp$1@gioia.aioe.org> <87wnfs92ut.fsf@nightsong.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Injection-Info: gioia.aioe.org; logging-data="22167"; posting-host="7AktqsUqy5CCvnKa3S0Dkw.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.7.0
Content-Language: en-GB
X-Notice: Filtered by postfilter v. 0.9.2
 by: dxforth - Wed, 13 Apr 2022 22:09 UTC

On 14/04/2022 05:53, Paul Rubin wrote:
> dxforth <dxforth@gmail.com> writes:
>> If the MSP430 is anything like Atmel's 8-bit in the way the latter eat
>> program memory then 64K starts to look underwhelming.
>
> MSP430 code density is actually pretty good. It is a 16 bit cpu with
> architecture reminiscent of the PDP-11, with autoincrement and
> autodecrement addressing modes and all that, but with 16 registers
> instead of 8. The addressing modes are quite handy for implementing
> stacks, threaded code interpreters, buffer pointers, and the like. It
> is very nice for Forth with 16 bit cells. It has lost popularity
> though, as people have moved on to 32 bit cpus.

A pity it didn't get chosen for the Arduino. Currently modifying
FlashForth such that it look/feels a bit more like DX-Forth...

Re: Jeff Fox's "Anti Ansi Forth"

<t37qp6$1ekb$1@gioia.aioe.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=17649&group=comp.lang.forth#17649

  copy link   Newsgroups: comp.lang.forth
Path: i2pn2.org!i2pn.org!aioe.org!7AktqsUqy5CCvnKa3S0Dkw.user.46.165.242.75.POSTED!not-for-mail
From: dxfo...@gmail.com (dxforth)
Newsgroups: comp.lang.forth
Subject: Re: Jeff Fox's "Anti Ansi Forth"
Date: Thu, 14 Apr 2022 10:44:22 +1000
Organization: Aioe.org NNTP Server
Message-ID: <t37qp6$1ekb$1@gioia.aioe.org>
References: <7bje9c$k7$1@nnrp1.dejanews.com>
<bUqD2.4556$FZ5.969@news.rdc1.sfba.home.com>
<820325b1-23b0-4a48-a31a-ab5d4b2ae8f3n@googlegroups.com>
<21e6e855-1efd-4205-93a5-6b2a535e5333n@googlegroups.com>
<4d8f6910-59c3-4c5d-a76a-ed80531ae4een@googlegroups.com>
<2022Apr12.112211@mips.complang.tuwien.ac.at>
<0c97084a-ef41-4b20-8994-f5e0c4bb0493n@googlegroups.com>
<2022Apr12.175851@mips.complang.tuwien.ac.at>
<19569540-bfcf-4176-894e-5a77c2a8b342n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Injection-Info: gioia.aioe.org; logging-data="47755"; posting-host="7AktqsUqy5CCvnKa3S0Dkw.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.7.0
X-Notice: Filtered by postfilter v. 0.9.2
Content-Language: en-GB
 by: dxforth - Thu, 14 Apr 2022 00:44 UTC

On 14/04/2022 01:25, Myron Plichota wrote:
> ...
> It just so happens that my design encodes both >R R@ and DUP >R as a pair of 4-bit instructions, and both sequences execute in a total of 2 clock cycles no matter which slots they occur in.

While I expect an optimizer to handle DUP >R and >R R@ equivalently, folks tend
to write DUP >R because they're not changing TOS - just copying it. AFAIK Forth
has had an DUP>R but never an >RR@ .

Re: Jeff Fox's "Anti Ansi Forth"

<9b9ada3d-fef4-471b-830d-184f38b769edn@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=17650&group=comp.lang.forth#17650

  copy link   Newsgroups: comp.lang.forth
X-Received: by 2002:a05:620a:24c7:b0:69c:2753:bd09 with SMTP id m7-20020a05620a24c700b0069c2753bd09mr513290qkn.465.1649908676694;
Wed, 13 Apr 2022 20:57:56 -0700 (PDT)
X-Received: by 2002:a05:6214:e8a:b0:446:18a9:4a42 with SMTP id
hf10-20020a0562140e8a00b0044618a94a42mr1616982qvb.87.1649908676551; Wed, 13
Apr 2022 20:57:56 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.forth
Date: Wed, 13 Apr 2022 20:57:56 -0700 (PDT)
In-Reply-To: <f0bc4fe5-6123-4e5f-8c25-6d617463ffebn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=199.48.66.218; posting-account=zkoivgoAAABqROvHfKJPu3S9NWXITnSr
NNTP-Posting-Host: 199.48.66.218
References: <7bje9c$k7$1@nnrp1.dejanews.com> <bUqD2.4556$FZ5.969@news.rdc1.sfba.home.com>
<820325b1-23b0-4a48-a31a-ab5d4b2ae8f3n@googlegroups.com> <21e6e855-1efd-4205-93a5-6b2a535e5333n@googlegroups.com>
<4d8f6910-59c3-4c5d-a76a-ed80531ae4een@googlegroups.com> <2022Apr12.112211@mips.complang.tuwien.ac.at>
<0c97084a-ef41-4b20-8994-f5e0c4bb0493n@googlegroups.com> <2022Apr12.175851@mips.complang.tuwien.ac.at>
<19569540-bfcf-4176-894e-5a77c2a8b342n@googlegroups.com> <f0bc4fe5-6123-4e5f-8c25-6d617463ffebn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <9b9ada3d-fef4-471b-830d-184f38b769edn@googlegroups.com>
Subject: Re: Jeff Fox's "Anti Ansi Forth"
From: myronpli...@gmail.com (Myron Plichota)
Injection-Date: Thu, 14 Apr 2022 03:57:56 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 2
 by: Myron Plichota - Thu, 14 Apr 2022 03:57 UTC

I just confirmed that PFE uses ncurses. I used PFE years ago on an OpenBSD box. I'm sorry that I got it confused with gforth, but at least I now know why.

- Myron

Re: Jeff Fox's "Anti Ansi Forth"

<2022Apr14.090324@mips.complang.tuwien.ac.at>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=17651&group=comp.lang.forth#17651

  copy link   Newsgroups: comp.lang.forth
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: ant...@mips.complang.tuwien.ac.at (Anton Ertl)
Newsgroups: comp.lang.forth
Subject: Re: Jeff Fox's "Anti Ansi Forth"
Date: Thu, 14 Apr 2022 07:03:24 GMT
Organization: Institut fuer Computersprachen, Technische Universitaet Wien
Lines: 17
Message-ID: <2022Apr14.090324@mips.complang.tuwien.ac.at>
References: <7bje9c$k7$1@nnrp1.dejanews.com> <21e6e855-1efd-4205-93a5-6b2a535e5333n@googlegroups.com> <4d8f6910-59c3-4c5d-a76a-ed80531ae4een@googlegroups.com> <2022Apr12.112211@mips.complang.tuwien.ac.at> <0c97084a-ef41-4b20-8994-f5e0c4bb0493n@googlegroups.com> <2022Apr12.175851@mips.complang.tuwien.ac.at> <19569540-bfcf-4176-894e-5a77c2a8b342n@googlegroups.com> <f0bc4fe5-6123-4e5f-8c25-6d617463ffebn@googlegroups.com> <9b9ada3d-fef4-471b-830d-184f38b769edn@googlegroups.com>
Injection-Info: reader02.eternal-september.org; posting-host="c1960901881bc910f64be1da2bae3562";
logging-data="30495"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/ykbdyJMERdQJHYA88hojx"
Cancel-Lock: sha1:DaZdOjr5sb65Ola9S1eBGLNTMOQ=
X-newsreader: xrn 10.00-beta-3
 by: Anton Ertl - Thu, 14 Apr 2022 07:03 UTC

Myron Plichota <myronplichota@gmail.com> writes:
>I'm sorry that I got it confused with gforth, but at least I now know why.

No problem, I just wondered myself what we are using. curses or
ncurses seemed unlikely, though, because we are not even using termcap
or terminfo (which are used by (n)curses); I looked at termcap and
terminfo for implementing the K-... words, but eventually decided that
they are too complicated, and that these days VT100/ANSI has won, and
we would just implement that; in the end I implemented the sequences
that come out of xterm and out of the Linux console.

- anton
--
M. Anton Ertl http://www.complang.tuwien.ac.at/anton/home.html
comp.lang.forth FAQs: http://www.complang.tuwien.ac.at/forth/faq/toc.html
New standard: http://www.forth200x.org/forth200x.html
EuroForth 2021: https://euro.theforth.net/2021

Re: Jeff Fox's "Anti Ansi Forth"

<fc06a562-3b90-47e9-b7b3-7dc36dcdec89n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=17652&group=comp.lang.forth#17652

  copy link   Newsgroups: comp.lang.forth
X-Received: by 2002:a05:6214:1cc4:b0:435:b8a0:1fe9 with SMTP id g4-20020a0562141cc400b00435b8a01fe9mr2334849qvd.54.1649923735497;
Thu, 14 Apr 2022 01:08:55 -0700 (PDT)
X-Received: by 2002:ad4:5ca3:0:b0:440:f131:a7a4 with SMTP id
q3-20020ad45ca3000000b00440f131a7a4mr11800472qvh.16.1649923735325; Thu, 14
Apr 2022 01:08:55 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.forth
Date: Thu, 14 Apr 2022 01:08:55 -0700 (PDT)
In-Reply-To: <820325b1-23b0-4a48-a31a-ab5d4b2ae8f3n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=49.182.180.12; posting-account=WyLDIgoAAAAL9-lKxDxWp0Afty5A1XnH
NNTP-Posting-Host: 49.182.180.12
References: <7bje9c$k7$1@nnrp1.dejanews.com> <bUqD2.4556$FZ5.969@news.rdc1.sfba.home.com>
<820325b1-23b0-4a48-a31a-ab5d4b2ae8f3n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <fc06a562-3b90-47e9-b7b3-7dc36dcdec89n@googlegroups.com>
Subject: Re: Jeff Fox's "Anti Ansi Forth"
From: waynemor...@gmail.com (Wayne morellini)
Injection-Date: Thu, 14 Apr 2022 08:08:55 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 71
 by: Wayne morellini - Thu, 14 Apr 2022 08:08 UTC

On Monday, April 4, 2022 at 11:45:42 AM UTC+10, Kip Ingram wrote:
> On Thursday, March 4, 1999 at 2:00:00 AM UTC-6, Alex Bilyk wrote:
> > Great article. Good points.
> > I have got a book on Forth dated by 1988: 153 pages. Everything is in
> > there: language, internals future ideas and examples. Simple and easy to
> > understand. And now I have been looking at the ANS documents -- what a
> > disappointment.
> > Although, I find ANS as an excellent scripting language specification. It is
> > rather resembling a language I got to know back in 1988 -- it was called
> > FORTH.
> > AB
> > he...@albany.net wrote in message <7bje9c$k7$1...@nnrp1.dejanews.com>....
> > >Jeff's article contrasts ANS Forth with what Jeff
> > >and Chuck call Machine Forth, "27 easy to learn
> > >and understand Forth opcodes that take 2ns. We
> > >took people who never learned ANSI Forth and taught
> > >them Machine Forth in an hour and had them programming
> > >an embedded wireless ethernet controller in it the
> > >next day."
> > >
> > >Most of us could spare an hour. Is there a teacher
> > >in the house?
> > >
> > >Anti Ansi Forth:
> > >
> > ><http://www.UltraTechnology.com/antiansi.htm>
> > >
> > >Leo Wong

Looks like me and Jeff are playing from the same play book, except I'm coming from the usability end as well.

In my OS design, one of the big features, was figuring out how to do everything in the best way, and concentrate on that, demoting other ways, to maximise performance and efficiency, by curbing how programmers programmed, with a bit of compromise to maintain a functional level of usability (part of this was to farm off worse programmers to lower grade work where the performance hit from them would be less, than if they did the architecture and main apps. Which are multiple levels before you get to the App level. While most code might be internet scripting these days, every internet script runs on the infrastructure code, which if bad, will make everything worse, but if good all scripts will run as well as they are written, making the grade of programmer prominent, and a target to improve programming quality which administration can see). I'm glad I didn't take up the self funded job offer from Jeff. Being in that sort of environment would have driven me around the bend (either ITV, or the one before. Though but was me who suggested the internet appliance originally on the original mailing list, which was meant to take an advantage of a weakness at that time, to establish a low resource internet usage base to develop pages before. Instead of the bat. Crazy way the internet is now. But, the period only lasted 2-4 years before co.petotion and PC's etc, took over, where you then had to maintain comparability with them, which is difficult on a low resource device. ITV only just started mid way, or till the end, of this period, making delivery years late, so never was going work out on something less than the webpad like concept level). It's a shame there was too much foolishness in the bucket in the time of forth hardware, from the beginning when the money was taken. It has been one ... After anothey, with big gaps inbeywern. Harris bid one 9f the only companies who did us well. If the novix had been a f20 like chip, with the graphics and interfaces (but still 16 bit bids with bank switching), it could have been a great choice for CE devices, an extension of the 8 bit home computer and games console market, at an undercutting price
(which is what Jack Tramiel used to best all half ass on commers), even a basic computer capable of emulating CP/M and maybe even dos. Which would have given money to further expand it to a proper security level computer architecture by the time of the 386/486. People are very short sighted (insisting they see everything they don't clearly).

Re: Jeff Fox's "Anti Ansi Forth"

<b64b0674-c17c-4c76-8b99-c4e4fe506591n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=17653&group=comp.lang.forth#17653

  copy link   Newsgroups: comp.lang.forth
X-Received: by 2002:a05:6214:621:b0:432:5e0d:cb64 with SMTP id a1-20020a056214062100b004325e0dcb64mr2225246qvx.65.1649925208022;
Thu, 14 Apr 2022 01:33:28 -0700 (PDT)
X-Received: by 2002:aed:3148:0:b0:2ed:55a5:7a92 with SMTP id
66-20020aed3148000000b002ed55a57a92mr921883qtg.104.1649925207883; Thu, 14 Apr
2022 01:33:27 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.forth
Date: Thu, 14 Apr 2022 01:33:27 -0700 (PDT)
In-Reply-To: <820325b1-23b0-4a48-a31a-ab5d4b2ae8f3n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=49.182.180.12; posting-account=WyLDIgoAAAAL9-lKxDxWp0Afty5A1XnH
NNTP-Posting-Host: 49.182.180.12
References: <7bje9c$k7$1@nnrp1.dejanews.com> <bUqD2.4556$FZ5.969@news.rdc1.sfba.home.com>
<820325b1-23b0-4a48-a31a-ab5d4b2ae8f3n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <b64b0674-c17c-4c76-8b99-c4e4fe506591n@googlegroups.com>
Subject: Re: Jeff Fox's "Anti Ansi Forth"
From: waynemor...@gmail.com (Wayne morellini)
Injection-Date: Thu, 14 Apr 2022 08:33:28 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 5
 by: Wayne morellini - Thu, 14 Apr 2022 08:33 UTC

I had been suggesting before, that colorforth (machine forth) could be made a subset of ANSI, to keep it alive, along with a embedded version, and simple and complex additions (I forget exactly what then was, but basically extensions to handle extra stuff on the job I think). All subsets of ANSI, so ANSI lite color, embedded, as seperate word sets). It's in the ANN: colorforth cf2022 thread.

Pages:123
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor