Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

Calm down, it's *____only* ones and zeroes.


devel / comp.lang.forth / Re: GRAPHIC CONSTANTS with eFORTH web

SubjectAuthor
* GRAPHIC CONSTANTS with eFORTH webMarc Petremann
`* Re: GRAPHIC CONSTANTS with eFORTH webMarc Petremann
 +* Re: GRAPHIC CONSTANTS with eFORTH webZbig
 |`* Re: GRAPHIC CONSTANTS with eFORTH webZbig
 | `- Re: GRAPHIC CONSTANTS with eFORTH webZbig
 `- Re: GRAPHIC CONSTANTS with eFORTH webSpainHackForth

1
GRAPHIC CONSTANTS with eFORTH web

<f8b7d655-5056-409d-9323-9697ae90cc14n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.lang.forth
X-Received: by 2002:a05:620a:179f:b0:757:7aa1:130 with SMTP id ay31-20020a05620a179f00b007577aa10130mr3427601qkb.9.1683753138286;
Wed, 10 May 2023 14:12:18 -0700 (PDT)
X-Received: by 2002:a05:620a:46a4:b0:74e:2894:7ea2 with SMTP id
bq36-20020a05620a46a400b0074e28947ea2mr6431480qkb.8.1683753138051; Wed, 10
May 2023 14:12:18 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!newsreader4.netcologne.de!news.netcologne.de!peer01.ams1!peer.ams1.xlned.com!news.xlned.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: Wed, 10 May 2023 14:12:17 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=90.37.82.213; posting-account=xbxuywoAAAASFWsQBmiz40gnxDBWDrxx
NNTP-Posting-Host: 90.37.82.213
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <f8b7d655-5056-409d-9323-9697ae90cc14n@googlegroups.com>
Subject: GRAPHIC CONSTANTS with eFORTH web
From: mpetrema...@gmail.com (Marc Petremann)
Injection-Date: Wed, 10 May 2023 21:12:18 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1467
 by: Marc Petremann - Wed, 10 May 2023 21:12 UTC

Hi,
Create true graphical constants with eFORTH web.
Listing here:
https://github.com/MPETREMANN11/uEforth/blob/main/web/TESTS/GRAPHIC_CONSTANTS.html
The newPath2D: word is used to create a word which then functions as a FORTH constant. Example:
s" ...svg commands..." newPath2D: myDraw
To display myDraw it must be preceded by the position x y in canvas. Example:
10 10 myDraw

Re: GRAPHIC CONSTANTS with eFORTH web

<990cfb3c-10c2-42e1-a462-9f080c5e8a2fn@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.lang.forth
X-Received: by 2002:a05:622a:16:b0:3de:bafb:82b0 with SMTP id x22-20020a05622a001600b003debafb82b0mr8977929qtw.6.1683911156202;
Fri, 12 May 2023 10:05:56 -0700 (PDT)
X-Received: by 2002:a05:622a:85:b0:3f4:7d9a:934e with SMTP id
o5-20020a05622a008500b003f47d9a934emr2872937qtw.11.1683911155960; Fri, 12 May
2023 10:05:55 -0700 (PDT)
Path: i2pn2.org!i2pn.org!news.chmurka.net!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: Fri, 12 May 2023 10:05:55 -0700 (PDT)
In-Reply-To: <f8b7d655-5056-409d-9323-9697ae90cc14n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=90.37.82.213; posting-account=xbxuywoAAAASFWsQBmiz40gnxDBWDrxx
NNTP-Posting-Host: 90.37.82.213
References: <f8b7d655-5056-409d-9323-9697ae90cc14n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <990cfb3c-10c2-42e1-a462-9f080c5e8a2fn@googlegroups.com>
Subject: Re: GRAPHIC CONSTANTS with eFORTH web
From: mpetrema...@gmail.com (Marc Petremann)
Injection-Date: Fri, 12 May 2023 17:05:56 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2052
 by: Marc Petremann - Fri, 12 May 2023 17:05 UTC

Le mercredi 10 mai 2023 à 23:12:19 UTC+2, Marc Petremann a écrit :
> Hi,
> Create true graphical constants with eFORTH web.
> Listing here:
> https://github.com/MPETREMANN11/uEforth/blob/main/web/TESTS/GRAPHIC_CONSTANTS.html
> The newPath2D: word is used to create a word which then functions as a FORTH constant. Example:
> s" ...svg commands..." newPath2D: myDraw
> To display myDraw it must be preceded by the position x y in canvas. Example:
> 10 10 myDraw

New article:
https://eforth.arduino-forth.com/article/installation_web_graphic_graphicConstants

For example, how drawing a logic AND GATE:

s" M 0 8 h 10 Z
M 0 20 h 10 Z
M 10 0 v 28 h 24
a 16 -14 0 0 0 0 -28
h -24 Z
M 50 14 h 10 Z " newPath2D: GATE_AND

10 10 GATE_AND
10 50 GATE_AND

Re: GRAPHIC CONSTANTS with eFORTH web

