I am interested in building a #uxn cpu on an #fpga.
I have already built #Mecrisp #Forth on the #PicoIce.
A Uxn cpu is just a slightly different stack machine.
Maybe I will eventually build an entire Varvara computer on an FPGA.
@neauoire
@rek
https://forth.pythonlinks.info/hana-uxn
Devine Lu Linvega
in reply to Forth Co-Processor • • •XXIIVV — uxn
wiki.xxiivv.comForth Co-Processor
in reply to Devine Lu Linvega • • •Thank you for pointing out the 4 immediate opcodes.
The J1 and Mecrisp Forth cpus have 3 commands where the last 13bits define the address and a literal command where the last 15 bits are the number.
Not that hard to set a flag, so that the processor pauses for the next opcode which is the address or literal.
@neauoire @rek
Forth Co-Processor
in reply to Devine Lu Linvega • • •What I am struggling with is what to do with this Hana-Uxn. First my attention was drawn to the almost c compilers, tragic that they are in archive mode.
Probably Uxn can run on a $4.00 Raspberry Pi Pico board.
What would you do with a $28 Uxn FPGA?
The C compiler is still very interesting.
@neauoire @rek
Devine Lu Linvega
in reply to Forth Co-Processor • • •https://github.com/lynn/chibicc
GitHub - lynn/chibicc: A small C compiler… for uxn
GitHubForth Co-Processor
in reply to Devine Lu Linvega • • •Perfect!
Thank you for the link to the #uxn C compiler. Just what I needed. Sorry I missed that link on Awesome Uxn.
@neauoire
Devine Lu Linvega
in reply to Forth Co-Processor • • •