Hello Tristan, I'm quite impressed by the progress you make. And I think it's high time to at least answer: "I read your mails" :)
That being said, I don't know, how much of my health stuff I mentioned to you. So I'll let you know this much: 1. Last July my right eye suffered an ablatio retinae. This in itself is bad already, but not entirely unexpected, since I am myopic since the age of 10. So it got fixed by surgery, I'll spare you all the interesting details. The repair didn't last and it came off again TWO more times! And just because, in November my left eye suffered the same problem. So from November 10.th to the end of the year I was not seeing much and somewhat depressed over all. In January the final step for the right eye was done and I start to see a lot better now. But even reading on the screen was close to impossible for two months. Sigh. I have not been to work since July, and with some luck I can start going there again (reduced time initially) in March. 2. About 6 years ago I acquired a thing called "chronic fatigue syndrom". This term is for lack of better understanding, what's going on. The symptoms are similar or maybe the same as in Long Covid, but the phenomenon has existed before. I readily admit, that I have only a very mild version of this. But I can feel the lack of power (physically and mentally) every day. The whole thing is not understood, let alone any root causes. Anyway. This has forced me to let go of several things, including the amforth projekt. With that now out of the way, I would suggest, that you receive the login credentials for the source forge repository. Unless of course, you have different plans. It's up to you. If you are interested, do you have some sort of pgp key or so, where I can send the magic spells hidden from prying eyes? Along other lines: I have started to play with my avr/atmega boards again, and I am currently working to get a much newer radio chip connected and working: the hopeRF rfm69. In comparison to the old rfm12 this is a wizzard module. It can handle packet radio on it's own, while the rfm12 could only handle one byte transmit/receive, one byte in the fifo. Plus the rfm69 will handle aes encryption, automatic checksumming and other useful tricks on its own. However, that means that I need to read a lot of documentation and other projects' code to understand, how to tame the beast. I can currently send something, but I have not tried to receive the datagram yet. I can "see" the transmission in gnuradio with an DVB-T stick used as receiver. The whole thing is fun, but I am very slow. Let me know, what you think. Cheers, Erich I'll attach my public key: pub rsa4096 2020-12-12 [SC] 03D05884448B9F17B9EC536ADBA0681A2AFE4FE1 uid [ultimate] Erich Wälde (AmForth project) <ew.fo...@nassur.net> -------------- next part -------------- h...@tjnw.co.uk writes: > A risc-v update. > > AmForth-RV update > > Good progress made with the CH32V307 [0] > > Words defined in the RAM dictionary can now be appended to the FLASH > dictionary so user defined words (individual words or the entire RAM > dictionary) are able to survive a reset. This was one of my major > milestones and (in my mind) a requirement for a self-hosted Forth. I > was not able to achieve this with the FE310 based red v board. > > Additionally, something new to AmForth. Compiled C objects can be linked > into AmForth-RV and called from within CODEWORDs. This is a build > level modification and arguments are passed to the C function using > assembly according to the risc-v calling convention. > > The CH32V307 makes a very good target mcu for AmForth-RV and for > experimenting with embedded RISC-V in general. > > - The development board is inexpensive and available [1] [2] > - There is official documentation and many 3rd party resources > - The mcu can program its own flash whilst executing from flash > - AmForth-RV can be built with an open source toolchain (build in < 3s, flash > in > < 6s ) > > If you are interested in trying some risc-v hardware I think it is a > good choice. > > AmForth-RV is still experimental, but has made a step in the direction > of being less so. There are quite a few decisions to be made, so any > thoughts on what AmForth-RV might look like in the future are very much > welcomed. > > Best wishes, > Tristan > > [0] https://github.com/openwch/ch32v307 > [1] https://wchofficialstore.aliexpress.com/store/1100367542 > [2] https://www.aliexpress.com/item/1005004329125620.html > (and many other suppliers) > > A brief annotated/edited session showing saving a RAM dictionary word. > > // see if a word 3+ has been defined // > > ok >> show 3+ > LFA..... (LFA)... FFA..... (FFA)... NFA..... XT...... (XT).... word.... > ok > > // no it has not, so define it in the RAM dictionary // > >> : 3+ 1+ 1+ 1+ ; > ok > > // and see that it exists // > >> show 3+ > LFA..... (LFA)... FFA..... (FFA)... NFA..... XT...... (XT).... word.... > 20003A54 200039B4 20003A58 00000000 20003A5C 20003A60 COLON 3+ (in RAM) > ok > > // now append the word 3+ to the FLASH dictionary // > >> save 3+ > 3+ HHHHBBBB 3+ > ok > > // and see that it exists // > >> show 3+ > LFA..... (LFA)... FFA..... (FFA)... NFA..... XT...... (XT).... word.... > 0000D200 0000D094 0000D204 00000000 0000D208 0000D20C COLON 3+ (in FLASH) > 20003A54 200039B4 20003A58 00000000 20003A5C 20003A60 COLON 3+ (in ROM) > ok > > // it does, twice, once in RAM and once in FLASH // > > // reset the board // > > AmForth-RV 7.0 RV32IMAFC WCH CH32V307 > Fri 19 Jan 2024 16:46:34 GMT > > // see if 3+ exists // > >> words > 3+ forth-wordlist environment riscv-wordlist @cycle type0 > hifive-turnkey rev-info build-info mtimecmp mtime led.init -led +led >> forth-wordlist >flash.p ram>flash flash>ram ram>rom rom>ram > > // see if it works // > >> 100 3+ > ok >> u. > 103 ok >> > > > _______________________________________________ > Amforth-devel mailing list for http://amforth.sf.net/ > Amforth-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/amforth-devel -- May the Forth be with you ... _______________________________________________ Amforth-devel mailing list for http://amforth.sf.net/ Amforth-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amforth-devel