Commit graph

586 commits

Author SHA1 Message Date
crc
586b80b72a add new header fields: d:astack d:fstack & d:descr
FossilOrigin-Name: 849d884ac4162c4c6e06eff900a704b0e02e20bf70e86fccb1d9f9285be97f24
2024-09-11 14:53:40 +00:00
crc
a514c52369 all visible words now have stack comments added
FossilOrigin-Name: b6f90144f0af13ac973f6f4d5d6bbea38f8686cd218d14f6f7df03dc8dce89b8
2024-09-09 18:18:25 +00:00
crc
3962c08662 down to 10 words w/o recorded stack comments
FossilOrigin-Name: 9a36cf9d0e7ddd0131df3867aa4285f0c26ccde64ef7c193729932647d8829a3
2024-09-09 18:07:02 +00:00
crc
1611c8898b d:describe now resolves class name
FossilOrigin-Name: 2bce0e9ec38669bd4e644e949cd14baf2f75d9b76de4828bae8a788171eda0d1
2024-09-09 15:52:55 +00:00
crc
8e4faa5479 most words now have stack comments recorded
FossilOrigin-Name: a3dadc3c3eb2a5fbf6861ea99053a0b160398f01b3f9bc60aacba463f5a7025e
2024-09-09 15:49:02 +00:00
crc
86191b4e12 add stack comments for block: ffi: script: and socket: words
FossilOrigin-Name: 5aeba86e15c05847c2cac75fd2606439826d8394a0d06b92cfccc4c5d9d336d5
2024-09-09 14:45:38 +00:00
crc
8fbd1cc461 add stack comments for file: and ioctl: words
FossilOrigin-Name: 3c9e31d6487b80fa601c94335efe98ee000f688cdf6686522007fea0fb141c05
2024-09-09 14:03:18 +00:00
crc
dcefc4fb1e add stack comments for f: and e: words
FossilOrigin-Name: 561a124eeb80afd91071fbf353109218548228066a994d861b17b3b827d29262
2024-09-09 14:01:18 +00:00
crc
d6f94f656a add stack comments for words in unix:
FossilOrigin-Name: 262c0e02854588945aa72bf91f9e59ef69e9c9dfb5f5427ff58055c23897030a
2024-09-09 13:48:45 +00:00
crc
6335f78231 add extended sigil:( to save stack comments, d:describe
FossilOrigin-Name: dc80974119af1d3120f710c6c37be0616d2003233bffe4389ca82f9fe3d611d9
2024-09-09 12:49:56 +00:00
crc
9281b1b737 add a d:stack field to hold a pointer to a stack comment for a word (currently unused)
FossilOrigin-Name: 638db3d5baf3d12cf5686941e23d726c3dc3e78837ac08f1ce897e82303a1245
2024-09-09 11:50:15 +00:00
crc
16ac3a1e9d update s:filter to truncate overly long strings before filtering
FossilOrigin-Name: d019ed025bf88ed546375392c8818cc9979ab50921815731a57db643ccb80147
2024-08-28 18:53:36 +00:00
crc
4d3c938ef7 more work on s:prepend & s:append
FossilOrigin-Name: dee7513f8c955de08cb5a806765be52408856c2a2023642f03d1757ea4a11889
2024-08-28 12:57:06 +00:00
crc
7c4aaf1a1f add s:truncate, s:oversize?, s:temp now truncates overlength strings. s:append & s:prepend no longer perform append in some cases where one of the strings is too long
FossilOrigin-Name: b65e270ca07300f18ef575d32e7b176d56e56fb244aaac04782780fdcbd61c93
2024-08-06 14:31:21 +00:00
crc
5a2867cbb9 [nga-c] now truncate input tokens from files where the token is bigger than the TIB. Ensure the token is null terminated if truncated.
FossilOrigin-Name: b8175efce9504446dadb958daf9d8f16a53c95d54fa01f35e3b6566f34919f92
2024-08-06 13:32:00 +00:00
crc
5b5609688c s:get now truncates strings longer than TempStringMax rather than allowing for overwriting memory beyond the current string buffer
FossilOrigin-Name: 1d4dada029a4caa048c170c52a1af5c72c6bca2c7c2e9e8240e32d648bf42c19
2024-08-05 18:48:57 +00:00
crc
704d400029 [nga-c] corrected fix for script:name (issue #99)
FossilOrigin-Name: eca3b588f990932f2161d869df338c8cb4f96bd17b13a1fcd741526661ea3e4a
2024-07-18 10:28:00 +00:00
crc
25420eea5d [nga-c] now report 0 for script:arguments count if not running a program
FossilOrigin-Name: 926e685b338c07722000d4d4d659674fdbcfb77c5f970283596f10ec18ad8b1a
2024-07-18 10:24:37 +00:00
crc
565d567523 initial fix for #99 (issue w/script:name when not running a script; will now report "<none>" instead of garbage)
FossilOrigin-Name: 003f7b2e0650a004cc264cafdb29c5634a32d260cb137a08835a982557e0e48e
2024-07-18 01:12:59 +00:00
crc
0bec9c3d98 revert part of the dev-files.c changes
FossilOrigin-Name: 7d6327d42772249a797eb44f0d5fb90217f2e9e7de2530a9d890a0166665520c
2024-04-16 10:26:04 +00:00
crc
dfd0a38e53 start updating dev-files.c
FossilOrigin-Name: 05ea8a3ab0c47ef42a682f6ba267dbd1c1626778fe854eaa99902890b58cdba6
2024-04-12 12:39:30 +00:00
crc
df072eb58f whitespace alterations
FossilOrigin-Name: a8b81837d53dab5e625418146a37ab511b11442a267d3c4893dbf6847ccfbd5e
2024-04-12 12:36:15 +00:00
crc
a34c08b74f add iacore's zig implementation
FossilOrigin-Name: 9e5619d102e37ddc606e41788e397f091eaf28c77414a05e5c0cae477ac6cc31
2024-02-21 15:46:34 +00:00
crc
1f6fbafe63 fix issue w/s:get-word, n:put no longer uses temporary string space
FossilOrigin-Name: 0cec7950f8b912d820369e3d3891dbe9136ce7d808addb02ad9866b7ac5f1302
2024-01-23 15:48:11 +00:00
crc
9ed5d12c71 fix ioctl:set-cbreak and ioctl:set-lbreak
FossilOrigin-Name: 1d887d0b60e0d6f9455e2889c961288d3887f98f7c6b548a5cc5255d255463dd
2024-01-23 02:28:03 +00:00
crc
3cbe04ce03 add "-p" command line option to run non-unu source files
FossilOrigin-Name: f0c5b1fb51bd6c9b4028b0fcced85d9ea9335ce571dfb28a2d36132a3edf8e78
2024-01-22 17:58:42 +00:00
crc
f326a99caf start of the new ioctl device
FossilOrigin-Name: ff4557673a4ee251c20472267a4e6e8c7b364aaead7bc5c8c9065f043396bb44
2024-01-22 15:19:00 +00:00
crc
9bbf8e2724 nga-c formatting cleanups
FossilOrigin-Name: 340e96fa14c587831d87acc62dcc1fc72dec51513007a88008f80d63ae084a46
2024-01-10 22:39:30 +00:00
crc
1f18b9f2b1 make HOME a floating buffer (reduces image size by 1k cells)
FossilOrigin-Name: 5b35e2c48ba1f114806df1d34ac4996f1684caa22ea11aa4cfd8d99b289b5130
2024-01-10 22:26:59 +00:00
crc
20092a037e nga-c: filesystem device no longer included if ENABLE_FILES not defined
FossilOrigin-Name: c1ad7c9c9b2e5dd367792f752bdf70eaca622c6bfb96bacb184388f86e7f7206
2024-01-10 22:18:24 +00:00
crc
1632155687 USE_UTF32 define removed; deprecated code paths for non UTF8<->UTF32 removed from nga-c
FossilOrigin-Name: c401c458e2d74e9c142437055363f89bfff2056cada15dc6e5dde3856ce5b0cb
2024-01-10 22:10:12 +00:00
crc
374434eb40 2024.1 is out; shift focus to 2024.9 now
FossilOrigin-Name: 4a67cf32f10027bb3e49f97d023b47348893c78d7db77492a1e716a1c44300ad
2024-01-10 22:05:05 +00:00
crc
09ac843c9e add missing d:source data
FossilOrigin-Name: 746d00862c208a73ef9ca13afc34c49834d24ac068582693341cd01a54687475
2024-01-08 18:24:08 +00:00
crc
5889439726 add BRANCH_PREDICTION build option (faster code execution on some systems) [ref patches from ~iacore]
FossilOrigin-Name: 1c0eae08793ea555167fe1d83eee1fa849303fd3748cb71a09a8d5d06c312e28
2024-01-08 14:50:33 +00:00
crc
2e5d528fad no longer include termina words by default (more complete copy in library/)
FossilOrigin-Name: dc88b22498763c5889fc46afe4b7ae32facdcd508522e1125fcf6a2897e7da41
2024-01-06 22:59:06 +00:00
crc
c84b9a7e5d move the full listener from interface/retro-unix to the basic image
FossilOrigin-Name: e6fd949a0911730c0db46faf3c20fdb7b265b38bc2b3b3456980d26a4bb1bdbc
2023-12-15 14:10:08 +00:00
crc
b54beb2091 use assembly in d:for-each (saves 20 cells)
FossilOrigin-Name: 173bf95123698391cd00d8ad214537b5aa0c09a215e8c1042d8c2d7afaf149ed
2023-12-15 13:47:23 +00:00
crc
a0d39d511d use assembly for v:inc-by and v:dec-by (saves 14 cells)
FossilOrigin-Name: d28869bd6a6d78f2885fb02d23643b18a423762996c58cc0b2ca72c337e740a4
2023-12-15 13:12:44 +00:00
crc
426ae1ade8 use some assmbly in h:fetch and h:store (saves 23 cells)
FossilOrigin-Name: 3f29cb90cc4e5d7e942d42e7cc2b793e203ffc11fb73b06050a9362756546b33
2023-12-15 12:57:26 +00:00
crc
c78b58ca43 rewrite part of the byte addressing code in assembly (saves 11 cells, faster)
FossilOrigin-Name: 72218f52afcd1a0afdd0db6dfa11be82d3853ffd8e85be31299ab7eadf8785a2
2023-12-15 12:35:17 +00:00
crc
484c034d94 use FREE in determining the address for the string buffer (saves 6 cells, reduces repeated code)
FossilOrigin-Name: 702285e514de89b0d13400925580f07bc2ad7b4f4cf56d645186f4a73003c12e
2023-12-15 12:29:46 +00:00
crc
d51d76dd57 alter a few definitions to reduce memory use by 30 cells
FossilOrigin-Name: 7020a844db042f82455a2f82e1b151e402f0afb93db304324a584655c4c095dd
2023-12-15 12:27:19 +00:00
crc
40f2354a00 next release will be 2024.1; add note on deprecation of legacy code in input/output.
FossilOrigin-Name: 05ec8835da3a89f24b330745011743c5653de11dc67dec0a25495ac006264bc6
2023-12-15 11:52:24 +00:00
crc
c2c497b9ef nga-c: cleanup argument handling a little, remove a no longer needed function, move some initialization code to separate routines
FossilOrigin-Name: 1d61670c06c72081b11470193c4548b37740505c30186e8b43a7b0f777bb6e22
2023-12-13 18:47:41 +00:00
crc
34c5ca102b nga-c: simplify handling of invalid opcode bundles
FossilOrigin-Name: 6f6d24ae7607eedb7ea88e50144e1ecd3692dc6648b958c218bfabda2bc2778f
2023-12-12 10:41:47 +00:00
crc
a559779278 move konilo words to library
FossilOrigin-Name: 4d899ff06bf44995ec448a555788d202b99326cd2c4836ab43543865add75a9d
2023-12-11 23:47:30 +00:00
crc
5ed4511bb9 add support for loading extensions at runtime from a library
FossilOrigin-Name: 167b8770f5c07d3b6d7286f1af297c0e4c1c1b776900b361a194db12e46ac10c
2023-12-11 12:42:14 +00:00
crc
164dbffec2 nga-c: more small cleanups in clock, error, ffi, files, malloc, rng, sockets
FossilOrigin-Name: 0ccaff8f785347bc39ebcd74c66b2cde9c2dde8bc6d6f304cb46fea931155cd3
2023-12-10 23:49:52 +00:00
crc
4155ac0300 nga-c: refactor block file i/o device
FossilOrigin-Name: 5a5f7688c8ffa2c9af3c4942cbf6261ade675ccebf003f8bd78bd57de226d316
2023-12-10 23:38:07 +00:00
crc
987c3a5cc1 use DEVICE: words for device ids
FossilOrigin-Name: 49f75a7d0be98b46a38b039531d7b1b71ffe05e3db942c4efaeb242310fc0898
2023-12-10 23:32:03 +00:00