Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Notify author here #3

Open
wa1tnr opened this issue Feb 12, 2021 · 4 comments
Open

Notify author here #3

wa1tnr opened this issue Feb 12, 2021 · 4 comments

Comments

@wa1tnr
Copy link
Owner

wa1tnr commented Feb 12, 2021

Please notify me here of anything as I'll see it in email. Thanks!

@ghost
Copy link

ghost commented May 13, 2021

hello,
tried .uf2 on PICO few minutes ago, it is ok but of course, not usable out of the box as you mentioned it just echo the keys.
I hope you'll be able to finish implementing a running forth.
regards.

@wa1tnr
Copy link
Owner Author

wa1tnr commented May 13, 2021

It's implemented.

Go here:

CamelForth

and check out the tags/releases - earlier releases have simpler implementations.

Let me know if there's any problems! Thanks for looking.

@wa1tnr
Copy link
Owner Author

wa1tnr commented May 13, 2021

I just checked.

The default prebuilt UF2 runs on the Raspberry Pi Pico RP2040.

Type 'WORDS' and press enter.

It should respond. It's implemented. Is a working CamelForth.

ok 5 3 * . 15
ok

like that.

.S displays the stack:

ok 1 DUP DUP + DUP DUP + DUP DUP + .S
20003560: 1 2 4 8

The one I linked to (above) has mass storage support, so
that you can load a program (using 'reading' - press your ESC
key when done with typing in your program - or just ASCII
upload your code).

When you press ESC it'll respond with 'ESC!' and that marks
the end of your buffer.

'buf2flash' writes it out to flash.

You may want to:

ok hex 10040000 erase
ok

Then power cycle, to erase the flash where you will be
uploading your code (written in Forth, exactly as if typing
it to the 'ok' prompt).

After you've used 'erase' you can then use 'reading' and
then (after ESC is pressed) use 'buf2flash' to 'burn' your
code to the QSPI flashROM.

'buf2flash' expects an address, and 'reading' provides it
after you pressed 'ESC' on your keyboard.

None of that is in this present repository. See the one I
linked to (in the above message from me, today).

@wa1tnr
Copy link
Owner Author

wa1tnr commented May 13, 2021

Also, try both Control M and Control J (one or the other) if pressing ENTER isn't working.

Similarly, try Control H if Backspace isn't working.

They're both narrowly tailored; I don't remember the exact
expected characters that implements them.

I setup my telecom program correctly and don't think about
it much, unless I'm using another computer. When I do that,
I resort to Control J or Control M (I don't remember which)
to enter forth words into the interpreter (at the 'ok' prompt).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant