Commit Graph

682 Commits

Author SHA1 Message Date
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
3d1cf4b93c Making [IF] [THEN] work at console, bumping version. 2023-01-03 21:01:51 -08:00
a1a934397d Fix branch decoding. 2023-01-02 21:08:53 -08:00
1b52ba02d1 trying to make ctrl-c work on windows. 2022-12-31 23:02:15 -08:00
b720575fb2 Adding exception handling for windows. 2022-12-31 22:13:19 -08:00
1c500c2233 Simplify terminate + bye + fix build. 2022-12-31 21:02:04 -08:00
d60606b4c8 Fix bug in signals for posix. 2022-12-31 19:26:20 -08:00
5afdbf0423 Adding posix signal handling. 2022-12-31 16:21:43 -08:00
f77a65ce3c Add more to makefile. 2022-11-25 16:53:10 -08:00
d801d14540 Updating makefile and readme. 2022-11-25 16:52:13 -08:00
4052ebcb81 Drop flag causing compatibilities issues on raspberry pi w/ gcc. 2022-11-25 13:48:53 -08:00
595ed9e829 Ameliorate race condition with web import. 2022-11-19 22:37:29 -08:00
80fb47f87b Fix name clash between visual vocab + name in posix grapihcs. 2022-11-19 22:05:55 -08:00
d5675806fc More bindings. 2022-11-19 00:54:45 -08:00
7758bd3ba7 Fix picker bug. 2022-11-19 00:31:46 -08:00
e8bb29eff7 Various improvments. 2022-11-18 23:42:03 -08:00
e9181479fc Improving mouse and tasks. 2022-11-18 22:53:09 -08:00
8ee1eafef6 Adding import + fix bug in web Find. 2022-11-18 20:11:19 -08:00
5437048f33 Change audio approach. 2022-11-17 23:20:40 -08:00
dd607401e4 Tweaking audio and web yield logic. 2022-11-17 22:55:21 -08:00
279b391a28 Handle return value better in JS bindings. 2022-11-17 20:42:20 -08:00
9e1aaedf12 Refine jsword. 2022-11-16 21:05:03 -08:00
85bb2942be Refine jseval words. 2022-11-15 22:56:40 -08:00
31947f712a Refactor jseval words. 2022-11-15 22:52:38 -08:00
a2232d49f1 Refactor, starting audio. 2022-11-15 22:39:17 -08:00
6f054fa39f Adding key iteration. 2022-11-15 21:16:33 -08:00
1baa1aa76c Adding getItem/setItem web bindings. 2022-11-14 21:26:23 -08:00
9090fc4776 Run putty in the background. 2022-11-12 08:20:00 -08:00
204f74219f Add shortcut for putty. 2022-11-12 08:13:05 -08:00