<div dir="ltr"><div>That TIL book is great. I have bought, and lost by lending out, two copies in the past.<br><br></div><div>I started playing with Forth in 1984. Quite amazing that the whole compiler, editor and "operating system" all fitted in less than 32 or memory.</div><div><br></div><div>Are you using soft cores with the FPA or hard cores off on the side?</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Apr 14, 2024 at 2:54 PM Mark Atherton <<a href="mailto:markaren1@xtra.co.nz">markaren1@xtra.co.nz</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Yup, for doing real-work ATmega, STM32, or RISC-V has it, no question.<br>
<br>
Having said that, newer projects tend to be FPGA based with a small CPU <br>
orchestrating complex logic.<br>
<br>
I built a Threaded Interpretive Language when I was a kid, based on the <br>
book of the same name (ISBN 978-0070383609). Ran on a 6809 and was <br>
hugely weird/fascinating at the time (TIL, not 6809).<br>
<br>
On 4/14/2024 2:24 PM, Charles Manning wrote:<br>
> I really find computer architecture interesting. But I'm taking the <br>
> other approach that life is too short so I'm jumping in with the RISC V <br>
> community.<br>
> <br>
> Have you looked at some of the tiny Forth machines? eg. Swapforth and J1a.<br>
> <br>
> <br>
> On Sun, Apr 14, 2024 at 2:07 PM Mark Atherton <<a href="mailto:markaren1@xtra.co.nz" target="_blank">markaren1@xtra.co.nz</a> <br>
> <mailto:<a href="mailto:markaren1@xtra.co.nz" target="_blank">markaren1@xtra.co.nz</a>>> wrote:<br>
> <br>
> Ha! I have already implemented RPN, and it works fine. This whole<br>
> project is an experiment; interested to see what how far I can push<br>
> things before the parser gets ugly.<br>
> <br>
> I guess then next step is to write a small compiler running on an x86,<br>
> generating P-code to be run on a *tiny* interpreter on the machine (and<br>
> its associated 128 word limit). There is plenty of micro-code space, so<br>
> might be able to dream up some complex instructions to make the<br>
> interpreter very small.<br>
> <br>
> Oh god, look what you have made me do now... :)<br>
> <br>
> <br>
> On 4/14/2024 12:06 PM, Charles Manning wrote:<br>
> > There is always an equivalent algorithm using arrays etc to make a<br>
> > manual stack (ie. looping instead of function calling to get the<br>
> > "recursion".).<br>
> ><br>
> > Sometimes that's all you've got. eg. Fortran 77 etc does not provide<br>
> > recursion because it is not stack based (like C).<br>
> ><br>
> > Function calling recursion is a lot easier and cleaner though.<br>
> ><br>
> > Have you considered just saying sod it and using RPN for your<br>
> assembler?<br>
> > Well for a first cut anyway.<br>
> <br>
> <br>
> _______________________________________________<br>
> Chchrobotics mailing list <a href="mailto:Chchrobotics@lists.ourshack.com" target="_blank">Chchrobotics@lists.ourshack.com</a><br>
> <mailto:<a href="mailto:Chchrobotics@lists.ourshack.com" target="_blank">Chchrobotics@lists.ourshack.com</a>><br>
> <a href="https://lists.ourshack.com/mailman/listinfo/chchrobotics" rel="noreferrer" target="_blank">https://lists.ourshack.com/mailman/listinfo/chchrobotics</a><br>
> <<a href="https://lists.ourshack.com/mailman/listinfo/chchrobotics" rel="noreferrer" target="_blank">https://lists.ourshack.com/mailman/listinfo/chchrobotics</a>><br>
> Mail Archives: <a href="http://lists.ourshack.com/pipermail/chchrobotics/" rel="noreferrer" target="_blank">http://lists.ourshack.com/pipermail/chchrobotics/</a><br>
> <<a href="http://lists.ourshack.com/pipermail/chchrobotics/" rel="noreferrer" target="_blank">http://lists.ourshack.com/pipermail/chchrobotics/</a>><br>
> Meetings usually 3rd Monday each month. See <a href="http://kiwibots.org" rel="noreferrer" target="_blank">http://kiwibots.org</a><br>
> <<a href="http://kiwibots.org" rel="noreferrer" target="_blank">http://kiwibots.org</a>> for venue, directions and dates.<br>
> When replying, please edit your Subject line to reflect new subjects.<br>
> <br>
> <br>
> _______________________________________________<br>
> Chchrobotics mailing list <a href="mailto:Chchrobotics@lists.ourshack.com" target="_blank">Chchrobotics@lists.ourshack.com</a><br>
> <a href="https://lists.ourshack.com/mailman/listinfo/chchrobotics" rel="noreferrer" target="_blank">https://lists.ourshack.com/mailman/listinfo/chchrobotics</a><br>
> Mail Archives: <a href="http://lists.ourshack.com/pipermail/chchrobotics/" rel="noreferrer" target="_blank">http://lists.ourshack.com/pipermail/chchrobotics/</a><br>
> Meetings usually 3rd Monday each month. See <a href="http://kiwibots.org" rel="noreferrer" target="_blank">http://kiwibots.org</a> for venue, directions and dates.<br>
> When replying, please edit your Subject line to reflect new subjects.<br>
<br>
<br>
_______________________________________________<br>
Chchrobotics mailing list <a href="mailto:Chchrobotics@lists.ourshack.com" target="_blank">Chchrobotics@lists.ourshack.com</a><br>
<a href="https://lists.ourshack.com/mailman/listinfo/chchrobotics" rel="noreferrer" target="_blank">https://lists.ourshack.com/mailman/listinfo/chchrobotics</a><br>
Mail Archives: <a href="http://lists.ourshack.com/pipermail/chchrobotics/" rel="noreferrer" target="_blank">http://lists.ourshack.com/pipermail/chchrobotics/</a><br>
Meetings usually 3rd Monday each month. See <a href="http://kiwibots.org" rel="noreferrer" target="_blank">http://kiwibots.org</a> for venue, directions and dates.<br>
When replying, please edit your Subject line to reflect new subjects.</blockquote></div>