Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

"Were there no women, men might live like gods." -- Thomas Dekker


devel / comp.lang.forth / Re: Q: modern Forth with 1ms tickers

SubjectAuthor
* Q: modern Forth with 1ms tickersWolfgang Allinger
+- Re: Q: modern Forth with 1ms tickersDavid Schultz
+- Re: Q: modern Forth with 1ms tickersStephen Pelc
+* Re: Q: modern Forth with 1ms tickersPaul Rubin
|`* Re: Q: modern Forth with 1ms tickersMarcel Hendrix
| `- Re: Q: modern Forth with 1ms tickersPaul Rubin
+- Q: modern Forth with 1ms tickersAndy Valencia
+* Re: Q: modern Forth with 1ms tickersMike
|+* Re: Q: modern Forth with 1ms tickersWolfgang Allinger
||`- Re: Q: modern Forth with 1ms tickersdxforth
|`- Re: Q: modern Forth with 1ms tickersdxforth
`* Re: Q: modern Forth with 1ms tickersWayne morellini
 `* Re: Q: modern Forth with 1ms tickersminf...@arcor.de
  `- Re: Q: modern Forth with 1ms tickersWayne morellini

1
Q: modern Forth with 1ms tickers

<Fm7$8lMUQoB@allinger-307049.user.uni-berlin>

  copy mid

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

  copy link   Newsgroups: comp.lang.forth
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!news.freedyn.de!speedkom.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: all2...@spambog.com (Wolfgang Allinger)
Newsgroups: comp.lang.forth
Subject: Q: modern Forth with 1ms tickers
Date: Tue, 18 Jan 2022 10:37:00 -0300
Lines: 23
Message-ID: <Fm7$8lMUQoB@allinger-307049.user.uni-berlin>
Reply-To: all2001@gmx.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: individual.net ASM4chDj+gK5gNSULyypngGLsvPibFDsLa/Ypje9u656UTrmYV
Cancel-Lock: sha1:u1nKpcGWdV8NXMU8+FXXpQehHME=
User-Agent: OpenXP/5.0.51 (Win32)
 by: Wolfgang Allinger - Tue, 18 Jan 2022 13:37 UTC

Hi
is there any modern Forth, wich has a timer/TICKER
with at least 1ms resolution?

so I can do in a Multitasker something like

...
...
123 ms WAIT \ PAUSEing for 123 milli seconds
...

THX

Saludos (an alle Vernünftigen, Rest sh. sig)
Wolfgang

--
Ich bin in Paraguay lebender Trollallergiker :) reply Adresse gesetzt!
Ich diskutiere zukünftig weniger mit Idioten, denn sie ziehen mich auf
ihr Niveau herunter und schlagen mich dort mit ihrer Erfahrung! :p
(lt. alter usenet Weisheit) iPod, iPhone, iPad, iTunes, iRak, iDiot

Re: Q: modern Forth with 1ms tickers

<4_ydnXs_r4HGeHv8nZ2dnUU7-ffNnZ2d@earthlink.com>

  copy mid

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

  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, 18 Jan 2022 10:05:47 -0600
Date: Tue, 18 Jan 2022 10:05:42 -0600
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
Thunderbird/91.3.0
Subject: Re: Q: modern Forth with 1ms tickers
Content-Language: en-US
Newsgroups: comp.lang.forth
References: <Fm7$8lMUQoB@allinger-307049.user.uni-berlin>
From: david.sc...@earthlink.net (David Schultz)
In-Reply-To: <Fm7$8lMUQoB@allinger-307049.user.uni-berlin>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Message-ID: <4_ydnXs_r4HGeHv8nZ2dnUU7-ffNnZ2d@earthlink.com>
Lines: 21
X-Usenet-Provider: http://www.giganews.com
NNTP-Posting-Host: 108.194.109.6
X-Trace: sv3-ls0F1FVEI4I/RHbuxOrUinT3GXq48F6bArZLZ8EeidmG9zGRnA1sGftef5BsARIZE5XfbFxSALShwfz!ihn4XY0aSLq/hnuHiMfWRAgp4uPh0f09RP5jOZSx3rPN31N0kChsuYIzGw2l7d5dDJmv34eBXpsX!/kv7JOhB3K/lJIaANjkBPjeBX+VlFi8=
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: 1827
 by: David Schultz - Tue, 18 Jan 2022 16:05 UTC

On 1/18/22 7:37 AM, Wolfgang Allinger wrote:
> Hi
> is there any modern Forth, wich has a timer/TICKER
> with at least 1ms resolution?
>
> so I can do in a Multitasker something like
>
> ..
> ..
> 123 ms WAIT \ PAUSEing for 123 milli seconds
> ..

The whole point of FORTH is that you can do it yourself. Tick rate is a
balance between how fast you would like it to run and how much time gets
wasted servicing the interrupt. 1KHz is too fast for most of what I do
but my version of eForth for the Teensy 3.6 runs systick at 1KHz. It can
handle it.

--
http://davesrocketworks.com
David Schultz

Re: Q: modern Forth with 1ms tickers

<ss6pu4$km5$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.lang.forth
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: step...@vfxforth.com (Stephen Pelc)
Newsgroups: comp.lang.forth
Subject: Re: Q: modern Forth with 1ms tickers
Date: Tue, 18 Jan 2022 16:29:56 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 24
Message-ID: <ss6pu4$km5$1@dont-email.me>
References: <Fm7$8lMUQoB@allinger-307049.user.uni-berlin>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=fixed
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 18 Jan 2022 16:29:56 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="ad8ef5ab089895c018335b8334f61b8f";
logging-data="21189"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18V8vDMBLj6gj1ZuuCvUnKD"
User-Agent: Usenapp/1.17/l for MacOS - Full License
Cancel-Lock: sha1:M73zMtafw8B5YCldBMTWnVu8N+4=
 by: Stephen Pelc - Tue, 18 Jan 2022 16:29 UTC

On 18 Jan 2022 at 14:37:00 CET, ""Wolfgang Allinger"" <all2001@spambog.com>
wrote:
>
> is there any modern Forth, wich has a timer/TICKER
> with at least 1ms resolution?
>
> so I can do in a Multitasker something like
>
> 123 ms WAIT \ PAUSEing for 123 milli seconds

All the VFX desktop Forths let you do this:
123 MS
There may be a 1 ms jitter.

On the embedded systems, you choose your own timer granularity, which we
normally set to 1 ms.

Stephen
--
Stephen Pelc, stephen@vfxforth.com
MicroProcessor Engineering Ltd - More Real, Less Time
133 Hill Lane, Southampton SO15 5AF, England
tel: +44 (0)23 8063 1441, +44 (0)78 0390 3612, +34 649 662 974
http://www.mpeforth.com - free VFX Forth downloads

Re: Q: modern Forth with 1ms tickers

<877dax3pzx.fsf@nightsong.com>

  copy mid

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

  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: Q: modern Forth with 1ms tickers
Date: Tue, 18 Jan 2022 09:36:34 -0800
Organization: A noiseless patient Spider
Lines: 10
Message-ID: <877dax3pzx.fsf@nightsong.com>
References: <Fm7$8lMUQoB@allinger-307049.user.uni-berlin>
Mime-Version: 1.0
Content-Type: text/plain
Injection-Info: reader02.eternal-september.org; posting-host="ed01b5c22df5b007d1cd8358f3deb3c0";
logging-data="28335"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+po9H+AAoJaqInj9vl5oy4"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Cancel-Lock: sha1:ottw1EJSGT1Yi0p/jGCBy52FzQM=
sha1:Vo/AlaE4CjWB3lLgMj2OkBk+xNU=
 by: Paul Rubin - Tue, 18 Jan 2022 17:36 UTC

"Wolfgang Allinger" <all2001@spambog.com> writes:
> is there any modern Forth, wich has a timer/TICKER
> with at least 1ms resolution?

Gforth "100 ms" and "300 ms" appear to do about the right thing under
Linux. I expect they use the usleep system call which sleeps for a
specified number of microseconds. Of course there will be some
granularity and jitter under normal Linux. I don't know the situation
with gforth multitasking but I think there is some way to do it that
uses Posix threads underneath.

Re: Q: modern Forth with 1ms tickers

<1887e270-4830-4537-a1de-3981706cf9d1n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.lang.forth
X-Received: by 2002:a37:44cd:: with SMTP id r196mr19092814qka.90.1642535692735;
Tue, 18 Jan 2022 11:54:52 -0800 (PST)
X-Received: by 2002:a05:6214:21a8:: with SMTP id t8mr2836593qvc.46.1642535692616;
Tue, 18 Jan 2022 11:54:52 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!1.us.feeder.erje.net!feeder.erje.net!border1.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, 18 Jan 2022 11:54:52 -0800 (PST)
In-Reply-To: <877dax3pzx.fsf@nightsong.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2001:1c05:2f14:600:8886:e67:72f1:efb9;
posting-account=-JQ2RQoAAAB6B5tcBTSdvOqrD1HpT_Rk
NNTP-Posting-Host: 2001:1c05:2f14:600:8886:e67:72f1:efb9
References: <Fm7$8lMUQoB@allinger-307049.user.uni-berlin> <877dax3pzx.fsf@nightsong.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <1887e270-4830-4537-a1de-3981706cf9d1n@googlegroups.com>
Subject: Re: Q: modern Forth with 1ms tickers
From: mhx...@iae.nl (Marcel Hendrix)
Injection-Date: Tue, 18 Jan 2022 19:54:52 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 16
 by: Marcel Hendrix - Tue, 18 Jan 2022 19:54 UTC

On Tuesday, January 18, 2022 at 6:36:37 PM UTC+1, Paul Rubin wrote:
> "Wolfgang Allinger" <all...@spambog.com> writes:
> > is there any modern Forth, wich has a timer/TICKER
> > with at least 1ms resolution?
> Gforth "100 ms" and "300 ms" appear to do about the right thing under
> Linux. I expect they use the usleep system call which sleeps for a
> specified number of microseconds. Of course there will be some
> granularity and jitter under normal Linux.

I originally read it as a timer which can fire once every ms.
Maybe it is indeed meant to be a timer which can
fire at times accurate to within a millisecond.

Both cases are potentially difficult when Forth runs
stand alone.

-marcel

Re: Q: modern Forth with 1ms tickers

<8735lk4szm.fsf@nightsong.com>

  copy mid

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

  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: Q: modern Forth with 1ms tickers
Date: Tue, 18 Jan 2022 13:46:37 -0800
Organization: A noiseless patient Spider
Lines: 20
Message-ID: <8735lk4szm.fsf@nightsong.com>
References: <Fm7$8lMUQoB@allinger-307049.user.uni-berlin>
<877dax3pzx.fsf@nightsong.com>
<1887e270-4830-4537-a1de-3981706cf9d1n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain
Injection-Info: reader02.eternal-september.org; posting-host="ed01b5c22df5b007d1cd8358f3deb3c0";
logging-data="13357"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/fshuhSioGZAED7sPP8UeP"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Cancel-Lock: sha1:rRSBDjmcw8TAKAhm4RRduukEYPU=
sha1:fXn3s+O5pTD1YtoJPxuxY3P0J3s=
 by: Paul Rubin - Tue, 18 Jan 2022 21:46 UTC

Marcel Hendrix <mhx@iae.nl> writes:
>> > is there any modern Forth, wich has a timer/TICKER
>> > with at least 1ms resolution? ...
> I originally read it as a timer which can fire once every ms. Maybe
> it is indeed meant to be a timer which can fire at times accurate to
> within a millisecond.

I saw the request as 1ms resolution, which is what it says. Resolution
is not accuracy though I'd expect that if you ask for 37msec, then on
the average you will get close to that.

Linux with the realtime scheduler can probably do 1ms and 1khz but not
much more than that. OP, what is the hardware environment and OS (if
any) that you want to run in?

> Both cases are potentially difficult when Forth runs stand alone.

In standalone it seems doable, again if you are willing to tolerate a
bit of jitter. The Raspberry Pi Pico running at 125MHz can do a lot in
1ms. The Teensy 4.x at 600MHz can do even more.

Q: modern Forth with 1ms tickers

<164255069229.29659.16076948906805441423@media.vsta.org>

  copy mid

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

  copy link   Newsgroups: comp.lang.forth
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: van...@vsta.org (Andy Valencia)
Newsgroups: comp.lang.forth
Subject: Q: modern Forth with 1ms tickers
Date: Tue, 18 Jan 2022 16:04:52 -0800
Lines: 16
Message-ID: <164255069229.29659.16076948906805441423@media.vsta.org>
References: <Fm7$8lMUQoB@allinger-307049.user.uni-berlin>
X-Trace: individual.net zcDr1bzu38KeJ4vmhdpQkwzNFLaherlt75K+5Jcj2h/HWcnApj
X-Orig-Path: media
Cancel-Lock: sha1:zCjwEI/TDnJRPIh5dKVaimdlwKA=
User-Agent: rn.py v0.0.1
 by: Andy Valencia - Wed, 19 Jan 2022 00:04 UTC

"Wolfgang Allinger" <all2001@spambog.com> writes:
> 123 ms WAIT \ PAUSEing for 123 milli seconds

ForthOS is just clock tick resolution. Thinking out loud, I suspect
what I'd do is just sleep on a dedicated event, and use a timer from
the PIT to interrupt and kick that channel back awake. Wouldn't scale to an
arbitrary number of tasks--to do that, you'd have to keep a queue, with the
nearest pending being the one waiting for the timer pop. But it doesn't
strike me as difficult.

(Huh, I just read that Windows does high res timers by cranking up
the system clock rate while they're in use.)

Andy Valencia
Home page: https://www.vsta.org/andy/
To contact me: https://www.vsta.org/contact/andy.html

Re: Q: modern Forth with 1ms tickers

<4b6d8967-2109-43cd-87b3-1d0030724072n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.lang.forth
X-Received: by 2002:a37:8883:: with SMTP id k125mr24153667qkd.464.1642674985563; Thu, 20 Jan 2022 02:36:25 -0800 (PST)
X-Received: by 2002:a05:620a:244c:: with SMTP id h12mr12447975qkn.644.1642674985398; Thu, 20 Jan 2022 02:36:25 -0800 (PST)
Path: i2pn2.org!i2pn.org!aioe.org!news.uzoreto.com!tr1.eu1.usenetexpress.com!feeder.usenetexpress.com!tr3.iad1.usenetexpress.com!border1.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, 20 Jan 2022 02:36:25 -0800 (PST)
In-Reply-To: <Fm7$8lMUQoB@allinger-307049.user.uni-berlin>
Injection-Info: google-groups.googlegroups.com; posting-host=82.203.164.222; posting-account=bfqVhAoAAABnxNiPDFL3mSrvM7YNO32Q
NNTP-Posting-Host: 82.203.164.222
References: <Fm7$8lMUQoB@allinger-307049.user.uni-berlin>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <4b6d8967-2109-43cd-87b3-1d0030724072n@googlegroups.com>
Subject: Re: Q: modern Forth with 1ms tickers
From: oh2...@gmail.com (Mike)
Injection-Date: Thu, 20 Jan 2022 10:36:25 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 7
 by: Mike - Thu, 20 Jan 2022 10:36 UTC

On Tuesday, January 18, 2022 at 3:37:53 PM UTC+2, Wolfgang Allinger wrote:
> Hi
> is there any modern Forth, wich has a timer/TICKER with at least 1ms resolution?

Flashforth has a 1 ms tick as default.
It works with PAUSE so all the tasks can independently wait for its delay to pass.

An Arduino (Atmega 16MHz) executes maybe 10000 instructions per millisecond.

Re: Q: modern Forth with 1ms tickers

<FmF$l94zQoB@allinger-307049.user.uni-berlin>

  copy mid

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

  copy link   Newsgroups: comp.lang.forth
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: all2...@spambog.com (Wolfgang Allinger)
Newsgroups: comp.lang.forth
Subject: Re: Q: modern Forth with 1ms tickers
Date: Thu, 20 Jan 2022 13:19:00 -0300
Lines: 27
Message-ID: <FmF$l94zQoB@allinger-307049.user.uni-berlin>
References: <Fm7$8lMUQoB@allinger-307049.user.uni-berlin>
<4b6d8967-2109-43cd-87b3-1d0030724072n@googlegroups.com>
Reply-To: all2001@gmx.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: individual.net SWiq+BZNxWsBK4a6oT1pNQKu5yx8nDVmggI0K9qxyYjTzMP4Sg
Cancel-Lock: sha1:zjgKJv4/Lwud4S/X2dP4z+PCNYM=
User-Agent: OpenXP/5.0.51 (Win32)
 by: Wolfgang Allinger - Thu, 20 Jan 2022 16:19 UTC

On 20 Jan 22 at group /comp/lang/forth in article 4b6d8967-2109-43cd-87b3-1d0030724072n@googlegroups.com
<oh2aun@gmail.com> (Mike) wrote:

> On Tuesday, January 18, 2022 at 3:37:53 PM UTC+2, Wolfgang Allinger wrote:
>> Hi
>> is there any modern Forth, wich has a timer/TICKER with at least 1ms
>> resolution?

> Flashforth has a 1 ms tick as default.
> It works with PAUSE so all the tasks can independently wait for its delay to
> pass.

> An Arduino (Atmega 16MHz) executes maybe 10000 instructions per millisecond.

THX, do you have a link to Flashforth?

Saludos (an alle Vernünftigen, Rest sh. sig)
Wolfgang

--
Ich bin in Paraguay lebender Trollallergiker :) reply Adresse gesetzt!
Ich diskutiere zukünftig weniger mit Idioten, denn sie ziehen mich auf
ihr Niveau herunter und schlagen mich dort mit ihrer Erfahrung! :p
(lt. alter usenet Weisheit) iPod, iPhone, iPad, iTunes, iRak, iDiot

Re: Q: modern Forth with 1ms tickers

<sscppu$1sd4$1@gioia.aioe.org>

  copy mid

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

  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: Q: modern Forth with 1ms tickers
Date: Fri, 21 Jan 2022 10:04:27 +1100
Organization: Aioe.org NNTP Server
Message-ID: <sscppu$1sd4$1@gioia.aioe.org>
References: <Fm7$8lMUQoB@allinger-307049.user.uni-berlin>
<4b6d8967-2109-43cd-87b3-1d0030724072n@googlegroups.com>
<FmF$l94zQoB@allinger-307049.user.uni-berlin>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: gioia.aioe.org; logging-data="61860"; 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.5.0
Content-Language: en-GB
X-Notice: Filtered by postfilter v. 0.9.2
 by: dxforth - Thu, 20 Jan 2022 23:04 UTC

On 21/01/2022 03:19, Wolfgang Allinger wrote:
>
> On 20 Jan 22 at group /comp/lang/forth in article 4b6d8967-2109-43cd-87b3-1d0030724072n@googlegroups.com
> <oh2aun@gmail.com> (Mike) wrote:
>
>> On Tuesday, January 18, 2022 at 3:37:53 PM UTC+2, Wolfgang Allinger wrote:
>>> Hi
>>> is there any modern Forth, wich has a timer/TICKER with at least 1ms
>>> resolution?
>
>> Flashforth has a 1 ms tick as default.
>> It works with PAUSE so all the tasks can independently wait for its delay to
>> pass.
>
>> An Arduino (Atmega 16MHz) executes maybe 10000 instructions per millisecond.
>
> THX, do you have a link to Flashforth?
>
>
> Saludos (an alle Vernünftigen, Rest sh. sig)
> Wolfgang
>

https://flashforth.com/

https://sourceforge.net/projects/flashforth/

https://github.com/oh2aun/flashforth

Re: Q: modern Forth with 1ms tickers

<c0ed1831-812a-4cb5-b7d3-0cc19ea9802dn@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.lang.forth
X-Received: by 2002:a05:620a:1988:: with SMTP id bm8mr5225863qkb.494.1642836888748;
Fri, 21 Jan 2022 23:34:48 -0800 (PST)
X-Received: by 2002:a05:620a:408b:: with SMTP id f11mr5294387qko.56.1642836888574;
Fri, 21 Jan 2022 23:34:48 -0800 (PST)
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: Fri, 21 Jan 2022 23:34:48 -0800 (PST)
In-Reply-To: <Fm7$8lMUQoB@allinger-307049.user.uni-berlin>
Injection-Info: google-groups.googlegroups.com; posting-host=159.196.24.21; posting-account=WyLDIgoAAAAL9-lKxDxWp0Afty5A1XnH
NNTP-Posting-Host: 159.196.24.21
References: <Fm7$8lMUQoB@allinger-307049.user.uni-berlin>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <c0ed1831-812a-4cb5-b7d3-0cc19ea9802dn@googlegroups.com>
Subject: Re: Q: modern Forth with 1ms tickers
From: waynemor...@gmail.com (Wayne morellini)
Injection-Date: Sat, 22 Jan 2022 07:34:48 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 33
 by: Wayne morellini - Sat, 22 Jan 2022 07:34 UTC

On Tuesday, January 18, 2022 at 11:37:53 PM UTC+10, Wolfgang Allinger wrote:
> Hi
> is there any modern Forth, wich has a timer/TICKER
> with at least 1ms resolution?
>
> so I can do in a Multitasker something like
>
> ..
> ..
> 123 ms WAIT \ PAUSEing for 123 milli seconds
> ..
>
> THX
>
>
> Saludos (an alle Vernünftigen, Rest sh. sig)
> Wolfgang
>
> --
> Ich bin in Paraguay lebender Trollallergiker :) reply Adresse gesetzt!
> Ich diskutiere zukünftig weniger mit Idioten, denn sie ziehen mich auf
> ihr Niveau herunter und schlagen mich dort mit ihrer Erfahrung! :p
> (lt. alter usenet Weisheit) iPod, iPhone, iPad, iTunes, iRak, iDiot

We are still working in milliseconds. No wonder GA exists. Hasn't the industry figured out to do nanoseconds in hardware by now. My hardware proposal decades ago, would be using less than billionths a second by now. The hardware industry is bone head dead!

I hope that 6Ghz forth chip has 1 to 10 of thousands, like had been proposed years ago, of 6ghz CPUs, that will put an end to things. That would be possible in current high end thermal packages.

Re: Q: modern Forth with 1ms tickers

<2a34eb6a-ecc7-40b6-b16f-ad75a2de7381n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.lang.forth
X-Received: by 2002:a05:620a:370d:: with SMTP id de13mr5479211qkb.229.1642847769714;
Sat, 22 Jan 2022 02:36:09 -0800 (PST)
X-Received: by 2002:a05:622a:148d:: with SMTP id t13mr6311186qtx.86.1642847769574;
Sat, 22 Jan 2022 02:36:09 -0800 (PST)
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: Sat, 22 Jan 2022 02:36:09 -0800 (PST)
In-Reply-To: <c0ed1831-812a-4cb5-b7d3-0cc19ea9802dn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=202.153.83.178; posting-account=AqNUYgoAAADmkK2pN-RKms8sww57W0Iw
NNTP-Posting-Host: 202.153.83.178
References: <Fm7$8lMUQoB@allinger-307049.user.uni-berlin> <c0ed1831-812a-4cb5-b7d3-0cc19ea9802dn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <2a34eb6a-ecc7-40b6-b16f-ad75a2de7381n@googlegroups.com>
Subject: Re: Q: modern Forth with 1ms tickers
From: minfo...@arcor.de (minf...@arcor.de)
Injection-Date: Sat, 22 Jan 2022 10:36:09 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 47
 by: minf...@arcor.de - Sat, 22 Jan 2022 10:36 UTC

Wayne morellini schrieb am Samstag, 22. Januar 2022 um 08:34:49 UTC+1:
> On Tuesday, January 18, 2022 at 11:37:53 PM UTC+10, Wolfgang Allinger wrote:
> > Hi
> > is there any modern Forth, wich has a timer/TICKER
> > with at least 1ms resolution?
> >
> > so I can do in a Multitasker something like
> >
> > ..
> > ..
> > 123 ms WAIT \ PAUSEing for 123 milli seconds
> > ..
> >
> > THX
> >
> >
> > Saludos (an alle Vernünftigen, Rest sh. sig)
> > Wolfgang
> >
> > --
> > Ich bin in Paraguay lebender Trollallergiker :) reply Adresse gesetzt!
> > Ich diskutiere zukünftig weniger mit Idioten, denn sie ziehen mich auf
> > ihr Niveau herunter und schlagen mich dort mit ihrer Erfahrung! :p
> > (lt. alter usenet Weisheit) iPod, iPhone, iPad, iTunes, iRak, iDiot
> We are still working in milliseconds. No wonder GA exists. Hasn't the industry figured out to do nanoseconds in hardware by now. My hardware proposal decades ago, would be using less than billionths a second by now. The hardware industry is bone head dead!
>
> I hope that 6Ghz forth chip has 1 to 10 of thousands, like had been proposed years ago, of 6ghz CPUs, that will put an end to things. That would be possible in current high end thermal packages.

FWIW industrial safety shutdown systems eg. for steam turbines require reaction times of
of about 1 to 5 milliseconds. Most 'normal' safety systems can live with 10 to 50 ms.

Burn away at higher frequencies may have an adversary effect, namely reducing
statistical lifetime of electrical components. Let alone excessive energy consumption.

IOW reaction times or polling frequencies have to be optimized for the application.

Re: Q: modern Forth with 1ms tickers

<90792b5b-d0a0-45b2-95ae-40ba733f8684n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.lang.forth
X-Received: by 2002:a05:6214:1c09:: with SMTP id u9mr7903433qvc.4.1642857039034;
Sat, 22 Jan 2022 05:10:39 -0800 (PST)
X-Received: by 2002:ae9:f307:: with SMTP id p7mr5833740qkg.609.1642857038888;
Sat, 22 Jan 2022 05:10:38 -0800 (PST)
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: Sat, 22 Jan 2022 05:10:38 -0800 (PST)
In-Reply-To: <2a34eb6a-ecc7-40b6-b16f-ad75a2de7381n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=49.182.84.217; posting-account=WyLDIgoAAAAL9-lKxDxWp0Afty5A1XnH
NNTP-Posting-Host: 49.182.84.217
References: <Fm7$8lMUQoB@allinger-307049.user.uni-berlin> <c0ed1831-812a-4cb5-b7d3-0cc19ea9802dn@googlegroups.com>
<2a34eb6a-ecc7-40b6-b16f-ad75a2de7381n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <90792b5b-d0a0-45b2-95ae-40ba733f8684n@googlegroups.com>
Subject: Re: Q: modern Forth with 1ms tickers
From: waynemor...@gmail.com (Wayne morellini)
Injection-Date: Sat, 22 Jan 2022 13:10:39 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 55
 by: Wayne morellini - Sat, 22 Jan 2022 13:10 UTC

On Saturday, January 22, 2022 at 8:36:10 PM UTC+10, minf...@arcor.de wrote:
> Wayne morellini schrieb am Samstag, 22. Januar 2022 um 08:34:49 UTC+1:
> > On Tuesday, January 18, 2022 at 11:37:53 PM UTC+10, Wolfgang Allinger wrote:
> > > Hi
> > > is there any modern Forth, wich has a timer/TICKER
> > > with at least 1ms resolution?
> > >
> > > so I can do in a Multitasker something like
> > >
> > > ..
> > > ..
> > > 123 ms WAIT \ PAUSEing for 123 milli seconds
> > > ..
> > >
> > > THX
> > >
> > >
> > > Saludos (an alle Vernünftigen, Rest sh. sig)
> > > Wolfgang
> > >
> > > --
> > > Ich bin in Paraguay lebender Trollallergiker :) reply Adresse gesetzt!
> > > Ich diskutiere zukünftig weniger mit Idioten, denn sie ziehen mich auf
> > > ihr Niveau herunter und schlagen mich dort mit ihrer Erfahrung! :p
> > > (lt. alter usenet Weisheit) iPod, iPhone, iPad, iTunes, iRak, iDiot
> > We are still working in milliseconds. No wonder GA exists. Hasn't the industry figured out to do nanoseconds in hardware by now. My hardware proposal decades ago, would be using less than billionths a second by now. The hardware industry is bone head dead!
> >
> > I hope that 6Ghz forth chip has 1 to 10 of thousands, like had been proposed years ago, of 6ghz CPUs, that will put an end to things. That would be possible in current high end thermal packages.
> FWIW industrial safety shutdown systems eg. for steam turbines require reaction times of
> of about 1 to 5 milliseconds. Most 'normal' safety systems can live with 10 to 50 ms.
>
> Burn away at higher frequencies may have an adversary effect, namely reducing
> statistical lifetime of electrical components. Let alone excessive energy consumption.
>
> IOW reaction times or polling frequencies have to be optimized for the application.

Thanks. I was referring to the statement that indicated there didn't seem support for faster, which is needed. Also I'm referring to technology a lot superior to what you are talking about, without poling, and with piling, is ok, depending on how it's designed. This is a statement on hardware design and system support. There is high need for faster potential switching in higher data flows now.

Re: Q: modern Forth with 1ms tickers

<sskte9$5ru$1@gioia.aioe.org>

  copy mid

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

  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: Q: modern Forth with 1ms tickers
Date: Mon, 24 Jan 2022 11:55:38 +1100
Organization: Aioe.org NNTP Server
Message-ID: <sskte9$5ru$1@gioia.aioe.org>
References: <Fm7$8lMUQoB@allinger-307049.user.uni-berlin>
<4b6d8967-2109-43cd-87b3-1d0030724072n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: gioia.aioe.org; logging-data="6014"; 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.5.0
Content-Language: en-GB
X-Notice: Filtered by postfilter v. 0.9.2
 by: dxforth - Mon, 24 Jan 2022 00:55 UTC

On 20/01/2022 21:36, Mike wrote:
> On Tuesday, January 18, 2022 at 3:37:53 PM UTC+2, Wolfgang Allinger wrote:
>> Hi
>> is there any modern Forth, wich has a timer/TICKER with at least 1ms resolution?
>
> Flashforth has a 1 ms tick as default.
> It works with PAUSE so all the tasks can independently wait for its delay to pass.
>
> An Arduino (Atmega 16MHz) executes maybe 10000 instructions per millisecond.

Speaking of timing and FlashForth for the Atmega here's a discussion involving a
practical application.

https://joecreager.com/better-resolution-and-accuracy-with-the-hc-sr04-and-flashforth/

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor