Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

BASIC is the Computer Science equivalent of `Scientific Creationism'.


devel / comp.lang.forth / Re: Forth for Arduino Mega

SubjectAuthor
* Forth for Arduino MegaLorem Ipsum
+* Re: Forth for Arduino Megadxforth
|`* Re: Forth for Arduino MegaLorem Ipsum
| `* Re: Forth for Arduino Megadxforth
|  `- Re: Forth for Arduino MegaLorem Ipsum
`* Re: Forth for Arduino MegaPaul Rubin
 `* Re: Forth for Arduino MegaLorem Ipsum
  `* Re: Forth for Arduino MegaPaul Rubin
   +* Re: Forth for Arduino MegaLorem Ipsum
   |`* Re: Forth for Arduino MegaPaul Rubin
   | `- Re: Forth for Arduino MegaLorem Ipsum
   `* Re: Forth for Arduino Megadxforth
    +* Re: Forth for Arduino Meganone
    |+- Re: Forth for Arduino MegaLorem Ipsum
    |`- Re: Forth for Arduino Megadxforth
    `* Re: Forth for Arduino MegaPaul Rubin
     +- Re: Forth for Arduino Megadxforth
     `- Re: Forth for Arduino MegaTravis Bemann

1
Forth for Arduino Mega

<fdc43e67-df1b-4c28-8ff6-152a3b23a726n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.lang.forth
X-Received: by 2002:a05:622a:88:b0:3bf:d520:1d59 with SMTP id o8-20020a05622a008800b003bfd5201d59mr4734428qtw.1.1679956601824;
Mon, 27 Mar 2023 15:36:41 -0700 (PDT)
X-Received: by 2002:a37:a8cf:0:b0:745:8c04:2777 with SMTP id
r198-20020a37a8cf000000b007458c042777mr2344959qke.13.1679956601536; Mon, 27
Mar 2023 15:36:41 -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: Mon, 27 Mar 2023 15:36:41 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=2604:b000:e210:de:a0c7:ef7b:29f1:b9d7;
posting-account=I-_H_woAAAA9zzro6crtEpUAyIvzd19b
NNTP-Posting-Host: 2604:b000:e210:de:a0c7:ef7b:29f1:b9d7
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <fdc43e67-df1b-4c28-8ff6-152a3b23a726n@googlegroups.com>
Subject: Forth for Arduino Mega
From: gnuarm.d...@gmail.com (Lorem Ipsum)
Injection-Date: Mon, 27 Mar 2023 22:36:41 +0000
Content-Type: text/plain; charset="UTF-8"
 by: Lorem Ipsum - Mon, 27 Mar 2023 22:36 UTC

Unfortunately it looks like there is no Mecrisp for Arduino or the AVR CPUs. I did find FlashForth.

If I am looking for minimal start up time, would FlashForth be recommended?

The others I've seen seem rather non-standard and even odd. I don't have time to figure out new stuff. I have a very simple project I need to get running.

--

Rick C.

- Get 1,000 miles of free Supercharging
- Tesla referral code - https://ts.la/richard11209

Re: Forth for Arduino Mega

<tvt9av$3dp5p$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.lang.forth
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail
From: dxfo...@gmail.com (dxforth)
Newsgroups: comp.lang.forth
Subject: Re: Forth for Arduino Mega
Date: Tue, 28 Mar 2023 10:37:03 +1100
Organization: A noiseless patient Spider
Lines: 14
Message-ID: <tvt9av$3dp5p$1@dont-email.me>
References: <fdc43e67-df1b-4c28-8ff6-152a3b23a726n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 27 Mar 2023 23:37:03 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="19b9a15a931ae7652fb2049745c14ec2";
logging-data="3597497"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/HnUU7BGCemPly2Poi0G3L"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.9.0
Cancel-Lock: sha1:Bn7oeREpMATYZR2BzBsR0DsrVPw=
In-Reply-To: <fdc43e67-df1b-4c28-8ff6-152a3b23a726n@googlegroups.com>
Content-Language: en-GB
 by: dxforth - Mon, 27 Mar 2023 23:37 UTC

On 28/03/2023 9:36 am, Lorem Ipsum wrote:
> Unfortunately it looks like there is no Mecrisp for Arduino or the AVR CPUs. I did find FlashForth.
>
> If I am looking for minimal start up time, would FlashForth be recommended?
>
> The others I've seen seem rather non-standard and even odd. I don't have time to figure out new stuff. I have a very simple project I need to get running.

FlashForth isn't bad. The Mega will give you approx 43K of free flash to play
with compared to 23K for the UNO. Should be easy to pick up as @ ! etc works
on flash, ram. Biggest culture shock I found was FOR NEXT as opposed to DO LOOP.
Also FlashForth won't let you re-use the same name, requiring one to erase before
re-loading (e.g. using a MARKER word). I've been working on a fork that's a bit
more normal in that respect.

Re: Forth for Arduino Mega

<bf71f650-9289-4bc4-b2b7-265d533170fdn@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.lang.forth
X-Received: by 2002:a37:b94:0:b0:745:6fda:f04e with SMTP id 142-20020a370b94000000b007456fdaf04emr2603302qkl.9.1679966498390;
Mon, 27 Mar 2023 18:21:38 -0700 (PDT)
X-Received: by 2002:a05:622a:24e:b0:3e3:13eb:e912 with SMTP id
c14-20020a05622a024e00b003e313ebe912mr4827917qtx.2.1679966498113; Mon, 27 Mar
2023 18:21:38 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.forth
Date: Mon, 27 Mar 2023 18:21:37 -0700 (PDT)
In-Reply-To: <tvt9av$3dp5p$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=2604:b000:e210:de:a0c7:ef7b:29f1:b9d7;
posting-account=I-_H_woAAAA9zzro6crtEpUAyIvzd19b
NNTP-Posting-Host: 2604:b000:e210:de:a0c7:ef7b:29f1:b9d7
References: <fdc43e67-df1b-4c28-8ff6-152a3b23a726n@googlegroups.com> <tvt9av$3dp5p$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <bf71f650-9289-4bc4-b2b7-265d533170fdn@googlegroups.com>
Subject: Re: Forth for Arduino Mega
From: gnuarm.d...@gmail.com (Lorem Ipsum)
Injection-Date: Tue, 28 Mar 2023 01:21:38 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 3143
 by: Lorem Ipsum - Tue, 28 Mar 2023 01:21 UTC

On Monday, March 27, 2023 at 7:37:07 PM UTC-4, dxforth wrote:
> On 28/03/2023 9:36 am, Lorem Ipsum wrote:
> > Unfortunately it looks like there is no Mecrisp for Arduino or the AVR CPUs. I did find FlashForth.
> >
> > If I am looking for minimal start up time, would FlashForth be recommended?
> >
> > The others I've seen seem rather non-standard and even odd. I don't have time to figure out new stuff. I have a very simple project I need to get running.
> FlashForth isn't bad. The Mega will give you approx 43K of free flash to play
> with compared to 23K for the UNO. Should be easy to pick up as @ ! etc works
> on flash, ram. Biggest culture shock I found was FOR NEXT as opposed to DO LOOP.
> Also FlashForth won't let you re-use the same name, requiring one to erase before
> re-loading (e.g. using a MARKER word). I've been working on a fork that's a bit
> more normal in that respect.

Oh, that sucks, the reuse thing. I was looking at parsing the input with the Forth interpreter. That would require using # as a new word. Any code using # inside <# #> could be early in the program, and # defined later. But that won't work I suppose. Doesn't really matter. It was just a thought.

I suppose I could get used to FOR NEXT, but I can't think why that would require no DO LOOP. Let the user decide which to use. I don't recall what the differences are. DO uses a start parameter and a limit. I don't recall what FOR NEXT does. Is the conditional at opposite ends of the loop in the two constructs?

I don't recall what MPE costs. But maybe I should bite the bullet. It's such a tiny job. I guess I could use whatever the Arduino is usually programmed in.

--

Rick C.

+ Get 1,000 miles of free Supercharging
+ Tesla referral code - https://ts.la/richard11209

Re: Forth for Arduino Mega

<tvtie0$3i6j9$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.lang.forth
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail
From: dxfo...@gmail.com (dxforth)
Newsgroups: comp.lang.forth
Subject: Re: Forth for Arduino Mega
Date: Tue, 28 Mar 2023 13:12:17 +1100
Organization: A noiseless patient Spider
Lines: 38
Message-ID: <tvtie0$3i6j9$1@dont-email.me>
References: <fdc43e67-df1b-4c28-8ff6-152a3b23a726n@googlegroups.com>
<tvt9av$3dp5p$1@dont-email.me>
<bf71f650-9289-4bc4-b2b7-265d533170fdn@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 28 Mar 2023 02:12:17 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="19b9a15a931ae7652fb2049745c14ec2";
logging-data="3742313"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+QHoLLvyp7vsbUYjT95p3C"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.9.0
Cancel-Lock: sha1:RT70BHb0GepkTAIU1LqfnK53KB0=
Content-Language: en-GB
In-Reply-To: <bf71f650-9289-4bc4-b2b7-265d533170fdn@googlegroups.com>
 by: dxforth - Tue, 28 Mar 2023 02:12 UTC

On 28/03/2023 12:21 pm, Lorem Ipsum wrote:
> On Monday, March 27, 2023 at 7:37:07 PM UTC-4, dxforth wrote:
>> On 28/03/2023 9:36 am, Lorem Ipsum wrote:
>>> Unfortunately it looks like there is no Mecrisp for Arduino or the AVR CPUs. I did find FlashForth.
>>>
>>> If I am looking for minimal start up time, would FlashForth be recommended?
>>>
>>> The others I've seen seem rather non-standard and even odd. I don't have time to figure out new stuff. I have a very simple project I need to get running.
>> FlashForth isn't bad. The Mega will give you approx 43K of free flash to play
>> with compared to 23K for the UNO. Should be easy to pick up as @ ! etc works
>> on flash, ram. Biggest culture shock I found was FOR NEXT as opposed to DO LOOP.
>> Also FlashForth won't let you re-use the same name, requiring one to erase before
>> re-loading (e.g. using a MARKER word). I've been working on a fork that's a bit
>> more normal in that respect.
>
> Oh, that sucks, the reuse thing. I was looking at parsing the input with the Forth interpreter. That would require using # as a new word. Any code using # inside <# #> could be early in the program, and # defined later. But that won't work I suppose. Doesn't really matter. It was just a thought.

FWIW here's a link to my fork (called UnoForth to avoid confusion):

https://drive.google.com/drive/folders/1kh2WcPUc3hQpLcz7TQ-YQiowrozvxfGw

List of changes from FlashForth is given at the beginning of the source file.
Includes hex files for UNO, Mega, Leonardo.

> I suppose I could get used to FOR NEXT, but I can't think why that would require no DO LOOP. Let the user decide which to use. I don't recall what the differences are. DO uses a start parameter and a limit. I don't recall what FOR NEXT does. Is the conditional at opposite ends of the loop in the two constructs?

IIRC DO LOOP exists as a loadable extension. FOR NEXT in FlashForth uses a count. Assuming
10 then R@ in the loop goes from 9 to 0. If count is zero, the loop is not entered. It's
the equivalent of eForth's:

.... FOR AFT ... THEN NEXT ...

i.e. the AFT THEN is built-in. Conditional is at NEXT and AFT is an unconditional branch
that's run just once.

> I don't recall what MPE costs. But maybe I should bite the bullet. It's such a tiny job. I guess I could use whatever the Arduino is usually programmed in.
Forth Inc has SwiftX for AVR. I didn't think MPE made one (?)

Re: Forth for Arduino Mega

<875yalh6qo.fsf@nightsong.com>

  copy mid

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

  copy link   Newsgroups: comp.lang.forth
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail
From: no.em...@nospam.invalid (Paul Rubin)
Newsgroups: comp.lang.forth
Subject: Re: Forth for Arduino Mega
Date: Mon, 27 Mar 2023 20:53:03 -0700
Organization: A noiseless patient Spider
Lines: 8
Message-ID: <875yalh6qo.fsf@nightsong.com>
References: <fdc43e67-df1b-4c28-8ff6-152a3b23a726n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: dont-email.me; posting-host="ba82250c469a2c9789b7914607cbb281";
logging-data="3779195"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+5HJ5OMrKWRyQyRfqhv7+F"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Cancel-Lock: sha1:sMMGYPl9hx3OjEZOraT3kuoNM1A=
sha1:nRgcGhQLGlt0NVkCu5oQj+SboVs=
 by: Paul Rubin - Tue, 28 Mar 2023 03:53 UTC

Lorem Ipsum <gnuarm.deletethisbit@gmail.com> writes:
> Unfortunately it looks like there is no Mecrisp for Arduino or the AVR
> CPUs. I did find FlashForth.

There is also amForth, but if this is for the RS232 converter, at this
point I wouldn't use an Arduino. It is obsolete imho, and the Mega is
stupid expensive. You'll have already gotten an email from me about
what I'd use instead.

Re: Forth for Arduino Mega

<112f1d9f-c924-4026-aa27-84b7f9500eb9n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.lang.forth
X-Received: by 2002:a05:620a:22f2:b0:746:98fc:c6cf with SMTP id p18-20020a05620a22f200b0074698fcc6cfmr2548924qki.3.1679980622345;
Mon, 27 Mar 2023 22:17:02 -0700 (PDT)
X-Received: by 2002:ac8:138d:0:b0:3e3:8946:110e with SMTP id
h13-20020ac8138d000000b003e38946110emr6005383qtj.5.1679980621999; Mon, 27 Mar
2023 22:17:01 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.forth
Date: Mon, 27 Mar 2023 22:17:01 -0700 (PDT)
In-Reply-To: <tvtie0$3i6j9$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=2604:b000:e210:de:a0c7:ef7b:29f1:b9d7;
posting-account=I-_H_woAAAA9zzro6crtEpUAyIvzd19b
NNTP-Posting-Host: 2604:b000:e210:de:a0c7:ef7b:29f1:b9d7
References: <fdc43e67-df1b-4c28-8ff6-152a3b23a726n@googlegroups.com>
<tvt9av$3dp5p$1@dont-email.me> <bf71f650-9289-4bc4-b2b7-265d533170fdn@googlegroups.com>
<tvtie0$3i6j9$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <112f1d9f-c924-4026-aa27-84b7f9500eb9n@googlegroups.com>
Subject: Re: Forth for Arduino Mega
From: gnuarm.d...@gmail.com (Lorem Ipsum)
Injection-Date: Tue, 28 Mar 2023 05:17:02 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 4719
 by: Lorem Ipsum - Tue, 28 Mar 2023 05:17 UTC

On Monday, March 27, 2023 at 10:12:19 PM UTC-4, dxforth wrote:
> On 28/03/2023 12:21 pm, Lorem Ipsum wrote:
> > On Monday, March 27, 2023 at 7:37:07 PM UTC-4, dxforth wrote:
> >> On 28/03/2023 9:36 am, Lorem Ipsum wrote:
> >>> Unfortunately it looks like there is no Mecrisp for Arduino or the AVR CPUs. I did find FlashForth.
> >>>
> >>> If I am looking for minimal start up time, would FlashForth be recommended?
> >>>
> >>> The others I've seen seem rather non-standard and even odd. I don't have time to figure out new stuff. I have a very simple project I need to get running.
> >> FlashForth isn't bad. The Mega will give you approx 43K of free flash to play
> >> with compared to 23K for the UNO. Should be easy to pick up as @ ! etc works
> >> on flash, ram. Biggest culture shock I found was FOR NEXT as opposed to DO LOOP.
> >> Also FlashForth won't let you re-use the same name, requiring one to erase before
> >> re-loading (e.g. using a MARKER word). I've been working on a fork that's a bit
> >> more normal in that respect.
> >
> > Oh, that sucks, the reuse thing. I was looking at parsing the input with the Forth interpreter. That would require using # as a new word. Any code using # inside <# #> could be early in the program, and # defined later. But that won't work I suppose. Doesn't really matter. It was just a thought.
> FWIW here's a link to my fork (called UnoForth to avoid confusion):
>
> https://drive.google.com/drive/folders/1kh2WcPUc3hQpLcz7TQ-YQiowrozvxfGw
>
> List of changes from FlashForth is given at the beginning of the source file.
> Includes hex files for UNO, Mega, Leonardo.
> > I suppose I could get used to FOR NEXT, but I can't think why that would require no DO LOOP. Let the user decide which to use. I don't recall what the differences are. DO uses a start parameter and a limit. I don't recall what FOR NEXT does. Is the conditional at opposite ends of the loop in the two constructs?
> IIRC DO LOOP exists as a loadable extension. FOR NEXT in FlashForth uses a count. Assuming
> 10 then R@ in the loop goes from 9 to 0. If count is zero, the loop is not entered. It's
> the equivalent of eForth's:
>
> ... FOR AFT ... THEN NEXT ...
>
> i.e. the AFT THEN is built-in. Conditional is at NEXT and AFT is an unconditional branch
> that's run just once.
> > I don't recall what MPE costs. But maybe I should bite the bullet. It's such a tiny job. I guess I could use whatever the Arduino is usually programmed in.
> Forth Inc has SwiftX for AVR. I didn't think MPE made one (?)

Yes, I just visited the MPE site and they have no AVR forth that I can find.. I remember when they didn't support ARMs and I tried to talk Stephen into making one on his dime. At that time, they didn't want to pay for it and were waiting for a customer to foot the bill. I tried to explain that ARM was going to be the next big thing. I don't think I convinced him, but maybe I planted the seed. lol

They seem to be very ARM oriented now.

I will take a look at Swift Forth. I can't believe I forgot them. Thanks.

--

Rick C.

-- Get 1,000 miles of free Supercharging
-- Tesla referral code - https://ts.la/richard11209

Re: Forth for Arduino Mega

<635b6fa7-3054-43a9-ac47-7c597f562404n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.lang.forth
X-Received: by 2002:a05:622a:88:b0:3e1:934d:ba1a with SMTP id o8-20020a05622a008800b003e1934dba1amr5672592qtw.3.1679980702867;
Mon, 27 Mar 2023 22:18:22 -0700 (PDT)
X-Received: by 2002:ad4:4d4e:0:b0:571:e9d3:24a9 with SMTP id
m14-20020ad44d4e000000b00571e9d324a9mr2271486qvm.10.1679980702615; Mon, 27
Mar 2023 22:18:22 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.forth
Date: Mon, 27 Mar 2023 22:18:22 -0700 (PDT)
In-Reply-To: <875yalh6qo.fsf@nightsong.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2604:b000:e210:de:a0c7:ef7b:29f1:b9d7;
posting-account=I-_H_woAAAA9zzro6crtEpUAyIvzd19b
NNTP-Posting-Host: 2604:b000:e210:de:a0c7:ef7b:29f1:b9d7
References: <fdc43e67-df1b-4c28-8ff6-152a3b23a726n@googlegroups.com> <875yalh6qo.fsf@nightsong.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <635b6fa7-3054-43a9-ac47-7c597f562404n@googlegroups.com>
Subject: Re: Forth for Arduino Mega
From: gnuarm.d...@gmail.com (Lorem Ipsum)
Injection-Date: Tue, 28 Mar 2023 05:18:22 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 1960
 by: Lorem Ipsum - Tue, 28 Mar 2023 05:18 UTC

On Monday, March 27, 2023 at 11:53:06 PM UTC-4, Paul Rubin wrote:
> Lorem Ipsum <gnuarm.del...@gmail.com> writes:
> > Unfortunately it looks like there is no Mecrisp for Arduino or the AVR
> > CPUs. I did find FlashForth.
> There is also amForth, but if this is for the RS232 converter, at this
> point I wouldn't use an Arduino. It is obsolete imho, and the Mega is
> stupid expensive. You'll have already gotten an email from me about
> what I'd use instead.

What do you call "stupid"? I have no idea why you would think the Arduino is "obsolete". I'll look at your email.

--

Rick C.

-+ Get 1,000 miles of free Supercharging
-+ Tesla referral code - https://ts.la/richard11209

Re: Forth for Arduino Mega

<871ql9gtb7.fsf@nightsong.com>

  copy mid

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

  copy link   Newsgroups: comp.lang.forth
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail
From: no.em...@nospam.invalid (Paul Rubin)
Newsgroups: comp.lang.forth
Subject: Re: Forth for Arduino Mega
Date: Tue, 28 Mar 2023 01:43:08 -0700
Organization: A noiseless patient Spider
Lines: 13
Message-ID: <871ql9gtb7.fsf@nightsong.com>
References: <fdc43e67-df1b-4c28-8ff6-152a3b23a726n@googlegroups.com>
<875yalh6qo.fsf@nightsong.com>
<635b6fa7-3054-43a9-ac47-7c597f562404n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: dont-email.me; posting-host="ba82250c469a2c9789b7914607cbb281";
logging-data="3871942"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX186Wabh28GVxyUx5T1CsKAX"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Cancel-Lock: sha1:zyTX1WfgitcYteocCZZBE8KJCnw=
sha1:tvfVhwD3/orIwgXSDaFrIyI7fWo=
 by: Paul Rubin - Tue, 28 Mar 2023 08:43 UTC

Lorem Ipsum <gnuarm.deletethisbit@gmail.com> writes:
> What do you call "stupid"? I have no idea why you would think the
> Arduino is "obsolete". I'll look at your email.

"Stupid expensive" = idiom for something way more expensive than needed
for this purpose. The Arduino Mega's main feature is a huge number of
i/o pins. I guess there are some control applications for which it
isn't obsolete, but for this type of communications app it's a poor fit
nowadays. The email suggested using a Raspberry Pi Pico with a
Waveshare RS232 board. I have one of the boards on order and have an
email question pending with the manufacturer, so I'll send you an update
when something happens. The board should arrive around the end of the
week.

Re: Forth for Arduino Mega

<9e762719-f8eb-4bc1-bce2-667f13ae6508n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.lang.forth
X-Received: by 2002:a05:6214:a53:b0:5a5:bce5:ec52 with SMTP id ee19-20020a0562140a5300b005a5bce5ec52mr3302714qvb.9.1680050101572;
Tue, 28 Mar 2023 17:35:01 -0700 (PDT)
X-Received: by 2002:a05:620a:2b07:b0:746:7fbd:e22f with SMTP id
do7-20020a05620a2b0700b007467fbde22fmr3404838qkb.12.1680050101310; Tue, 28
Mar 2023 17:35:01 -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, 28 Mar 2023 17:35:01 -0700 (PDT)
In-Reply-To: <871ql9gtb7.fsf@nightsong.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2604:b000:e210:de:e94a:7281:c14b:8d80;
posting-account=I-_H_woAAAA9zzro6crtEpUAyIvzd19b
NNTP-Posting-Host: 2604:b000:e210:de:e94a:7281:c14b:8d80
References: <fdc43e67-df1b-4c28-8ff6-152a3b23a726n@googlegroups.com>
<875yalh6qo.fsf@nightsong.com> <635b6fa7-3054-43a9-ac47-7c597f562404n@googlegroups.com>
<871ql9gtb7.fsf@nightsong.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <9e762719-f8eb-4bc1-bce2-667f13ae6508n@googlegroups.com>
Subject: Re: Forth for Arduino Mega
From: gnuarm.d...@gmail.com (Lorem Ipsum)
Injection-Date: Wed, 29 Mar 2023 00:35:01 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: Lorem Ipsum - Wed, 29 Mar 2023 00:35 UTC

On Tuesday, March 28, 2023 at 4:43:11 AM UTC-4, Paul Rubin wrote:
> Lorem Ipsum <gnuarm.del...@gmail.com> writes:
> > What do you call "stupid"? I have no idea why you would think the
> > Arduino is "obsolete". I'll look at your email.
> "Stupid expensive" = idiom for something way more expensive than needed
> for this purpose.

Yes, I know what it means. Your comment still requires explanation.

> The Arduino Mega's main feature is a huge number of
> i/o pins. I guess there are some control applications for which it
> isn't obsolete, but for this type of communications app it's a poor fit
> nowadays.

You have odd ideas of what fits and what doesn't. I don't have maximum requirements, only minimum... well, some are maximum, like price, size, weight.. I don't want anything that has to be shipped on a pallet, so the Auduino Mega is fine for this task. I have no reason to reject a board on I/O count. What you are thinking, is that it must be expensive, while it is not. Again, I have requirements of price, but the Arduino Mega is well under my limit. No need to optimize that which does not add useful value.

> The email suggested using a Raspberry Pi Pico with a
> Waveshare RS232 board. I have one of the boards on order and have an
> email question pending with the manufacturer, so I'll send you an update
> when something happens. The board should arrive around the end of the
> week.

I didn't realize the Pico used the oddball ARM chip, without the usual rPi Linux. That might work ok.

Please don't assume I am not discussing this with others.

--

Rick C.

+- Get 1,000 miles of free Supercharging
+- Tesla referral code - https://ts.la/richard11209

Re: Forth for Arduino Mega

<u00ah8$3kei$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.lang.forth
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail
From: dxfo...@gmail.com (dxforth)
Newsgroups: comp.lang.forth
Subject: Re: Forth for Arduino Mega
Date: Wed, 29 Mar 2023 14:15:52 +1100
Organization: A noiseless patient Spider
Lines: 16
Message-ID: <u00ah8$3kei$1@dont-email.me>
References: <fdc43e67-df1b-4c28-8ff6-152a3b23a726n@googlegroups.com>
<875yalh6qo.fsf@nightsong.com>
<635b6fa7-3054-43a9-ac47-7c597f562404n@googlegroups.com>
<871ql9gtb7.fsf@nightsong.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 29 Mar 2023 03:15:52 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="9f4953a3004b2dfe871142314bc1285f";
logging-data="119250"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX183fx3reFHGG/pQRPCoKJ6J"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.9.0
Cancel-Lock: sha1:1BZU23CSGoccpq9+FQL3rRae1X0=
In-Reply-To: <871ql9gtb7.fsf@nightsong.com>
Content-Language: en-GB
 by: dxforth - Wed, 29 Mar 2023 03:15 UTC

On 28/03/2023 7:43 pm, Paul Rubin wrote:
> ...
> The email suggested using a Raspberry Pi Pico with a
> Waveshare RS232 board.

I never considered Pico but googling I found a video of it being used
with Forth. I gather the chip has 264K ram and 2MB flash which sounds
plenty. OTOH it doesn't have the add-on boards Arduino is famous for?
Also not sure how the on-chip peripherals compare with AVR. Can you
give a summary?

Locally Pico boards sell for $AU15 inc. post which is dirt cheap.
I assume these are legit - unlike Arduino clones with counterfeit
ATmega328P ? How hot does the Pico run? I notice some sellers include
a heatsink!

Re: Forth for Arduino Mega

<nnd$3710607d$5bf17b29@54c05884efcb3f6b>

  copy mid

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

  copy link   Newsgroups: comp.lang.forth
Newsgroups: comp.lang.forth
Subject: Re: Forth for Arduino Mega
References: <fdc43e67-df1b-4c28-8ff6-152a3b23a726n@googlegroups.com> <635b6fa7-3054-43a9-ac47-7c597f562404n@googlegroups.com> <871ql9gtb7.fsf@nightsong.com> <u00ah8$3kei$1@dont-email.me>
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
From: alb...@cherry (none)
Originator: albert@cherry.(none) (albert)
Message-ID: <nnd$3710607d$5bf17b29@54c05884efcb3f6b>
Organization: KPN B.V.
Date: Wed, 29 Mar 2023 12:09:43 +0200
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news.uzoreto.com!peer03.ams4!peer.am4.highwinds-media.com!news.highwinds-media.com!feed.abavia.com!abe004.abavia.com!abp002.abavia.com!news.kpn.nl!not-for-mail
Lines: 36
Injection-Date: Wed, 29 Mar 2023 12:09:43 +0200
Injection-Info: news.kpn.nl; mail-complaints-to="abuse@kpn.com"
X-Received-Bytes: 2200
 by: none - Wed, 29 Mar 2023 10:09 UTC

In article <u00ah8$3kei$1@dont-email.me>, dxforth <dxforth@gmail.com> wrote:
>On 28/03/2023 7:43 pm, Paul Rubin wrote:
>> ...
>> The email suggested using a Raspberry Pi Pico with a
>> Waveshare RS232 board.
>
>I never considered Pico but googling I found a video of it being used
>with Forth. I gather the chip has 264K ram and 2MB flash which sounds
>plenty. OTOH it doesn't have the add-on boards Arduino is famous for?
>Also not sure how the on-chip peripherals compare with AVR. Can you
>give a summary?
>
>Locally Pico boards sell for $AU15 inc. post which is dirt cheap.
>I assume these are legit - unlike Arduino clones with counterfeit
>ATmega328P ? How hot does the Pico run? I notice some sellers include
>a heatsink!
>

A new development is noforth for the pico boards, to
be pubished shortly.
The 10 i/o processors is a bonus. For example I could reserve
one of those processors to generate a midi signal at the exact
specs, with buffering and no need for interrupts.

https://home.hccnet.nl/anij/nof/noforth.html

This is mature, with dozens of tested projects (click on
'Egel project') This goes back to the 8051.

Groetjes Albert
--
Don't praise the day before the evening. One swallow doesn't make spring.
You must not say "hey" before you have crossed the bridge. Don't sell the
hide of the bear until you shot it. Better one bird in the hand than ten in
the air. First gain is a cat spinning. - the Wise from Antrim -

Re: Forth for Arduino Mega

<96d14b29-4de4-48aa-98c2-52e00a1d5d06n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.lang.forth
X-Received: by 2002:a05:620a:21c6:b0:71f:b908:7b76 with SMTP id h6-20020a05620a21c600b0071fb9087b76mr3916894qka.2.1680103772772;
Wed, 29 Mar 2023 08:29:32 -0700 (PDT)
X-Received: by 2002:a05:620a:2988:b0:746:9aff:f324 with SMTP id
r8-20020a05620a298800b007469afff324mr4933659qkp.10.1680103772463; Wed, 29 Mar
2023 08:29:32 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.forth
Date: Wed, 29 Mar 2023 08:29:32 -0700 (PDT)
In-Reply-To: <nnd$3710607d$5bf17b29@54c05884efcb3f6b>
Injection-Info: google-groups.googlegroups.com; posting-host=2604:b000:e210:de:a59c:31e3:8f7a:b62c;
posting-account=I-_H_woAAAA9zzro6crtEpUAyIvzd19b
NNTP-Posting-Host: 2604:b000:e210:de:a59c:31e3:8f7a:b62c
References: <fdc43e67-df1b-4c28-8ff6-152a3b23a726n@googlegroups.com>
<635b6fa7-3054-43a9-ac47-7c597f562404n@googlegroups.com> <871ql9gtb7.fsf@nightsong.com>
<u00ah8$3kei$1@dont-email.me> <nnd$3710607d$5bf17b29@54c05884efcb3f6b>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <96d14b29-4de4-48aa-98c2-52e00a1d5d06n@googlegroups.com>
Subject: Re: Forth for Arduino Mega
From: gnuarm.d...@gmail.com (Lorem Ipsum)
Injection-Date: Wed, 29 Mar 2023 15:29:32 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 3804
 by: Lorem Ipsum - Wed, 29 Mar 2023 15:29 UTC

On Wednesday, March 29, 2023 at 6:09:48 AM UTC-4, none albert wrote:
> In article <u00ah8$3kei$1...@dont-email.me>, dxforth <dxf...@gmail.com> wrote:
> >On 28/03/2023 7:43 pm, Paul Rubin wrote:
> >> ...
> >> The email suggested using a Raspberry Pi Pico with a
> >> Waveshare RS232 board.
> >
> >I never considered Pico but googling I found a video of it being used
> >with Forth. I gather the chip has 264K ram and 2MB flash which sounds
> >plenty. OTOH it doesn't have the add-on boards Arduino is famous for?
> >Also not sure how the on-chip peripherals compare with AVR. Can you
> >give a summary?
> >
> >Locally Pico boards sell for $AU15 inc. post which is dirt cheap.
> >I assume these are legit - unlike Arduino clones with counterfeit
> >ATmega328P ? How hot does the Pico run? I notice some sellers include
> >a heatsink!
> >
> A new development is noforth for the pico boards, to
> be pubished shortly.
> The 10 i/o processors is a bonus. For example I could reserve
> one of those processors to generate a midi signal at the exact
> specs, with buffering and no need for interrupts.
>
> https://home.hccnet.nl/anij/nof/noforth.html
>
> This is mature, with dozens of tested projects (click on
> 'Egel project') This goes back to the 8051.

Interesting. I'm not clear on how this is ported to a new board. I suppose all the rPi pico boards will have the same console port. The hardware I would be using with the pico would use pins 1, 2 and 6, 7 for the application UARTs. Can a different port be used for the console?

It's not clear how to get to other pins when the waveshare serial port is attached. This may not be a good mate to this project. The Pico board only seems to have two UARTs. Several places to connect to them, but only two UARTs. Likewise, many pins, but only two SPI and two I2C.

BTW, if you'd like to make your web page more readable, you might not use the colors you are using, or maybe none at all. The grey is hard for me to read, and the orange text is nearly impossible. While colors are pretty, black text on white background is much more readable.

Any idea when noforth for the pico will be out?

--

Rick C.

++ Get 1,000 miles of free Supercharging
++ Tesla referral code - https://ts.la/richard11209

Re: Forth for Arduino Mega

<u02ndq$h68q$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.lang.forth
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail
From: dxfo...@gmail.com (dxforth)
Newsgroups: comp.lang.forth
Subject: Re: Forth for Arduino Mega
Date: Thu, 30 Mar 2023 12:08:11 +1100
Organization: A noiseless patient Spider
Lines: 36
Message-ID: <u02ndq$h68q$1@dont-email.me>
References: <fdc43e67-df1b-4c28-8ff6-152a3b23a726n@googlegroups.com>
<635b6fa7-3054-43a9-ac47-7c597f562404n@googlegroups.com>
<871ql9gtb7.fsf@nightsong.com> <u00ah8$3kei$1@dont-email.me>
<nnd$3710607d$5bf17b29@54c05884efcb3f6b>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 30 Mar 2023 01:08:10 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="866746de3530252efaec00e211a1c126";
logging-data="563482"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/8He3tWFfwn2bsHDEHt0+2"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.9.0
Cancel-Lock: sha1:+Ira8v0kH6LK1EyHE5plznvB9X8=
In-Reply-To: <nnd$3710607d$5bf17b29@54c05884efcb3f6b>
Content-Language: en-GB
 by: dxforth - Thu, 30 Mar 2023 01:08 UTC

On 29/03/2023 9:09 pm, albert wrote:
> In article <u00ah8$3kei$1@dont-email.me>, dxforth <dxforth@gmail.com> wrote:
>> On 28/03/2023 7:43 pm, Paul Rubin wrote:
>>> ...
>>> The email suggested using a Raspberry Pi Pico with a
>>> Waveshare RS232 board.
>>
>> I never considered Pico but googling I found a video of it being used
>> with Forth. I gather the chip has 264K ram and 2MB flash which sounds
>> plenty. OTOH it doesn't have the add-on boards Arduino is famous for?
>> Also not sure how the on-chip peripherals compare with AVR. Can you
>> give a summary?
>>
>> Locally Pico boards sell for $AU15 inc. post which is dirt cheap.
>> I assume these are legit - unlike Arduino clones with counterfeit
>> ATmega328P ? How hot does the Pico run? I notice some sellers include
>> a heatsink!
>>
>
> A new development is noforth for the pico boards, to
> be pubished shortly.
> The 10 i/o processors is a bonus. For example I could reserve
> one of those processors to generate a midi signal at the exact
> specs, with buffering and no need for interrupts.
>
> https://home.hccnet.nl/anij/nof/noforth.html
>
> This is mature, with dozens of tested projects (click on
> 'Egel project') This goes back to the 8051.

Thanks. Look forward to seeing the article when it's published.
It's a pity the Pico doesn't come in a form factor similar to Arduino
which would make it easier to develop with.

Re: Forth for Arduino Mega

<87wn2zf2p3.fsf@nightsong.com>

  copy mid

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

  copy link   Newsgroups: comp.lang.forth
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail
From: no.em...@nospam.invalid (Paul Rubin)
Newsgroups: comp.lang.forth
Subject: Re: Forth for Arduino Mega
Date: Wed, 29 Mar 2023 18:27:52 -0700
Organization: A noiseless patient Spider
Lines: 28
Message-ID: <87wn2zf2p3.fsf@nightsong.com>
References: <fdc43e67-df1b-4c28-8ff6-152a3b23a726n@googlegroups.com>
<875yalh6qo.fsf@nightsong.com>
<635b6fa7-3054-43a9-ac47-7c597f562404n@googlegroups.com>
<871ql9gtb7.fsf@nightsong.com> <u00ah8$3kei$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: dont-email.me; posting-host="5fa1eb758efd806d4a6c6e3e1503bb26";
logging-data="583956"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19KKAGbtiRPVTjj1UQp0/jI"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Cancel-Lock: sha1:Uz5TO2S4Enzg96ov2z4KwEfn/1w=
sha1:42hLSpmotS1wi9SvYePmyperfvQ=
 by: Paul Rubin - Thu, 30 Mar 2023 01:27 UTC

dxforth <dxforth@gmail.com> writes:
> Also not sure how the on-chip peripherals compare with AVR. Can you
> give a summary?

I have the impression that the AVR has better analog stuff but other
than that I'm not sure. The AVR can run at more voltages. The Pico
includes a built in DC to DC converter to give the right voltages to its
RP2040 chip.

> Locally Pico boards sell for $AU15 inc. post which is dirt cheap.

The bare board is US $4 in the US (plus shipping), and the version with
header pins pre-soldered is $5. There is another version that has a
wireless comms chip on board. The wireless chip does wifi and
bluetooth, but until recently the board was described as wifi-only,
since software support for bluetooth was not there yet. But, I think
bluetooth software has started to appear.

It is computationally a far more powerful board than any version of the
AVR. It has two ARM 125 MHz Cortex M0+ cores, 264K of ram, and two
programmable I/O processors (they are very minimal, like glorified
PWM's) that can be used for various timing constrained protocols as an
alternative to software bit banging.

I thought I remembered reading that Mecrisp Forth runs on it? It also
runs Micropython is a more modern interactive programming environment,
though resource hungry in comparison to Forth. The board has plenty of
resources though.

Re: Forth for Arduino Mega

<87sfdnf2j5.fsf@nightsong.com>

  copy mid

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

  copy link   Newsgroups: comp.lang.forth
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail
From: no.em...@nospam.invalid (Paul Rubin)
Newsgroups: comp.lang.forth
Subject: Re: Forth for Arduino Mega
Date: Wed, 29 Mar 2023 18:31:26 -0700
Organization: A noiseless patient Spider
Lines: 15
Message-ID: <87sfdnf2j5.fsf@nightsong.com>
References: <fdc43e67-df1b-4c28-8ff6-152a3b23a726n@googlegroups.com>
<875yalh6qo.fsf@nightsong.com>
<635b6fa7-3054-43a9-ac47-7c597f562404n@googlegroups.com>
<871ql9gtb7.fsf@nightsong.com>
<9e762719-f8eb-4bc1-bce2-667f13ae6508n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: dont-email.me; posting-host="5fa1eb758efd806d4a6c6e3e1503bb26";
logging-data="583956"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX180GCWWWVLHcSYSrxj4TDDl"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Cancel-Lock: sha1:MQC4dRh2G+CWysxn1F72VsV71yo=
sha1:YsFlzA+pMFmqOBcQINUftaOHUHA=
 by: Paul Rubin - Thu, 30 Mar 2023 01:31 UTC

Lorem Ipsum <gnuarm.deletethisbit@gmail.com> writes:
> Yes, I know what it means. Your comment still requires explanation.

The Mega imho is overkill for the application, almost in the same way
that a mini PC is overkill.
> I didn't realize the Pico used the oddball ARM chip, without the usual
> rPi Linux. That might work ok.
>
> Please don't assume I am not discussing this with others.

It's fine, I don't want to send you a proposal to make the gadget until
I've tested the serial board and am comfortable with the idea of using
it. It's a $9 board, affordable even for a cave dweller like me, so I
don't mind having one to play with in any case. With luck I should have
it tomorrow.

Re: Forth for Arduino Mega

<u02ufr$lg8r$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.lang.forth
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail
From: dxfo...@gmail.com (dxforth)
Newsgroups: comp.lang.forth
Subject: Re: Forth for Arduino Mega
Date: Thu, 30 Mar 2023 14:08:43 +1100
Organization: A noiseless patient Spider
Lines: 13
Message-ID: <u02ufr$lg8r$1@dont-email.me>
References: <fdc43e67-df1b-4c28-8ff6-152a3b23a726n@googlegroups.com>
<875yalh6qo.fsf@nightsong.com>
<635b6fa7-3054-43a9-ac47-7c597f562404n@googlegroups.com>
<871ql9gtb7.fsf@nightsong.com> <u00ah8$3kei$1@dont-email.me>
<87wn2zf2p3.fsf@nightsong.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 30 Mar 2023 03:08:43 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="866746de3530252efaec00e211a1c126";
logging-data="704795"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/6k02hNnKDmNZ4kJrD7lx7"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.9.0
Cancel-Lock: sha1:eeU4Q4qkjnWM1bhPkKjgFJFkgHM=
Content-Language: en-GB
In-Reply-To: <87wn2zf2p3.fsf@nightsong.com>
 by: dxforth - Thu, 30 Mar 2023 03:08 UTC

On 30/03/2023 12:27 pm, Paul Rubin wrote:
>
> I thought I remembered reading that Mecrisp Forth runs on it? It also
> runs Micropython is a more modern interactive programming environment,
> though resource hungry in comparison to Forth. The board has plenty of
> resources though.

Yes - that was the Forth used in the video. The abundance of memory
and 32-bits is what makes it attractive to develop with. Curious what's
involved in rebuilding that forth. I've never stayed with a forth long
enough that there wasn't something I wanted to change. But then that's
the nature of Forth, for good or ill.

Re: Forth for Arduino Mega

<bd540a27-e1b0-4ddf-9afb-bccf29bcf38fn@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.lang.forth
X-Received: by 2002:a37:a890:0:b0:746:9174:3d3c with SMTP id r138-20020a37a890000000b0074691743d3cmr5377085qke.13.1680197124328;
Thu, 30 Mar 2023 10:25:24 -0700 (PDT)
X-Received: by 2002:a0c:d849:0:b0:574:287b:8cad with SMTP id
i9-20020a0cd849000000b00574287b8cadmr1585443qvj.3.1680197124029; Thu, 30 Mar
2023 10:25:24 -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: Thu, 30 Mar 2023 10:25:23 -0700 (PDT)
In-Reply-To: <87sfdnf2j5.fsf@nightsong.com>
Injection-Info: google-groups.googlegroups.com; posting-host=65.207.89.54; posting-account=I-_H_woAAAA9zzro6crtEpUAyIvzd19b
NNTP-Posting-Host: 65.207.89.54
References: <fdc43e67-df1b-4c28-8ff6-152a3b23a726n@googlegroups.com>
<875yalh6qo.fsf@nightsong.com> <635b6fa7-3054-43a9-ac47-7c597f562404n@googlegroups.com>
<871ql9gtb7.fsf@nightsong.com> <9e762719-f8eb-4bc1-bce2-667f13ae6508n@googlegroups.com>
<87sfdnf2j5.fsf@nightsong.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <bd540a27-e1b0-4ddf-9afb-bccf29bcf38fn@googlegroups.com>
Subject: Re: Forth for Arduino Mega
From: gnuarm.d...@gmail.com (Lorem Ipsum)
Injection-Date: Thu, 30 Mar 2023 17:25:24 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: Lorem Ipsum - Thu, 30 Mar 2023 17:25 UTC

On Wednesday, March 29, 2023 at 9:31:29 PM UTC-4, Paul Rubin wrote:
> Lorem Ipsum <gnuarm.del...@gmail.com> writes:
> > Yes, I know what it means. Your comment still requires explanation.
> The Mega imho is overkill for the application, almost in the same way
> that a mini PC is overkill.

Ok, but that's a pointless statement. The Arduino Mega meets all the requirements and so is perfectly suitable for the job. I don't know why you can't see this. I think you get fascinated by the toys and have trouble seeing this as an engineering job. If I needed a #6 screw to hold something in place, but only have #10 screws, which will work, I use the #10 screws and don't complain about it being "overkill".

While the miniPC is very much overkill, it's a perfectly acceptable solution if I can meet the price, size and power goals. None of those are well defined, so right now, the miniPC is actually at the head of the list, because it meets all the requirements, including being available to buy.

> > I didn't realize the Pico used the oddball ARM chip, without the usual
> > rPi Linux. That might work ok.
> >
> > Please don't assume I am not discussing this with others.
> It's fine, I don't want to send you a proposal to make the gadget until
> I've tested the serial board and am comfortable with the idea of using
> it. It's a $9 board, affordable even for a cave dweller like me, so I
> don't mind having one to play with in any case. With luck I should have
> it tomorrow.

Good luck.

--

Rick C.

--- Get 1,000 miles of free Supercharging
--- Tesla referral code - https://ts.la/richard11209

Re: Forth for Arduino Mega

<404f9ad7-9662-4376-9bda-f937f3443dbbn@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.lang.forth
X-Received: by 2002:a05:622a:64f:b0:3d7:9d03:75b0 with SMTP id a15-20020a05622a064f00b003d79d0375b0mr285766qtb.13.1680578218597;
Mon, 03 Apr 2023 20:16:58 -0700 (PDT)
X-Received: by 2002:a05:620a:1a9f:b0:745:da3d:cd0a with SMTP id
bl31-20020a05620a1a9f00b00745da3dcd0amr478045qkb.12.1680578218377; Mon, 03
Apr 2023 20:16:58 -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: Mon, 3 Apr 2023 20:16:58 -0700 (PDT)
In-Reply-To: <87wn2zf2p3.fsf@nightsong.com>
Injection-Info: google-groups.googlegroups.com; posting-host=172.13.49.137; posting-account=Crnq4woAAABK99A43gBY5KlP3EUyAJAK
NNTP-Posting-Host: 172.13.49.137
References: <fdc43e67-df1b-4c28-8ff6-152a3b23a726n@googlegroups.com>
<875yalh6qo.fsf@nightsong.com> <635b6fa7-3054-43a9-ac47-7c597f562404n@googlegroups.com>
<871ql9gtb7.fsf@nightsong.com> <u00ah8$3kei$1@dont-email.me> <87wn2zf2p3.fsf@nightsong.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <404f9ad7-9662-4376-9bda-f937f3443dbbn@googlegroups.com>
Subject: Re: Forth for Arduino Mega
From: tabem...@gmail.com (Travis Bemann)
Injection-Date: Tue, 04 Apr 2023 03:16:58 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: Travis Bemann - Tue, 4 Apr 2023 03:16 UTC

On Wednesday, March 29, 2023 at 8:27:55 PM UTC-5, Paul Rubin wrote:
> dxforth <dxf...@gmail.com> writes:
> > Also not sure how the on-chip peripherals compare with AVR. Can you
> > give a summary?
> I have the impression that the AVR has better analog stuff but other
> than that I'm not sure. The AVR can run at more voltages. The Pico
> includes a built in DC to DC converter to give the right voltages to its
> RP2040 chip.
> > Locally Pico boards sell for $AU15 inc. post which is dirt cheap.
> The bare board is US $4 in the US (plus shipping), and the version with
> header pins pre-soldered is $5. There is another version that has a
> wireless comms chip on board. The wireless chip does wifi and
> bluetooth, but until recently the board was described as wifi-only,
> since software support for bluetooth was not there yet. But, I think
> bluetooth software has started to appear.
>
> It is computationally a far more powerful board than any version of the
> AVR. It has two ARM 125 MHz Cortex M0+ cores, 264K of ram, and two
> programmable I/O processors (they are very minimal, like glorified
> PWM's) that can be used for various timing constrained protocols as an
> alternative to software bit banging.
>
> I thought I remembered reading that Mecrisp Forth runs on it? It also
> runs Micropython is a more modern interactive programming environment,
> though resource hungry in comparison to Forth. The board has plenty of
> resources though.

My zeptoforth also fully supports the Raspberry Pi Pico and at least partially
supports other RP2040-based boards (with some caveats - I have encountered
boards with GigaDevices flash which, while strictly-speaking compatible with
zeptoforth, provide poor flash-writing performance, and on boards other than
the Pico things such as LED's are not necessarily fully supported or require
compiling a "platform" constant to tell zeptoforth which board is in use). It
provides full preemptive multitasking with SMP support and supports most of
the hardware on the Pico with the notable exception of USB (even though I
plan on changing this in the near future). It is fully-featured out of the box,
and also comes with code for things such as controlling displays that can be
loaded by the user.

As for comparing and contrasting Mecrisp-Stellaris and zeptoforth, I must
admit that Matthias Koch is a compiler wizard and I envy his register-assigning
compiler (zeptoforth is also an inlining native code compiler, but does not
exude so much compiler-fu). Also, Mecrisp-Stellaris on the RP2040 executes
solely out of RAM, while zeptoforth on the RP2040 makes major use of XIP
mode to execute out of a RAM cache for the external Quad SPI flash (even
though the zeptoforth kernel is copied into RAM); this enables zeptoforth to
execute with larger codebases but makes Mecrisp-Stellaris faster because it
does not have to contend with XIP cache misses. Note that both zeptoforth
and Mecrisp-Stellaris can compile to RAM in addition to flash, in the case of
zeptoforth and Mecrisp-Stellaris on platforms other than the RP2040, or
flash mirrored into RAM, in the case of Mecrisp-Stellaris on the RP2040. In
general, Mecrisp-Stellaris is more suited to smaller systems than zeptoforth,
since it has a smaller kernel and is not as reliant on a large library of code
outside its kernel. This is why zeptoforth will never support STM32F0 MCU's
and most likely will never support STM32F1 MCU's (even though it could
possibly support some larger Chinese clones of the STM32F103 which
provide more flash than the original STM32F103 in the future).

As for some notes about hardware support for zeptoforth on RP2040-based
boards:

WiFi support on the Pico W is specifically not supported, because a CYW43
driver for it has not been written, and may never be written due to licensing
issues with Damien George's CYW43 driver (which includes necessary binary
blobs). Even if I ever do write a CYW43 driver, it will most likely have to be
under Damien George's onerous licensing terms, separate from the rest of
zeptoforth in a different repository (and left to the user to compile/load on
their own).

There is a limited WiFi driver for the Wio RP2040, but the ESP8285's WiFi radio
on the Wio RP2040 is so unreliable that I simply cannot say that I support it.
If it were not for that I spent over a month trying to get the thing to work and
do not want to consider that effort completely wasted, I would simply delete
my WiFi driver for it. Note that this WiFi driver has to be manually loaded by
the user. Also note that if you do try to use this driver, it gets very poor
performance and closing connections is completely broken thanks to a major
firmware bug ─ attempting to close a connection will cause the ESP8285 to
crash and become unresponsive until its watchdog reboots it, losing any
state it had before.

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor