Commit Graph

58 Commits

Author SHA1 Message Date
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
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
d78953151a Tweaking include order to avoid b0, b1, etc. macro clash, bump version. 2023-01-14 23:14:01 -08:00
2f79192ea0 Refactor fault handling. 2023-01-14 22:28:38 -08:00
3ba96a284f Bump version. 2023-01-14 15:06:25 -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
3d1cf4b93c Making [IF] [THEN] work at console, bumping version. 2023-01-03 21:01:51 -08:00
5afdbf0423 Adding posix signal handling. 2022-12-31 16:21:43 -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
8ee1eafef6 Adding import + fix bug in web Find. 2022-11-18 20:11:19 -08:00
dd607401e4 Tweaking audio and web yield logic. 2022-11-17 22:55:21 -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
447c63a6f0 Adding RISC-V assembler/disassembler.
Probably should be conditionally added for ESP32-C3 only.
2022-11-11 23:25:34 -08:00
23ec00d7cd Bump version number. 2022-11-07 22:52:57 -08:00
e69c1dba0c WIP Xtensa Assembler/Disassembler. 2022-10-21 20:07:26 -07:00
97ab39160a Fixed Serial2 issue for ESP32C3, added arduino-build. 2022-10-08 13:02:38 -07:00
58f5cb249d Simple CASE implementation. 2022-09-23 22:42:05 -07:00
234d85bf71 Add mkdir, cd, and more, refactor. 2022-09-05 21:25:46 -07:00
8bed92bef9 Start of adding code word support. 2022-09-04 16:58:11 -07:00
17a8dbbf59 Fixed up bterm to work on tighter devices.
Added way to RELINQUISH part of the forth heap.
key? for bluetooth serial.
2022-09-04 14:39:28 -07:00
dfd519ad12 Added more camera bindings. 2022-08-14 14:13:36 -07:00
bbf400d656 Bumping version. 2022-08-12 21:52:43 -07:00
1ed8d074ae Adding visual editor. 2022-08-12 21:52:11 -07:00
5277b6dbbb Adding many, but not all ansi escape codes to web. 2022-08-09 23:23:56 -07:00
5194234da3 Bump version. 2022-07-30 15:12:20 -07:00
1aacfd24ba Tweaks for mobile. 2022-07-20 23:20:30 -07:00
26e993110b Move web platform system calls into a separate file. 2022-07-18 19:56:00 -07:00
ab39e3275f Make d8 tests optional. 2022-07-18 10:04:42 -07:00
8d5eb8d058 Add asm.js sanity test. 2022-07-14 23:07:09 -07:00
e21193f991 Fix version labelling. 2022-07-14 22:10:57 -07:00
e24be23281 Incorporating web version, bumping version. 2022-07-14 21:19:09 -07:00
50e77e3b3d Fixing web finish. 2022-07-14 16:51:21 -07:00
8066bfb2e8 More shuffling. 2022-07-14 11:04:18 -07:00
3da2f4bfd3 Fixing out web boot order. 2022-07-13 22:44:39 -07:00
ff31b4e739 Hacky version of SSMOD for now on web. 2022-07-13 22:12:14 -07:00
09fb5b9bb9 Restructure more to allow tiers. 2022-07-13 21:31:01 -07:00
024c51ec7d Closer still on asm.js
Split apart boot.fs some more.
2022-07-13 15:18:57 -07:00
4cc02ffc96 Automate g_sys structure handling for web. 2022-07-10 21:25:22 -07:00
992f243c09 Refactor our bits.h to help with asm.js version. 2022-07-10 19:38:19 -07:00
0ddfc1e07c Tweaks for asmjs. 2022-07-10 15:12:08 -07:00
ddd878ae20 Tweaks towards web version working, again... 2022-07-10 13:43:07 -07:00
a7f25d8819 Relocate common tooling. 2022-07-10 11:44:38 -07:00
dc65288423 Bump version# as we might be making 19 a new "stable" version. 2022-07-10 10:24:13 -07:00
2f2c3cb9e1 Bumping version. 2022-07-06 22:57:48 -07:00
c2d9615833 Bump version + refine crlf nil handling in accept more. 2022-06-07 23:11:01 -07:00
30707ee7d8 Merge branch 'main' of github.com:flagxor/ueforth into main 2022-06-06 23:31:35 -07:00