Commit graph

14 commits

Author SHA1 Message Date
crc
20d71b6840 add a:indices and a:indices/string ; rewrite a:index and a:index/string to use them ; add a:temp
FossilOrigin-Name: 64666568dec02f6900c053557be9adc73c3cdf7a8a2fa6d5730001e852fd7fe0
2023-03-20 13:58:11 +00:00
crc
beeb5a165d nga w/o libc: no longer segfault on exit (freebsd & openbsd)
FossilOrigin-Name: 068c0fd2e322efeb743423607c3e712b0488c563e3374b9835d92437025dfb22
2022-01-10 15:32:00 +00:00
crc
37c4486d4f nga-c (non-libc): openbsd & freebsd on amd64 use same assembly portion now
FossilOrigin-Name: 5e9cb1051c37c681364157959dbe69f6c1bbc7e2e84cb21071242d7deb75fff0
2021-06-19 14:41:06 +00:00
crc
18f5d9b2e4 nga-c (non-libc): start work to consolidate openbsd/freebsd support
FossilOrigin-Name: 1a962b21e7db385286a69ab78e6da393f22a7559acd2076b81f810ed57a880b6
2021-06-19 14:36:41 +00:00
crc
0d1b43a7a9 nga-c: non-libc on openbsd no longer needs nasm
FossilOrigin-Name: cf9d25aca548dfd5ec8b17ca4eb845ce414e19169358b6d6deeaa4b65e2eb50b
2021-06-19 05:47:10 +00:00
crc
2b311ceab7 nga-c: non-libc: openbsd-amd64 support, source cleanups
FossilOrigin-Name: f8712bb8ce359909a61a8d0ff917173da4e35b8586e34b6207e3604ae40f139e
2021-06-17 18:49:53 +00:00
crc
6f8bd3047f nga-c: non-libc version updated. closes #59
FossilOrigin-Name: e52d8d1976ce3be3dbdc10e92667e629602ae91a8619213a8ff8cc642524ddb0
2021-06-17 13:58:50 +00:00
crc
cb22c59b5a add support multiple bases
This set of patches:

- adds a `Base` variable
- adds `decimal`, `hex`, `octal`, and `binary`
- extends `s:to-number` to support `Base`
- extends `n:to-string` to support `Base`
- updates the glossary to cover these

Additionally:

- removes the 1024 cell limit for the kernel
- adds a header cell (7) for the start of the text input buffer
- adds a header cell (8) for the end of the text input buffer
- updates most Nga implementations that use the text input buffer to look at
  this instead of hard coding the address

FossilOrigin-Name: 391ad6fc0187e5ff3089d5c42d5d5e1c18fd0b2379c90a148ba44bb66145f020
2021-05-18 19:42:35 +00:00
crc
e2a139c5fe add more detailed docs on i/o devices
FossilOrigin-Name: e1edc5e9f606b84404c4cbdd114d3cb338bf18aa10995db51cdcd49648621cb2
2021-03-29 12:55:25 +00:00
crc
01b9700489 retro-native: fix use of old word names
FossilOrigin-Name: 447d56fbf6f9906299262f4657a95a2e77c260226a8bb3a4bf8cae4f2d81b429
2020-08-27 19:17:38 +00:00
crc
e7d3030ebf vm/nga-c-no-libc: drop WIP support for OpenBSD as future OpenBSD releases will require syscalls to be routed through libc. Ref thread: https://www.mail-archive.com/tech@openbsd.org/msg54429.html
FossilOrigin-Name: 909ee67a53191440235e0a9dcfdea1e8588c91344541d3bce250eddf2f50897f
2019-12-27 13:58:31 +00:00
crc
f1d8d866d8 vm/nga-c-no-libc: update sources and work on openbsd support (now builds, but does not run}
FossilOrigin-Name: 3df16411b8c768560c08602d7d88b7bc0dffffb636a099966477623a725075e8
2019-12-20 19:04:13 +00:00
crc
9ffc6f277f END -> HALT in Nga instruction naming
FossilOrigin-Name: e3a4cbb9ac94f83d9e256cdaca70addde60626771ccb68b9f784ca4b355ee2ea
2019-12-10 18:51:56 +00:00
crc
ea8e12d32a finish reorg of main sources
FossilOrigin-Name: 6a7ee82ed6b024ee1d8f7a51a9b91a66a8041cde06b53cce649d6bd383ae9677
2019-11-22 18:30:02 +00:00