nedoPC.org

Community for electronics hobbyists, established in 2002
Last visit was: 08 Nov 2024 15:56
It is currently 08 Nov 2024 15:56



 [ 3 posts ] 
Онлайн симулятор Wokwi 
Author Message
Senior

Joined: 12 Jan 2023 07:26
Posts: 165
Интересно, что на площадке https://wokwi.com/
запустился кем то добавленный код EspForth для ESP32 EspForth on wokwi
и даже можно лицезреть Форт консоль и ввести, к примеру, слово WORDS.
Скопировал вывод слов с консоли wrote:
E (772) SPIFFS: spiffs partition could not be found
ESP32forth v7.0.5.4 - rev c7474b756beb296dd1316d241a218cd4e4041b77
ok
-->forth editor list copy thru load flush update empty-buffers buffer block save-buffers
default-use use open-blocks block-id scr block-fid telnetd bterm timers registers
webui login web-interface streams +to to ; { (local) words vlist order see .s
startswith? str= :noname SMUDGE forget dump assert reset revive startup: remember
restore save dump-file include included rtos interrupts sockets Serial ledc
SPIFFS SD_MMC WiFi WebServer Wire resize free allocate ok LED OUTPUT INPUT HIGH
LOW page tone freq duty adc pin ms start-task task pause tasks internals sealed
also only transfer{ }transfer transfer definitions vocabulary [IF] [ELSE] [THEN]
DEFINED? ok quit evaluate prompt refill tib echo fill cmove> cmove z>s s>z r|
r" z" ." s" zplace $place n. ? . u. binary decimal octal hex str #> sign #s
# hold <# extract pad hld cr space emit bye key? key type is defer +to to value-bind
value throw catch handler j i loop +loop leave unloop ?do do next for nest-depth
depth rp0 sp0 variable constant postpone >body >flags >link >link& >name abs
max min recurse aft repeat while else if then ahead until again begin literal
[char] char ['] ' ] [ c, , align aligned allot here context current base state
>in #tib 'tib 2! 2@ 2dup 2drop cell/ cells cell+ +! 4/ 4* 2/ 2* 1- 1+ nl bl
0<> <> = >= <= > < -rot rot - negate invert mod / /mod * */ rdrop nip \ ( ;
EXIT : IMMEDIATE DOES> CREATE S>NUMBER? PARSE FIND CELL EXECUTE R@ R> >R RP!
RP@ SP! SP@ C! L! ! C@ L@ @ DROP OVER SWAP DUP XOR OR AND RSHIFT LSHIFT */MOD
U/MOD + 0< 0= timer_isr_register accept SD_MMC.begin MDNS.begin FILE-SIZE RESIZE-FILE
REPOSITION-FILE FILE-POSITION READ-FILE WRITE-FILE DELETE-FILE CREATE-FILE OPEN-FILE
FLUSH-FILE CLOSE-FILE BIN W/O R/W R/O TERMINATE MS-TICKS dacWrite pulseIn analogRead
digitalRead digitalWrite pinMode
ok
-->

ESP32 FORTH в поисковом запросе с Github


26 Mar 2023 18:59
Admin
User avatar

Joined: 08 Jan 2003 23:22
Posts: 23398
Location: Silicon Valley
Wokwi у нас немного затрагивался:
http://www.nedopc.org/forum/viewtopic.php?f=68&t=21972&hilit=wokwi
http://www.nedopc.org/forum/viewtopic.php?f=68&t=21906&hilit=wokwi

Все мои проекты там можно поглядеть вот по этому линку:
https://wokwi.com/makers/shaos

_________________
https://mastodon.social/@Shaos :dj:
https://www.youtube.com/@Shaos1973


26 Mar 2023 20:09 WWW
Admin
User avatar

Joined: 08 Jan 2003 23:22
Posts: 23398
Location: Silicon Valley
Наконец-то авторы Wokwi вняли моим многочисленным просьбам (и после полутора лет ежемесячных донатов на эту тему) и сделали "junction" - возможность ставить точки на проводах для ответвления (раньше можно было только от входов к выходам компонентов одиночные линии проводить) :lol:


You do not have the required permissions to view the files attached to this post.

_________________
https://mastodon.social/@Shaos :dj:
https://www.youtube.com/@Shaos1973


24 May 2024 23:44 WWW
 [ 3 posts ] 

Who is online

Users browsing this forum: Claude AI [Bot] and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software.