<cb2ea32d-7d23-4474-84c5-98085db0effbn@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.lang.forth
X-Received: by 2002:ad4:4f04:0:b0:61b:5912:b476 with SMTP id fb4-20020ad44f04000000b0061b5912b476mr5041870qvb.4.1684090652430;
Sun, 14 May 2023 11:57:32 -0700 (PDT)
X-Received: by 2002:a05:620a:178a:b0:759:41f7:4688 with SMTP id
ay10-20020a05620a178a00b0075941f74688mr752242qkb.14.1684090652152; Sun, 14
May 2023 11:57:32 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border-2.nntp.ord.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, 14 May 2023 11:57:31 -0700 (PDT)
In-Reply-To: <990cfb3c-10c2-42e1-a462-9f080c5e8a2fn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=83.22.136.2; posting-account=cxuXKwoAAABQpPOMD55A9IPz7pPrw6ml
NNTP-Posting-Host: 83.22.136.2
References: <f8b7d655-5056-409d-9323-9697ae90cc14n@googlegroups.com> <990cfb3c-10c2-42e1-a462-9f080c5e8a2fn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <cb2ea32d-7d23-4474-84c5-98085db0effbn@googlegroups.com>
Subject: Re: GRAPHIC CONSTANTS with eFORTH web
From: zbigniew...@gmail.com (Zbig)
Injection-Date: Sun, 14 May 2023 18:57:32 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 6
 by: Zbig - Sun, 14 May 2023 18:57 UTC

I tried to flash development board „WeMos D1 ESP32 R32 WROOM-32 WiFi”
using the procedure you've described on your page, the flashing utility
reported it has been done, but — unfortunately — there's no answer when
I started the terminal.
Is the binary from your page unsuitable for WROOM variant?

Re: GRAPHIC CONSTANTS with eFORTH web

<6886bdb0-db5f-46c7-b851-38bf47975d2an@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.lang.forth
X-Received: by 2002:a05:620a:3199:b0:74e:ec0:438 with SMTP id bi25-20020a05620a319900b0074e0ec00438mr10957935qkb.1.1684094759252;
Sun, 14 May 2023 13:05:59 -0700 (PDT)
X-Received: by 2002:a05:6214:1621:b0:621:3580:9cbb with SMTP id
e1-20020a056214162100b0062135809cbbmr2808420qvw.7.1684094758983; Sun, 14 May
2023 13:05:58 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!1.us.feeder.erje.net!3.us.feeder.erje.net!feeder.erje.net!border-1.nntp.ord.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, 14 May 2023 13:05:58 -0700 (PDT)
In-Reply-To: <cb2ea32d-7d23-4474-84c5-98085db0effbn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=83.22.136.2; posting-account=cxuXKwoAAABQpPOMD55A9IPz7pPrw6ml
NNTP-Posting-Host: 83.22.136.2
References: <f8b7d655-5056-409d-9323-9697ae90cc14n@googlegroups.com>
<990cfb3c-10c2-42e1-a462-9f080c5e8a2fn@googlegroups.com> <cb2ea32d-7d23-4474-84c5-98085db0effbn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <6886bdb0-db5f-46c7-b851-38bf47975d2an@googlegroups.com>
Subject: Re: GRAPHIC CONSTANTS with eFORTH web
From: zbigniew...@gmail.com (Zbig)
Injection-Date: Sun, 14 May 2023 20:05:59 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 42
 by: Zbig - Sun, 14 May 2023 20:05 UTC

Oh, I forgot — when I press „boot” button it spits out error message:

ets Jul 29 2019 12:21:46

rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0018,len:4
load:0x3fff001c,len:5564
load:0x40078000,len:0
load:0x40078000,len:13756
entry 0x40078fb4
I (29) boot: ESP-IDF v3.0.3 2nd stage bootloader
I (29) boot: compile time 08:53:32
I (29) boot: Enabling RNG early entropy source...
I (34) boot: SPI Speed : 40MHz
I (38) boot: SPI Mode : DIO
I (42) boot: SPI Flash Size : 4MB
E (46) flash_parts: partition 4 invalid magic number 0xebeb
E (52) boot: Failed to verify partition table
E (57) boot: load partition table error!
user code done

Re: GRAPHIC CONSTANTS with eFORTH web

<48c60102-6316-40fc-9dd7-adfd31119ba0n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.lang.forth
X-Received: by 2002:a05:620a:4096:b0:759:513c:d117 with SMTP id f22-20020a05620a409600b00759513cd117mr933536qko.11.1684162055894;
Mon, 15 May 2023 07:47:35 -0700 (PDT)
X-Received: by 2002:a05:620a:29d3:b0:759:4f63:2a2c with SMTP id
s19-20020a05620a29d300b007594f632a2cmr1163842qkp.7.1684162055604; Mon, 15 May
2023 07:47:35 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!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, 15 May 2023 07:47:35 -0700 (PDT)
In-Reply-To: <6886bdb0-db5f-46c7-b851-38bf47975d2an@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=83.22.136.2; posting-account=cxuXKwoAAABQpPOMD55A9IPz7pPrw6ml
NNTP-Posting-Host: 83.22.136.2
References: <f8b7d655-5056-409d-9323-9697ae90cc14n@googlegroups.com>
<990cfb3c-10c2-42e1-a462-9f080c5e8a2fn@googlegroups.com> <cb2ea32d-7d23-4474-84c5-98085db0effbn@googlegroups.com>
<6886bdb0-db5f-46c7-b851-38bf47975d2an@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <48c60102-6316-40fc-9dd7-adfd31119ba0n@googlegroups.com>
Subject: Re: GRAPHIC CONSTANTS with eFORTH web
From: zbigniew...@gmail.com (Zbig)
Injection-Date: Mon, 15 May 2023 14:47:35 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2717
 by: Zbig - Mon, 15 May 2023 14:47 UTC

