Skip to main content

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.


Content warning: uxn audio improvements


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.

#uxn


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.

#uxn


Finally fairly happy with VarvaraPSP's performance. Still a little sluggish in Oquonie, but playable if you're patient. A big thanks to @asie for PSP optimization ideas/support, and @bd for uxngba's screen_blit lookup table implementation! #uxn https://codeberg.org/tbsp/VarvaraPSP


Hmmm... debating whether to propose different behaviour for #uxn #varvara's flip-x and flip-y bits when interacting with the auto byte, but realising it's not a simple or clean proposal. Would be nice to be able to flip big sprites without complex loops, but maybe it'd make things too confusing.


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


Is there a repository of #uxn fonts out there? I'd like to draw the classic IBM BIOS font for uxn but before doing that I'd like to know whether it already has been done or not

Cc. @neauoire


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

#uxn #fpga


#uxn


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

#uxn #theWorkshop


It progresses... Some corrections to JSR, STA and JSI. Some Varvara devices. I think I have veered a bit off the path of a cheat-sheet and into a manual. Maybe I will need to make a second bare-bones version that eschews explanation to just have some really dense tables and numbers. #uxn
#uxn


I've been messing around #uxn till 4 am and because of that, grossly overslept for work :bb_bubouch:

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

#uxn


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

#uxn


Work in progress: a #uxn cheat sheet. Still to do varvara devices.
#uxn


I am finally getting somewhere with #uxn! There's no collision or anything, but you wouldn't believe how much work it was just to draw this.
#uxn


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? :flan_alien:

(And draw some proper low res art!)

see @neauoire's https://100r.co/site/uxn.html


Okay! I'm all set for the #oldcomputerchallenge! This season the Pentium M-man returns for his third appearance. Now with #9front and #uxn.


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

#uxn


so it's not so much stack-machine specific but i have a random/exhaustive testing harness i use for testing #uxn libraries. see:

http://plastic-idolatry.com/erik/nxu/test-fix16.tal

http://plastic-idolatry.com/erik/nxu/test-fix16.py

#uxn


it's funny, i think one thing i enjoy about #uxn so much is that the space is small enough that it's possible to prove or convince yourself of the correctness or something (math, data handling, whatever). it's a great testing target. to each their own!
#uxn


Further chibicc-uxn testing: a little danmaku game for #uxn in about 300 lines of C https://github.com/lynn/chibicc/blob/uxn/examples/danmaku.c
#uxn


Source for the #uxn challenge from Google CTF last weekend: https://github.com/google/google-ctf/tree/master/2023/rev-auxin

(cc @neauoire)


So, @lynn wrote a C to #uxn compiler, which allows anyone to write graphical varvara roms in plain C. This setup, where instead of having only the typical main() entry, you also have event bindings as you would in something like Unity(on_button, on_update, etc), is very nice.
https://github.com/lynn/chibicc
#uxn @Lynn


Over the past week or so @hikari and I have been hacking on making a C compiler for #uxn, based on "chibicc". It's looking great so far! https://github.com/lynn/chibicc


I implemented the Uxn CPU VM in 6502 assembly with a simple sprite device using NES hardware sprites! It's incredibly constrained and slow, but it does run. No Varvara devices here, don't get too excited. 😊
Perhaps I'll look at some 6502-based computers now that I have the CPU core built.
https://codeberg.org/tbsp/takare-nes #uxn
#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

#uxn #theWorkshop


@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?


Content warning: uxn deck of cards

#uxn


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


thought we could try porting our old Node.js to-do list app "ntdl" to #uxn ... using the Console device only. it's missing some things from the original, but assembles in a cool 254 bytes
#uxn


Content warning: uxn card games

#uxn


Content warning: tetris music uxntal

#uxn


It was an absolute pleasure to watch this collaboration come together to build a tetris implementation for #uxn.

Well done @nf, @d6 & @rek.

https://github.com/nf/fourtette

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