Commit Graph

710 Commits

Author SHA1 Message Date
235a4a0c45 Fix optionals, bump version.
Tried on real hardware.
2023-07-07 17:16:20 -07:00
998d619355 Fix bug in structures that don't use TYPER sizes.
Thanks Frank!
2023-07-07 16:16:00 -07:00
a5f9ca1b35 Fixed some bugs with build in modules. 2023-07-06 22:55:18 -07:00
7b74cddf2d More module decomposition.
Needs much more on device testing.
2023-07-05 22:58:03 -07:00
ea1217a162 Fix up optionals, pull out oled. 2023-07-05 21:41:21 -07:00
6884898cb1 Peel off assemblers into optional module.
Not sufficiently tested.
2023-07-05 15:00:59 -07:00
2a673c7378 fix 2023-06-19 14:51:17 -07:00
decebd0dd2 Fix bug. 2023-06-18 21:44:06 -07:00
c9abb34f2b More upload/download. 2023-06-18 20:59:24 -07:00
2e28098c53 More session state with web. 2023-06-18 20:24:37 -07:00
2ee77a2572 Tweak windows constants for clarity + missing range value. 2023-05-29 11:06:45 -07:00
60447dd11a refactor 2023-05-26 12:14:31 -07:00
a50a33cae8 refactor 2023-05-26 12:12:52 -07:00
0f47287dfa Improving path-join. 2023-05-25 19:35:13 -07:00
8c31cbd694 Adding Oofda & Poke, fix copyright notice.
Adding an experimental Object Sytem (Oofda).
Adding an experimental DI Framework (Poke).
2023-05-24 21:00:40 -07:00
8e46c227ac Bump version. 2023-05-19 23:33:45 -07:00
18e83d4dc3 Fixing web bug with RSHIFT. 2023-05-19 23:33:14 -07:00
0c113062c6 Bumping version. 2023-05-05 00:49:13 -07:00
bab72b79a7 Fix LOOP/+LOOP bug.
Forth-83 and after pick a more useful definition of how
LOOP and +LOOP should decide termination:
if the last step traversed between limit-1 and limit.

This allows for signed or unsigned loops with the same construct.

Updating to this behavior + adding test + fixing old test
that didn't match gforth.
2023-05-05 00:46:18 -07:00
705e839c62 Fix overlap of system variables for float stack. 2023-04-23 21:44:37 -07:00
c43cbfd9d9 Replumbing timers working around Arduino change.
Bumping version number and changing example.

Interrupt WDT now makes example flaky so changing.
2023-04-17 18:10:20 -07:00
c7dcbbef36 Fixing TIMG constant.
Thanks for catching mpetremann!
2023-04-08 07:22:13 -07:00
fb3db70da6 Adding text size. 2023-02-24 21:25:54 -08:00
244f16b898 Handle multiple script tags. 2023-02-24 21:04:26 -08:00
da324bdf70 Adding script load.
Still need to enhance to support script src.
2023-02-21 21:08:03 -08:00
d2c62a35b9 Make it possible to defer start, boost web memory. 2023-02-20 18:11:45 -08:00
5a40463464 Implicit ls in current directory. 2023-02-06 20:34:50 -08:00
44d550dab0 Simplify. 2023-02-05 12:41:27 -08:00
db72474bcb Label exceptions. 2023-02-05 12:22:12 -08:00
2b05d7794e Refactor inching towards risc-v fault handling. 2023-02-05 11:58:48 -08:00
9ef1ea9f90 Clean up include, autoboot, split windows, shorten start.
Drop startup timeout to 100ms.
Clean up exceptions in include.
Cleanup stack in autoboot.
Split out windows into a second string, to work around overflow issue.
2023-01-22 16:44:42 -08:00
40400b873e Cleaning up throw values around division + faults. 2023-01-22 15:08:14 -08:00
cfd70d6712 Make thrown value match standards. 2023-01-22 12:16:57 -08:00
f82e423fb4 Add abort, abort" and start on testing throw values. 2023-01-22 12:06:58 -08:00
5c918d91f6 Bump version number. 2023-01-21 21:28:55 -08:00
fe87f1574c Adding platform detection opcodes + fix assembler bug.
Adding flags to allow runtime detection of different esp32 models,
riscv vs xtensa, and psram.

Use this to conditionally compile hook for relevant assemblers.
2023-01-21 21:27:29 -08:00
adfd238ee2 Updating build to hopefully allow OSX builds.
dlsym opcode modified so that 0 for library is converted
to RTLD_DEFAULT as the two don't match on Darwin.

Made errno an opcode, as previous method depended on Linux internals.
[1] https://opensource.apple.com/source/xnu/xnu-201/osfmk/libsa/errno.h.auto.html
[2] https://pubs.opengroup.org/onlinepubs/9699919799/functions/errno.html
Placed errno in internals and then alias inside posix vocabulary,
as it seemed a waste to have another builtin stub for one symbol.
Arguably maybe dlsym should be that way too, but leaving for now.

Added OS make variable to conditionally set flags.
Set stripping / minimization options based on it.

Based off of
https://github.com/flagxor/ueforth/pull/3
Thanks Ulrich!
2023-01-21 20:11:42 -08:00
6ed9c2141e Use proper name. 2023-01-20 23:12:08 -08:00
b87d21e548 Fix bug in strcase=. 2023-01-16 13:21:38 -08:00
5189669562 Make key return -1 on EOF. 2023-01-15 19:26:56 -08:00
d78953151a Tweaking include order to avoid b0, b1, etc. macro clash, bump version. 2023-01-14 23:14:01 -08:00
75d9185027 Align PARK/UNPARK with THROW/CATCH. 2023-01-14 22:53:30 -08:00
2f79192ea0 Refactor fault handling. 2023-01-14 22:28:38 -08:00
f8cfaedc84 Adding tests for faults. 2023-01-14 18:31:33 -08:00
3dcd421576 Windows Ctrl-C working. 2023-01-14 17:38:58 -08:00
fc6c771d86 Merge branch 'main' into win_break 2023-01-14 15:06:56 -08:00
3ba96a284f Bump version. 2023-01-14 15:06:25 -08:00
106fdcb63d Shunt out more things for camera + bluetooth when not there. 2023-01-14 15:05:44 -08:00
600e82d67e Add fault handling for ESP32, ESP32-S2, and ESP32-S3.
Also bump the version.
2023-01-04 21:45:26 -08:00
b155e49a63 Intercept division by zero with a fault handler. 2023-01-04 21:17:49 -08:00