Commit graph

10 commits

Author SHA1 Message Date
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
4a63074a63 nga-c: include stdint.h
FossilOrigin-Name: acf4dbeadd2cea4c7fd55d58f2b0cdde5b5d64171fe4bda1554d1baf82371381
2021-05-18 13:46:28 +00:00
crc
c45816157f work on the retro-compiler
specifically:

- remove old runtime implementation
- use the standard retro.c as basis of new runtime
- remove old files
- update Makefile

this does not address issue #3.

FossilOrigin-Name: 959bab6910c41cd3ce24bf46d3b9b61bb83864edb25afc5148e7023ffd58fbf5
2021-05-18 12:42:15 +00:00
crc
27c074fa00 in which many things change...
- the basic image now contains a minimal listener
- new repl.c uses the embedded listener rather than
  implementing the listener in C
- removed barebones.c as it's no longer needed (overlapped
  w/repl.c)
- removed retro-unix.c (use retro.c instead)
- removed retro-windows.c (use retro.c instead)
- removed retro-image.c (use image.c instead)

FossilOrigin-Name: 21cea9bf556aef732fd9248de2debaf00dce24304a426c56392d503723728f43
2021-05-17 17:18:27 +00:00
crc
d1d6d829c0 nga-c: fix retro-compiler to work w/updated nga.c
FossilOrigin-Name: b292fab02bad441dee1dae0c7d0c50d6aa027739511fccb51d8763485aebc64a
2021-02-18 03:40:17 +00:00
crc
fbf1444c6a retro-compiler: runtime builds & works again
FossilOrigin-Name: 37e6d4a2ba2821087e24595ef40b5baa5254d0a4a16e66c3f63dac5733cef6df
2020-12-23 18:42:53 +00:00
crc
4fb2f1456f retro-compiler: continue cleanup, refactoring to separate out common bits
FossilOrigin-Name: c33321dd6375683b53dd22e201d9b455eb6b601edff7b303f32de55234cdfafd
2020-11-02 12:49:34 +00:00
crc
d4175bd769 retro-compiler: use the separated devices from retro-unix when implementing retro-runtime
FossilOrigin-Name: d4e05ce1b67d81e7367c7fd0385bdd6903bb1729e4c0318a1ac2e8feb818db8b
2020-10-22 19:35:51 +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
Renamed from interface/retro-runtime.c (Browse further)