Hello AmForth. It has been some time and quite weird things since last I've been here. I am still using AmForth with my trusty atmega1284p and learning the language as time permits. I remember having heard talk that avra had gotten (almost) to the point of being able to compile the source tree here. First I tried with 1.3 I think and it failed miserably. Then I found a repo on github (Ro5bert/avra) that seemed to almost but not quite do it. I was getting a pile of errors for macro calls. So looking into the issues I saw that someone had forked that repo and fixed the issue. Something to do with not having a space between the opening parenthesis and the macro name. So I tracked down the fix branch (srtlg/avra -b development-issue54 if I remember correctly) and built that locally. Then substituted that avra version with the wine one I had been using to build. It still didn't build. Very almost, but not quite. However, the issue was with errors in /avr8/words/d-lesszero.asm about the Y register not being declared and/or able to be used for the adiw call. Looking into the source tree I found other usages of y in those calls but they were all in lower case. Yeah, that did fix it. I'm not sure that I can flash my controller here since I'm on summer break but it does seem promising. Or maybe I did pack my programmer and can give it a go. The file sizes are the same or similar but there are differences. Granted, I've made changes that may not be represented in my working project and it may just be that. Time will tell but it would be great to get rid of the need to use wine to build AmForth here. Well well well. It appears to have worked. I make install'd the whole thing (since for some reason I did pack my usbasp and could try it out. I'm sure more testing is needed but this really is pretty cool.
_______________________________________________ Amforth-devel mailing list for http://amforth.sf.net/ Amforth-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amforth-devel