Тёмный

Forth is fun on the RPi Pico 

pbjtech
Подписаться 146
Просмотров 6 тыс.
50% 1

Demonstration of using Neopixel, SD FAT33, and sound effects etc

Опубликовано:

 

10 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 21   
@markmanning2921
@markmanning2921 Месяц назад
my ARM forth runs on every raspberry PI i ever bought and the beagle board, beagle bone and beagle board black and cubie board. if this is an arm device running Linux it would probably run there too,
@guidolehwalder9376
@guidolehwalder9376 2 года назад
Do you know the pinout/URL for Mecrisp-Stellaris & SDcard for the RP2040-pico without using such a breakout-board?
@pbjtech
@pbjtech 2 года назад
you can use any combinations of pins you like and just specify the 4 pins as 4 bytes in a long passed to SDPINS before mounting. I demonstrated soldering to a microSD adaptor socket and connecting to arbitrary pins with $0A0D0B0C SDPINS MOUNT - The order of bytes is in the form CS SDO SDI SDCK so CS=GP10 SDO=13 SDI=11 SDCK=12 plus there is no need for any pullups either. Besides, the card detect is carried out by sensing the pullup on the CS that is built into every card.
@pascaldagornet8338
@pascaldagornet8338 Год назад
Source listing?
@hobomaster6237
@hobomaster6237 Год назад
soo cool
@CharlesdeMAGNEVAL
@CharlesdeMAGNEVAL 2 года назад
very intresting, is there a way to get the forth on any pico ?
@nigec4969
@nigec4969 2 года назад
Yes. A .uf2 file. Connect Pico to computer with bootsel button pushed. You will see a USB drive. Copy a Mecrisp-Stellaris.uf2 file for RP2040 file onto Pico. It will reboot into Mecrisp-Stellaris Forth for Pico. I added TACHYON extensions later via Pico booted into Forth and via file transfer. You will need to talk to the PICO via a serial program. Using an FTDI USB adapter. I use TeraTerm.
@pbjtech
@pbjtech 2 года назад
Download the Mecrisp UF2 onto the Pico, fire up a terminal and then send/paste the Tachyon source etc (view the README) - Join Forth2020 on Facebook to find out more or just search for Tachyon Forth.
@pyography
@pyography Год назад
Just curious, have things made enough progress that this version can use the USB as a serial device? Not a big deal to use a separate usb serial device, just curious.
@romba6
@romba6 2 года назад
Thankyou, learnt a lot from this and hope you'll do a few more like this on the Pico
@pbjtech
@pbjtech 2 года назад
Have a look at SPLAT - the multichannel logic analyzer that I have running on the Pico. It captures timed or transitional samples and displays them on any ANSI terminal in color. There's also FRED - the Forth Rapid Embedded Development editor that hosts multiple tabbed files and also runs in an ANSI terminal. btw - default baud is 921600.
@JonMcPhalen
@JonMcPhalen Год назад
What happened to the P2D2 that so many of us paid for?
@MichaelKingsfordGray
@MichaelKingsfordGray 2 года назад
I don't recall Forth looking this cryptic. Where is the stack?
@pbjtech
@pbjtech 2 года назад
You know that you are not supposed to actually see the stack unless you explicitly ask it? Maybe you were using some kiddy version that always shows the stack but with factored code and one or two parameters then very rarely do we need to try and keep track of the stack.
@MichaelKingsfordGray
@MichaelKingsfordGray 2 года назад
@@pbjtech You assumption is so off kilter as to be amusing! I am a professional safety-critical real-time programmer, who wrote my first program for the Army in 1969. I started using Forth in the very early 1980s for safety-critical mining applications. NOT kiddy-code at all. You may not have even been born when I first used Forth, let alone when I began programming.
@pbjtech
@pbjtech 2 года назад
@@MichaelKingsfordGray I don't see any of your content anywhere but you are flying free with vague criticism. Show me what you mean by cryptic or maybe what you consider to be non-cryptic perhaps. You still haven't answered the question I asked by what do you mean "where is the stack?". This is what triggered off my kiddy-code jibe because as you should know we may use the stack, but we don't "see" the stack in source code. It is also better to factor words so that they minimize stack juggling and tracking making them easier to test etc and this also minimizes all that stack notation comments. However you are the one making a great number of assumptions anyway. I, like you started using Forth in the early 80's and designed the hardware and software for POS terminals that had to handle everything from real-time low-level keyboard scanning and printer hammers etc to high level stock and scanning functions and communications etc which resulted in major investments and partnerships with major US and Japanese players. In the 80's I also did safety critical and redundant fail-safe stuff too and even spent time working over in DFW in 90/91. So if you are going to be a critic - be specific and constructive - otherwise what point are you actually making other than blowing your own trumpet? btw, did you not think that anything that was shown wasn't cool? I have implemented FAT32, a logic analyzer, a multitab full screen editor, an ARM macroassembler etc. Not good enough or something?
@himselfe
@himselfe Год назад
@@pbjtech evidently he's a troll. The code would look immediately familiar to anyone with experience of forth. I realize this comment is 2 months old, but pay little attention to people like this, I enjoyed your video!
@IntenseGrid
@IntenseGrid 2 года назад
The P2 community misses you.
@pbjtech
@pbjtech 2 года назад
Is there much happening there lately? I thought it was still going around in little circles and developing compilers but no real applications, just demos..
@TheUnofficialMaker
@TheUnofficialMaker 2 года назад
No joy very confusing old stuff!
@pbjtech
@pbjtech 2 года назад
"Ninafurahia kutumia Forth" might sound confusing to many but not to more than 200 million people. The RP2040 and P2 etc are all new new new chips - not old ATMEGA stuff - and nothing comes close to the combination of speed, interactivity and compactness of Forth that is hosted on the tiny chip itself - not on the PC like the bloated compilers and IDEs and libraries that abound.
Далее
FORTH - Better than BASIC?
14:30
Просмотров 39 тыс.
RP2040 Multitasking  /  Mecrisp Forth  /  Tiny2040
9:19
Run Forth On The Raspberry Pi Pico  /  Mecrisp
13:43
Просмотров 14 тыс.
GBForth: Using Forth to understand the Game Boy
29:31
Agon Light C Programming - An Introduction
8:32
Просмотров 3,7 тыс.
Agon Light 2 - so many moslets!!!
35:09
Просмотров 692