The family of 64 bits ciforths has now a new member.
https://home.hccnet.nl/a.w.m.van.der.horst/lina.html
Apart from i86 linux, MS-windows, arm Linux, and i86 Apple there
is now a risc-V version.
Due to the generic build system, this baby is born with hair, claws
and teeth.
It builds locally with the regular tool chain on a
Linux ubuntu 5.19.0-1007-allwinner #7~22.04.1-Ubuntu
SMP Wed Feb 22 16:07:52 UTC 2023 riscv64 riscv64 riscv64 GNU/Linux
and a
DongshanNeZha-STU board.
So it has the usual features of ciforth's:
1. A comprehensive test succeeds
2. Fitting documentation available in info pdf and ps format
with indices of words and concepts.
Heavily cross referenced .html present.
Man page present.
3. The library, with numerous ciforth facilities
4. Simple examples.
5. Compiles to executables. Scripting available.
Fitting means that the documentation is fully applicable to
this Forth, there are only words in the documentation that are
actually available and all words are documented the way they
actually work in this particular Forth.
(Try `` man as '' to appreciate this.)
The documentation is grouped in wordsets with a description.
This cuts down in finding a functionality (that e.g. naturally belongs
to string handling) and more importantly allows to decide whether a functionality is not available.
This is a beta release, a dated snapshot, so you will have to manually
-unpack it,
-if you're paranoid inspect the source and reassemble it;
you need gcc (actually as and ld)
-tryout: it is usable in this directory
- install : you can do a system wide install with option -i
- enlarge : if 2 Mbyte is to small use option -g
- copy .info .pdf .ps man.1 to appropriate places.
After a burn in period this will be promoted to version 5.4.
(Building a .deb archive is postponed till then. This is
as much effort as porting to risc-V in the first place.)
See also an introduction to ciforth family.
https://forth.hcc.nl/producten/ciforth.html
The word VMA-IO works, i.e. you can find the address of the io-space.
If I can locate the 1400 page (chinese?) manual of the D1-H chip,
all the gpio, dac, SPI, UARTs, timers can be used.
[ Beware: Other boards have different manuals.]
Groetjes Albert
--
Don't praise the day before the evening. One swallow doesn't make spring.
You must not say "hey" before you have crossed the bridge. Don't sell the
hide of the bear until you shot it. Better one bird in the hand than ten in
the air. First gain is a cat spinning. - the Wise from Antrim -
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)