romanzolotarev.com is a Fediverse instance that uses the ActivityPub protocol. In other words, users at this host can communicate with people that use software like Mastodon, Pleroma, Friendica, etc. all around the world.
This server runs the snac software and there is no automatic sign-up process.
raincosm is now officially a platformer!
in the sense that there's platforms, and you can stand on them…
this may not look like much but it means that the bootloader of my #Uxn-based system running on a Raspi Pico has:
- used the MMU (of my Uxn supervisor extension) to access flash
- parsed the FAT filesystem sufficiently to find os.rom (which is a hello world)
- replaced the mapping for virtual address 0x100 onwards with the flash pages containing the os.rom binary
At a cafe yesterday I decided to try something completely different, and sketch out a microarchitecture implementing the UXN instruction set on an FPGA. After a couple hours of analysis, I reached an unexpected conclusion:
While these terms are not often used for stack machines, I think there's a strong argument that UXN is "CISC" to my Forth machine's "RISC." This is not intended as a criticism!
Individual UXN instructions can touch up to twelve stack locations (ROT2k). Device accesses (in Varvara) are blocking and stop the instruction flow for complex operations like traversing a filesystem. An implementation of reasonable complexity would almost certainly want to be microcoded, and device operations would either need to trap into something like the Alpha's PALcode (though the instruction space is fully packed, so it might need to change instruction sets) or invoke an auxiliary core.
Of course, UXN is designed to be emulated in software, not hardware, and when writing an emulator, it's often useful to have instructions be bigger and more complex to reduce dispatch overhead. This is why my comments shouldn't be taken as criticism -- this property of UXN is fit for purpose. But I suspect the easiest way to implement it in a CPU is to build a specialized CPU running an emulator for it.
The new Donsol release (designed for Playdate at 400x240) feels right at home on the PSP (480x272)! #uxn
Much more simplified way of doing UInt32 and UInt64 addition in #uxn.
Based in u16/adc, which adds 2 shorts with carry on the stack and u16/adl (for add limb) which uses u16/adc to add a 16-bits limb on RAM (the argument is a pointer).
Then u32/adc and u64/adc use u16/adl to add with carry limb by limb.
Now just put it in a loop and UBigInt add should be easier as well.
I have also implemented conversion and printing routines, I still need to work in parsing them.
Any feedback is welcome!
managed to optimize the streaming ULZ encoder for #uxn (it was limiting size of literals which produced valid output, but wasn't optimal).
I've spent way too much time playing around with things on these #xteink devices over the last two weeks. It's been fun, but I'll have to move on to some other things for a while. I might be back to these for December Adventure though.
I uploaded my #uxn variations for the x4, x3, and x4 pro to https://qrvhu.org and will post my #ilo ports for these soon.
The x4 pro has proven to be very useful. I like the physical buttons on the other models, but the touchscreen has let me implement a few keyboard layouts and ilo's pointer device, so my experiments with the extended devices are mostly being done on the device. It's pretty neat to have a fully programmable stack computer in my pocket, and I have a variety of things planned for it.
I do want to find something similar, but more open, better documented, and ideally more easily repaired as these things are fragile.
Good morning. I'm continuing to work on my #xteink x3 #uxn reader vm & firmware.
I updated my branch to have it load the uxn rom from sys/firmware.rom if present, or fall back to the built-in rom if not. So testing further updates on the device won't need further flashing.
Now working on handling font selections.
For everyone who asked me for a #uxn firmware for the XTE INK 3, @crc ported the Varvara emulator!
https://mastodon.bsd.cafe/@crc/117428431698391144
Uxn has just drawn its first pixels on the xte ink.
As an evening side-quest, I've been writing a new firmware for the xte entirely from scratch in #uxn, this form factor is insanely cool but unfortunately, the company who makes this ships awful AWFUL disgusting software, making the device rather useless.
I think this is, as far as I can tell, the only firmware for it that's entirely written by a human. I've still got a ways to go, but I should soon have a new little uxn computer that fits in my pocket.
One of the first game we ever published for #Uxn was Donsol, five years ago, to celebrate, we've made a whole new version of the game with new monster sprites, better resolution and animations.
We had originally made it with the Playdate in mind, but they didn't want it so we're making available to play it directly in the itchio page, or via your favourite Uxn emulator!
https://hundredrabbits.itch.io/donsol
We hope that you enjoy it.
Have a good autumn. :)
Rek & Dev
I know I shouldn't be surprised that it just works as is, but still cool, I can build compile uxn binaries directly inside dos.
wcl -bt=dos -ml -fe=bin/uxnmol.exe src/uxnmol.c
Some days we have no power, others no reception, once in a while we have neither. Today was such a day, the oppressing low skies suffocating the signal and covering our solar panels didn't allow for much virtual fussing.
But while penciling out storyboards for our #Catjam entry, Rek pointed out that it might be nice to have a Yufo cameo aboard the train. Genius idea! Let's look at the actual state of that ol' thing.
Written in a haste during the Virtual Pet Jam a few years ago, its codebase was horrendous; Uxn was quite young at the time, the linter in its infancy too. It ran just fine but needed a bit of love if the codebase was ever going to be something worthy of being looked at by anyone.
So, I spent the little power I had left in my laptop rewriting it all in a more standard Uxntal style, with the typical video game OOP patterns that makes the more recent roms somewhat robust. It runs faster, looks and feel nicer too. I've published a new build with metadata and all the other niceties of modern #Uxn projects.
If anyone ever asks who that weird antlered creature on the train is, at least we can be proud to point to Yufo.
Someone just demonstrated that the entire Uxn toolchain can be reconstructed from nothing but a POSIX shell, xxd and sed. It's down to taking 34 minutes to build the Uxntal assembler.
bootstrap: https://joe.cz/uxn/uxn1b-drifloon.txt
repo: https://gitlab.com/racketeer/uxnsh
#uxn