OK, I managed this somehow. So here's the correct procedure
how to flash your Forth while working within Linux environment,
using esptool.py:

1. If the devboard got messed up — like I spoiled mine, trying to
follow the procedure you've described on your pages — firstly
there's a need to reinstall the bootloader. The bootloader I used is
the one to be found in the file available at
https://download.espressif.com/esp_at/firmware/ESP32/ESP32_WROOM/ESP32-WROOM-32_AT_Bin_V2.4.0.0.zip
(the file bootloader.bin in the bootloader sub-dir)

a) Erase the flash memory:
esptool.py --port /dev/ttyUSB0 --chip esp32 erase_flash
b) Flash the bootloader into memory:
esptool.py --port /dev/ttyUSB0 --chip esp32 write_flash 0x1000 bootloader.bin

Of course if the board in use shows up at different port than USB0,
that need to be changed in the spells listed above.

2. Flash the Forth files:
esptool.py --port /dev/ttyUSB0 --chip esp32 write_flash \
0x8000 ESP32forthV70610_extended.ino.partitions.bin \
0x10000 ESP32forthV70610_extended.ino.bin

Yes, now it seems to be working at last. Testing two different devboards.

Does there exist any doc to ESP32Forth? Any „reference guide”
or anything like that? I hope not just these few clues listed on your WWW
pages — and the whole rest one needs to guess?

Re: GRAPHIC CONSTANTS with eFORTH web

<eab29894-df85-4e8f-9b60-781cbee99541n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.lang.forth
X-Received: by 2002:a05:622a:1a83:b0:3f9:b637:4d3a with SMTP id s3-20020a05622a1a8300b003f9b6374d3amr2229265qtc.8.1686494208040;
Sun, 11 Jun 2023 07:36:48 -0700 (PDT)
X-Received: by 2002:ad4:5a4e:0:b0:621:6a09:e57d with SMTP id
ej14-20020ad45a4e000000b006216a09e57dmr752432qvb.4.1686494207788; Sun, 11 Jun
2023 07:36:47 -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: Sun, 11 Jun 2023 07:36:47 -0700 (PDT)
In-Reply-To: <990cfb3c-10c2-42e1-a462-9f080c5e8a2fn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=81.33.180.135; posting-account=oUnEFAoAAADoKEMDaPmswUef8xS_aFfv
NNTP-Posting-Host: 81.33.180.135
References: <f8b7d655-5056-409d-9323-9697ae90cc14n@googlegroups.com> <990cfb3c-10c2-42e1-a462-9f080c5e8a2fn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <eab29894-df85-4e8f-9b60-781cbee99541n@googlegroups.com>
Subject: Re: GRAPHIC CONSTANTS with eFORTH web
From: jem...@gmail.com (SpainHackForth)
Injection-Date: Sun, 11 Jun 2023 14:36:48 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2353
 by: SpainHackForth - Sun, 11 Jun 2023 14:36 UTC

On Friday, May 12, 2023 at 7:05:57 PM UTC+2, Marc Petremann wrote:
> Le mercredi 10 mai 2023 à 23:12:19 UTC+2, Marc Petremann a écrit :
> > Hi,
> > Create true graphical constants with eFORTH web.
> > Listing here:
> > https://github.com/MPETREMANN11/uEforth/blob/main/web/TESTS/GRAPHIC_CONSTANTS.html
> > The newPath2D: word is used to create a word which then functions as a FORTH constant. Example:
> > s" ...svg commands..." newPath2D: myDraw
> > To display myDraw it must be preceded by the position x y in canvas. Example:
> > 10 10 myDraw
> New article:
> https://eforth.arduino-forth.com/article/installation_web_graphic_graphicConstants
>
> For example, how drawing a logic AND GATE:
>
> s" M 0 8 h 10 Z
> M 0 20 h 10 Z
> M 10 0 v 28 h 24
> a 16 -14 0 0 0 0 -28
> h -24 Z
> M 50 14 h 10 Z " newPath2D: GATE_AND
>
> 10 10 GATE_AND
> 10 50 GATE_AND
That is pretty cool ! I’ve not done much on the graphical side of things… but looks like a promising path to test and experiments.


devel / comp.lang.forth / Re: GRAPHIC CONSTANTS with eFORTH web

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor