Search
Items tagged with: uxn
Made a little #uxn tal assembler in Rust: https://github.com/MalloryA/uxn-rust It's a lot more code than @neauoire 's uxnasm, but it does tell you in which file and on which line the error occurred.
It correctly parses all .tal files in the upstream uxn repo. Doesn't handle lambdas yet. And shout out to @nettles for her cheat sheet which I referred to many times.
GitHub - MalloryA/uxn-rust
Contribute to MalloryA/uxn-rust development by creating an account on GitHub.GitHub
Cracked it!
I can do live edits of running #uxn applications using only uxn-hosted tools, this is going to change the way I work dramatically.
It's a long, long LONG, way too long, like asked for 400 times too long, added to TODOs half that many time long, added, removed, tried again too long, didn't like it removed it back out too long, long time coming.
I've added per-device version printing to #uxn, uxemu, uxncli, uxn11, etc.. I'll increment the versions if I ever break anything again in the mailing list. This is version 1, for each device specs according to the docs. And this will be queriable from within a rom soon too.
I wrote a blog post on how Funktal handles Uxn/Varvara I/O devices and state, with examples of a few GUI-based programs.
https://wimvanderbauwhede.codeberg.page/articles/funktal-devices-state/
#Funktal
#Uxn
More on Funktal: I/O devices and state
How Funktal programs can interact with I/O devices, and how mutable state helps with this.Wim Vanderbauwhede
My verilog implementation of a #uxn CPU just executed its first program! It is incredibly basic (#01 #02 ADD BRK), but I am still quite happy that it works at all.
The CPU is a microprogrammed processor using a custom microcode format, that allows easy access to stack operations. Here is the microcode for the ADD instruction:
src -> a
src -> b
alu.add -> src
The microcode for LIT is slightly more complex:
@BRK keep byte
pc -> mem.addr
mem.8 -> src
pc -> a
one -> b
alu.add -> pc
#fpga
compudanzas — uxn tutorial: day 2, the screen
this is the second section of the uxn tutorial!compudanzas.net
chess in uxn? chess in uxn!
I wanted to check out Lynn's chibicc-uxn project, and this is the result of one day of work with their library, it's really fun 😀
it's not yet playable but it has the setup for it
I've been messing around #uxn till 4 am and because of that, grossly overslept for work
I had good reasons tho!
- it feels very comfy to write
- I can run it anywhere, even on my Amiga
- vibe-wise it's like a tiny Plan 9 I can put in my pocket 🥺
- it has a text editor with a bunny mascot
- I'm so burned out by startup bullshit mentality, that I almost cried tears of joy when I saw uxn's "go slow and fix things" tagline
There has been a tiny change to Varvara(#uxn) where the #00 Screen/sprite value will, from now on, only clear the pixels that are present in the sprite data at Screen/addr*. I've ported all the 100r roms to support the change, and updated the docs.
updated documentation: https://wiki.xxiivv.com/site/varvara.html#screen
mailing list: https://lists.sr.ht/~rabbits/uxn/%3CCAE2DaSQuj%3DC8e7ofV3+4H6MaTOhtD_wrFWihhYtCuYiEVtV6WQ%40mail.gmail.com%3E
discussion: https://lists.sr.ht/~rabbits/uxn/%3C692CA0D5-0200-408D-9357-BF0D8887D2BF%40noyu.me%3E
example file: https://git.sr.ht/~rabbits/uxn/tree/main/item/projects/examples/devices/screen.blending.tal
I hope to grow comfortable using it throughout the week and stop being afraid of it. The catclock is a #uxn rom 😀
One of the things I hope to achieve is learn a little bit of uxn and write something silly for it. That was my original idea for this years challenge. And then I found out it works under 9front. Two bird one stone?
(And draw some proper low res art!)
I've collected some notes on my little experiments into #uxn programming language stuff. Like program validation, graph reduction, structural editing, and all sorts of *cough* rather very dry topics, into something that should be approachable to anyone with a basic understanding of assembly languages.
https://wiki.xxiivv.com/site/devlog.html
so it's not so much stack-machine specific but i have a random/exhaustive testing harness i use for testing #uxn libraries. see:
chibicc/examples/danmaku.c at uxn · lynn/chibicc
A small C compiler… for uxn. Contribute to lynn/chibicc development by creating an account on GitHub.GitHub
Source for the #uxn challenge from Google CTF last weekend: https://github.com/google/google-ctf/tree/master/2023/rev-auxin
(cc @neauoire)
google-ctf/2023/rev-auxin at master · google/google-ctf
Google CTF. Contribute to google/google-ctf development by creating an account on GitHub.GitHub
https://github.com/lynn/chibicc
GitHub - lynn/chibicc: A small C compiler… for uxn
A small C compiler… for uxn. Contribute to lynn/chibicc development by creating an account on GitHub.GitHub
GitHub - lynn/chibicc: A small C compiler… for uxn
A small C compiler… for uxn. Contribute to lynn/chibicc development by creating an account on GitHub.GitHub
Perhaps I'll look at some 6502-based computers now that I have the CPU core built.
https://codeberg.org/tbsp/takare-nes #uxn
My 3D projection library for Uxn is complete!
Features points, lines, variable FOV, adjustable view frustum, screen space clipping, and 16 bits of precision, everything in around 4 kilobytes of bytecode.
https://git.sr.ht/~bellinitte/pinhole
https://github.com/lynn/shanghai
GitHub - lynn/shanghai: Mahjong solitaire game for uxn (WIP)
Mahjong solitaire game for uxn (WIP). Contribute to lynn/shanghai development by creating an account on GitHub.GitHub
@neauoire The #Uxn builds are missing from rabbits.srht.site, and I don't understand why: it's not as if anything changed with the build scripts recently.
https://builds.sr.ht/~rabbits/job/1001796#task-upload shows that we should expect, e.g. https://rabbits.srht.site/uxn/asma.rom to exist, but it gives a 404 right now.
Compare with https://builds.sr.ht/~rabbits/job/999428#task-upload for Bicycle, that log suggests that https://rabbits.srht.site/bicycle/bicycle.rom should be there, and that works fine.
The build log shows that srht accepted the upload, so perhaps it's a temporary fault?
Just published the latest release of fourtette, now with incredible arrangements of music types a, b, and c by @d6 and start level selection:
https://github.com/nf/fourtette/releases/tag/v0.1
#uxn
It was an absolute pleasure to watch this collaboration come together to build a tetris implementation for #uxn.
https://github.com/nf/fourtette