Commit graph

546 commits

Author SHA1 Message Date
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
crc
fffe7170a2 begin using new DEVICE: namespace for device id constants
FossilOrigin-Name: 899ef8eab4ff7e1ca87a340a3409cbdc09505f063aa863c19e350e3b01ac40cd
2023-12-09 18:49:47 +00:00
crc
477d249b51 nga-c: formatting cleanups in dev-unix.c
FossilOrigin-Name: 5fe417f0ca0f346e5c4d31a33884387d7f1703083b9b8545b715f6ff93767e1b
2023-12-09 18:31:45 +00:00
crc
dfa7d1faaf nga-c: fix indention formatting in dev-float.c
FossilOrigin-Name: 81138170229fd78d32d3cc8d6782ca78a6a58510b0cc9795ed67eb441733f72b
2023-12-09 18:25:26 +00:00
crc
f04fb99758 nga-c: use named constants for device types
FossilOrigin-Name: f0d3e530a93840fc0656d344ea487a58b138ce1af8e93ac7517c8d0df01c5192
2023-12-09 18:15:54 +00:00
crc
0bf4b9603d nga-c: more use of #define
FossilOrigin-Name: d631ccefc72043463ead85bf530c5cc48768c01ff4352c6fef262faef3261551
2023-12-07 19:26:22 +00:00
crc
bfb845dd1b nga-c: use a #define to declare IO prototypes
FossilOrigin-Name: ad3f28db9b47f2c7852e399f9481fac0cb297d5fbf397d83f13f7e0a083dfbb3
2023-12-07 19:19:03 +00:00
crc
6cea9a634f remove separate string buffer in s:dedup
FossilOrigin-Name: 911dc4298e164218551636b4d8a9790baa30eb107ecf61b82bba72ceb4d7724f
2023-11-21 19:16:26 +00:00
crc
16853e969d nga-c: remove another no longer needed variable
FossilOrigin-Name: f619915689a54a7fe00c2566e7c9f71dfdca657486b042df9ddc01e91dc4d877
2023-11-21 18:04:53 +00:00
crc
3498583b9c nga-c: rewrite instruction bundle validator
FossilOrigin-Name: b49f50251dba7b01b1ae7883e0389fab97ae0c495c8e935f42d010cc1203927a
2023-11-21 17:42:28 +00:00
crc
69789a15a3 nga-c: more use of preprocessor, this time to make the active core lookup clearer
FossilOrigin-Name: 0c80d22ef1a163b51fcd54c0b444e3160a65d775ee3c116af927d8129da804e7
2023-11-21 17:37:03 +00:00
crc
608b076fc8 nga-c: rewrite string injection code
FossilOrigin-Name: 5b9c045413f6b185875e741c8a39fccc31f1d031a2f1d8ef67084dd9b116a294
2023-11-21 17:32:35 +00:00
crc
49c4a23105 nga-c: make some use of the C preprocessor in cleaning up the argument handling code
FossilOrigin-Name: 2302bad15deede5a686b08080b6d7c98b7e9b2ca3e55aa61132e9e0490630de0
2023-11-21 17:24:48 +00:00
crc
28a62b8ca4 nga-c no longer needs to lookup/call err:notfound
FossilOrigin-Name: 48d6b870d550dd0238948557c2fd34668a046300db2775644e285634f06d4ceb
2023-11-21 17:17:57 +00:00
crc
1cb4e3a584 minor formatting fixes; remove an unused file
FossilOrigin-Name: 324ad7aff09db74678744212014f395650870209f6133a7583b960eaa55a3f7d
2023-11-21 13:38:56 +00:00
crc
273ababa9a use mode array when opening files and pipes
FossilOrigin-Name: a39bc0feaa803b448534db6433064d3ac417b3e405b19b493f1e4d1873dd61af
2023-11-21 12:37:57 +00:00
crc
323dd2974d allow VM device configuration from either C or Configuration.mk; update the build instructions to point to Configuration.mk (thanks to technomancy for reporting the incorrect instructions)
FossilOrigin-Name: 077c1bb5fe053403a26c05dfe8a90721e8eb8084b5061ef969226909e7665e67
2023-11-20 13:16:55 +00:00
crc
756c0b57bd copy in my latest font data
FossilOrigin-Name: 22a124acda05fd20761405d896c285c07114aa175c572c7ffec079e057f778f5
2023-11-08 17:22:45 +00:00
crc
11418661d8 retro-compiler: fix bugs preventing compilation, causing hangs on startup
FossilOrigin-Name: 78afb7f951d46489c15c6db1b84720753fae72e141b0afedb88a56853a5500f5
2023-11-08 02:38:06 +00:00
crc
e975c4acd0 nga-x11: backport i/o extensions from ilo-x11
FossilOrigin-Name: d2d57f3a68ce1f093e6b7eac6b0387515d2d9079af881ecbf9d95c41afb72879
2023-11-07 19:57:31 +00:00
crc
5c602408a6 add first part of (termina) code from konilo to package/extensions/termina.retro [provides text color; positioning]
FossilOrigin-Name: 13fae6ae24d809ae867b677d5b7e17f5d44e0a88e42d0f1bd714e6957ac1c840
2023-11-07 02:25:44 +00:00
crc
525a781745 initial code for nga-x11, for running on X11 (based on my recent work w/ilo)
FossilOrigin-Name: 2e05908ee3128d2da1e3e7b680b29a79f7e4558b0087bd0bdb1a697d5be9cb0a
2023-11-07 01:35:26 +00:00
crc
78d74d8df0 file:reaf
FossilOrigin-Name: b4f3ffd0d6f75e88b7302bcb66c3d49381562cd4262e402bfca501a426612658
2023-11-03 16:51:12 +00:00
crc
90bbf5b098 file:read-line no longer using buffer:
FossilOrigin-Name: 0450b85a8bc0c1063192577f175149ef5302596b96b3a572e176be0454df4e62
2023-11-03 14:05:24 +00:00
crc
56971594b5 nga-c: change inst_ha() to call exit() directly
FossilOrigin-Name: d6c3a2590c219cdb223b5b4040d2b716277781b94b5298a106541d1f3fc4b587
2023-11-02 11:54:30 +00:00
crc
51f107b66d fix bug in s:index/char (reported by fangchar in #retro on oftc)
FossilOrigin-Name: 4958c8bb78ad787e42d4176cd9f781b4e37c9fb19086b0b6b4554661c9bc801f
2023-10-25 12:45:28 +00:00
crc
9c57273486 add rest of missing source data
FossilOrigin-Name: 975ce00555053ef25bf6ba20a886aa5ba35f91c3f96292961b379369fbe919af
2023-10-23 18:26:47 +00:00
crc
f7310bb6cc move malloc & double to package/extensions
FossilOrigin-Name: 072c6e6b0eb0f21ce985d84fc8c5f032172e3116ec765c61d85fb60aa3ff74d4
2023-10-23 18:23:23 +00:00
crc
3eec5480ab make some small optimizations to some fll: words
FossilOrigin-Name: 767c0b08d5e9ddd854a15027d025aa1b89f5359c67718b0bf51e2a06c2996f71
2023-10-23 16:08:18 +00:00
crc
c26569ba03 fix some casting issues in nga-c; back to 64-bit builds now
FossilOrigin-Name: fbc9b9970dcd17559ad61aa56b6bae423f76abddd4e78c98bf2038d72a7f8ec8
2023-10-22 22:04:32 +00:00
crc
936a426ece add missing source data for err: and some globals
FossilOrigin-Name: 7de6429d5af29155b8ad47bc3908b88840f7bb6f5ccd07014acf263e74548b9f
2023-10-22 21:59:01 +00:00
crc
fe21169724 add missing source data for a: and d: words
FossilOrigin-Name: 6cd7cec6ee8dff1be8774f32982625fd56ee36927d3452b733c41162392b0137
2023-10-22 21:45:13 +00:00
crc
21d23ee3e7 add missing source data for words in script: mem: and double:
FossilOrigin-Name: bb2a1fd9b46acdf68d79753792e9201cf6690efee2eaa350341faa39636d0d71
2023-10-22 16:18:59 +00:00
crc
6e17d8a8d5 add missing source data for file: and fll: vocabularies
FossilOrigin-Name: 7a9759a9e829d5181da9a868b574c39b24859758481ae3c563873adefe89fd9a
2023-10-22 16:11:59 +00:00
crc
fd50adfb70 remove unused file; update tools/missing-dsource.retro; dev. builds are set to 32-bit for now (will be back to 64-bit default later)
FossilOrigin-Name: ef89aa704a826e2edd4ba3441105cb6f0bcc02a9b8b8f7f431a44e4d09cc0510
2023-10-22 15:56:22 +00:00
crc
360c390300 add a D implementation of Nga (32-bit only)
FossilOrigin-Name: d5fe8aa2c40bfaef4110c9b07c9fb35671ca31a6bedeafd79ee5d273bfd8aa1a
2023-10-20 17:28:49 +00:00
crc
075fbd6500 nga-c: add NOP skipping
FossilOrigin-Name: fccadfe87aee74d062c39ad8c6eca33e031afae801c35ed2a2c050b5f6553cec
2023-10-19 16:20:38 +00:00
crc
6ed8f2e962 retro.c: remove remaining uses of strcpy()
FossilOrigin-Name: 8219b7a9444e0d1f49b8b2b926d01beb05d7cb071e996c3dc21ddd857fb7c929
2023-10-10 10:03:33 +00:00
crc
bc30a15534 retro.c: verbose log output to /dev/stderr instead of /dev/stdout
FossilOrigin-Name: ee4e016fdd459a308ac6c564bc11a45662101fdf4a38b841e84b1568393e7829
2023-10-10 09:53:01 +00:00
crc
490fd83cb0 retro.c: -v now mentioned in help text; show sp, rp, core as part of verbose output
FossilOrigin-Name: a78c3d5b49a7f0dd484a8a42ff6b1dd263572bd6b73b787d2481d222c0fe0354
2023-10-10 09:50:07 +00:00
crc
fbfba0630b nga-c: start moving configuration into config.h
FossilOrigin-Name: 1745b78e2c113f6aaea22492a87252a16f5e2b00e22b36d4f8d1953c5131aaeb
2023-10-04 14:59:31 +00:00