Rocksolid Light

Welcome to Rocksolid Light

mail  files  register  newsreader  groups  login

Message-ID:  

"You know, we've won awards for this crap." -- David Letterman


devel / comp.lang.forth / Cooperative interrupt handlers in pure Forth

SubjectAuthor
* Cooperative interrupt handlers in pure ForthZbig
`* Re: Cooperative interrupt handlers in pure Forthminforth
 `- Re: Cooperative interrupt handlers in pure ForthHugh Aguilar

1
Cooperative interrupt handlers in pure Forth

<af66e184-1549-49e8-9ed2-3c2114a4d336n@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=24444&group=comp.lang.forth#24444

  copy link   Newsgroups: comp.lang.forth
X-Received: by 2002:a05:622a:1309:b0:40d:b839:b5bb with SMTP id v9-20020a05622a130900b0040db839b5bbmr875985qtk.2.1693124536253;
Sun, 27 Aug 2023 01:22:16 -0700 (PDT)
X-Received: by 2002:a05:6214:bd1:b0:64f:3bbb:1d1c with SMTP id
ff17-20020a0562140bd100b0064f3bbb1d1cmr714572qvb.2.1693124535959; Sun, 27 Aug
2023 01:22:15 -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, 27 Aug 2023 01:22:15 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=83.22.107.239; posting-account=cxuXKwoAAABQpPOMD55A9IPz7pPrw6ml
NNTP-Posting-Host: 83.22.107.239
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <af66e184-1549-49e8-9ed2-3c2114a4d336n@googlegroups.com>
Subject: Cooperative interrupt handlers in pure Forth
From: zbigniew2011@gmail.com (Zbig)
Injection-Date: Sun, 27 Aug 2023 08:22:16 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: Zbig - Sun, 27 Aug 2023 08:22 UTC

30-years old idea — still very interesting, especially
in the era of fast CPUs/microcontrollers:
http://wilsonminesco.com/0-overhead_Forth_interrupts/

Re: Cooperative interrupt handlers in pure Forth

<cf5305ef-4d01-41c5-9ab2-bf62b7f1a4a2n@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=24455&group=comp.lang.forth#24455

  copy link   Newsgroups: comp.lang.forth
X-Received: by 2002:ad4:4f84:0:b0:63d:557f:b4c9 with SMTP id em4-20020ad44f84000000b0063d557fb4c9mr1042792qvb.3.1693202169239;
Sun, 27 Aug 2023 22:56:09 -0700 (PDT)
X-Received: by 2002:a17:902:f683:b0:1bb:e7ce:17d9 with SMTP id
l3-20020a170902f68300b001bbe7ce17d9mr8812770plg.6.1693202168745; Sun, 27 Aug
2023 22:56:08 -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, 27 Aug 2023 22:56:08 -0700 (PDT)
In-Reply-To: <af66e184-1549-49e8-9ed2-3c2114a4d336n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2003:f7:1f0d:8909:4cf1:fe01:fe90:eaba;
posting-account=AqNUYgoAAADmkK2pN-RKms8sww57W0Iw
NNTP-Posting-Host: 2003:f7:1f0d:8909:4cf1:fe01:fe90:eaba
References: <af66e184-1549-49e8-9ed2-3c2114a4d336n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <cf5305ef-4d01-41c5-9ab2-bf62b7f1a4a2n@googlegroups.com>
Subject: Re: Cooperative interrupt handlers in pure Forth
From: minforth@arcor.de (minforth)
Injection-Date: Mon, 28 Aug 2023 05:56:09 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: minforth - Mon, 28 Aug 2023 05:56 UTC

Zbig schrieb am Sonntag, 27. August 2023 um 10:22:17 UTC+2:
> 30-years old idea — still very interesting, especially
> in the era of fast CPUs/microcontrollers:
> http://wilsonminesco.com/0-overhead_Forth_interrupts/

Thanks for the link.

But FWIW I'd never blow up NEXT and polling is rarely a good idea
particularly "in the era of fast CPUs/microcontrollers". Bad carbon
footprint. ;-)

Re: Cooperative interrupt handlers in pure Forth

<50a91132-63dc-42fc-a660-7bd2b117e7a0n@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=24478&group=comp.lang.forth#24478

  copy link   Newsgroups: comp.lang.forth
X-Received: by 2002:ad4:550a:0:b0:63d:44c5:3f37 with SMTP id pz10-20020ad4550a000000b0063d44c53f37mr20424qvb.12.1693368095351;
Tue, 29 Aug 2023 21:01:35 -0700 (PDT)
X-Received: by 2002:a17:902:d505:b0:1c0:77b8:bb1e with SMTP id
b5-20020a170902d50500b001c077b8bb1emr369584plg.7.1693368095013; Tue, 29 Aug
2023 21:01:35 -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: Tue, 29 Aug 2023 21:01:34 -0700 (PDT)
In-Reply-To: <cf5305ef-4d01-41c5-9ab2-bf62b7f1a4a2n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=63.158.165.131; posting-account=OxDKOgoAAADW0cxAqHqpN1zqeCoSsDap
NNTP-Posting-Host: 63.158.165.131
References: <af66e184-1549-49e8-9ed2-3c2114a4d336n@googlegroups.com> <cf5305ef-4d01-41c5-9ab2-bf62b7f1a4a2n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <50a91132-63dc-42fc-a660-7bd2b117e7a0n@googlegroups.com>
Subject: Re: Cooperative interrupt handlers in pure Forth
From: hughaguilar96@gmail.com (Hugh Aguilar)
Injection-Date: Wed, 30 Aug 2023 04:01:35 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 3015
 by: Hugh Aguilar - Wed, 30 Aug 2023 04:01 UTC

On Sunday, August 27, 2023 at 10:56:10 PM UTC-7, minforth wrote:
> Zbig schrieb am Sonntag, 27. August 2023 um 10:22:17 UTC+2:
> > 30-years old idea — still very interesting, especially
> > in the era of fast CPUs/microcontrollers:
> > http://wilsonminesco.com/0-overhead_Forth_interrupts/
> Thanks for the link.
>
> But FWIW I'd never blow up NEXT and polling is rarely a good idea
> particularly "in the era of fast CPUs/microcontrollers". Bad carbon
> footprint. ;-)

Polling is needed on the 65x because it has only one IRQ.
Garth Wilson continues to focus on the 65x in this "era of fast
CPUs/microcontrollers." If he likes it, then good for him!
He has an indirect-threaded Forth. That is very slow on the 65x!
My 65c02 cross-compiler was based on ISYS Forth and it generated
machine-code. I wrote this for my symbolic math program that did
derivatives (I didn't do integrals because they are more difficult and
because I was at the limit of what a 65c02 can do speed-wise).
There is no Forth or C or Pascal or anything else that could have
gotten as far as doing derivatives.

Machine-code on the 65c02 is bloaty (I was using the full 128K
of the Apple-IIc for my program). To have less memory usage,
such as in a micro-controller, I would like to use byte-code.
The 65c02 was a huge disappointment! They used the X register
for their byte-code table jump. The X is used for the data-stack
pointer though. They should have used Y instead. This was the
most egregious design mistake in the 65c02, but there were other
mistakes. A more thought-out design for the 65c02 would have
kept the 65x line going --- instead, the i8032 took the microcontroller
market and the 65c02 became obsolete.

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor