Skip to main content


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

in reply to Forth Computer

that's exciting! The 4 immediate opcodes should be pretty interesting to implement. Do you have all the docs you need? The opcode test rom can be found here: https://wiki.xxiivv.com/site/uxn.html
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

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

in reply to Forth Computer

The C compiler is not archived?
https://github.com/lynn/chibicc
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

in reply to Forth Computer

no problem 😀 But to answer your question, if I had a uxn fpga, I'd make myself a little workstation, most of my day-to-day work is hosted on uxn, it might be nice to have it stand on its own like that.

Lo, thar be cookies on this site to keep track of your login. By clicking 'okay', you are CONSENTING to this.