#uxn — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #uxn, aggregated by home.social.
-
hexdump -C needed a spa day, so I gave it a massage:
https://paste.sr.ht/~ismael-vc/a074bf4e12d557fce43da4a13cfd038baf275f09
Though I'm making my hexdump a tool that can be passed a ROM file as an argument (it was inspired by hexdump -C), it is nice to see that with a little effort is doable as well with the existing tools.
I also bought the awk pocket reference, so useful.
(If there is a better way to do this with awk, I'd love to learn!)
-
Sounds like you're describing #permacomputing, or at least, some elements of it.
#uxn and #CollapseOS / #DuskOS are worth looking into, if you're not familiar with them already.
-
Sounds like you're describing #permacomputing, or at least, some elements of it.
#uxn and #CollapseOS / #DuskOS are worth looking into, if you're not familiar with them already.
-
I am rewriting my #uxn music player, And the main thing I want in this version is album art! So I just finished writing my glue code to automatically dither, process, and convert any album art (including art embeded inside of audio files) into .icn files at runtime :>
-
I am rewriting my #uxn music player, And the main thing I want in this version is album art! So I just finished writing my glue code to automatically dither, process, and convert any album art (including art embeded inside of audio files) into .icn files at runtime :>
-
Live coding Zen an Uxntal testing library:
https://www.youtube.com/watch?v=YEp6Vhtfta0
#uxn #uxntal #varvara #TDD #virtualmachine #fantasycomputer #assemblylanguage
-
Live coding Zen an Uxntal testing library:
https://www.youtube.com/watch?v=YEp6Vhtfta0
#uxn #uxntal #varvara #TDD #virtualmachine #fantasycomputer #assemblylanguage
-
...and just like that we're passing all of opctest.rom's #uxn tests! 🧙♂️
-
...and just like that we're passing all of opctest.rom's #uxn tests! 🧙♂️
-
CW: occ summary
at the end of the #occ2026 week i managed to push through the "crashing the emulator constantly" phase of System 7 development and get into the "opctest.rom fails in weird ways" phase.
still need to write up the last couple of days but overall i had a great time and i'm optimistic for the future of the yet-to-be-named mac68k #uxn emulator
-
CW: occ summary
at the end of the #occ2026 week i managed to push through the "crashing the emulator constantly" phase of System 7 development and get into the "opctest.rom fails in weird ways" phase.
still need to write up the last couple of days but overall i had a great time and i'm optimistic for the future of the yet-to-be-named mac68k #uxn emulator
-
I made an article at #Uxnomicon documenting the API of Zen, my tny #Uxntal testing framework:
https://uxnomicon.miraheze.org/wiki/Zental
I hope it might be helpful for others as it has been to me!
: )
-
#Uxntal #testing #framework in 760 bytes.
https://paste.sr.ht/~ismael-vc/2f2d41f245481d121632654f86effbcdf25457ac
I have called it Zental, in the images you can see it testing itself (the failed tests are expected).
Usage: https://paste.sr.ht/~ismael-vc/82d44be228adaf7be199e2e2bca77bd1c36ad729
Just create a routine under the @ test scope, ie:
@ test/foo ( -> )
/verbose
{ "some 20 "set } /set
{ "some 20 "subset } /subset
#01 #0101 EQU /assert
/end-subset
/end-set
/summary
BRK~zen.tal
I'll put it in a repo soon. :3
-
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.
-
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.
-
CW: occ day 4
it doesn't look like much but this screenshot represents a (small) #uxn program running correctly on an emulated mac plus
-
CW: occ day 4
it doesn't look like much but this screenshot represents a (small) #uxn program running correctly on an emulated mac plus
-
poll: i need a cv/portfolio for something #uxn related i want to apply for.
should i...?
-
poll: i need a cv/portfolio for something #uxn related i want to apply for.
should i...?
-
Today I have implemented malloc in 76 bytes in #Uxntal .
https://paste.sr.ht/~ismael-vc/21de76cd6c103a469ff06f33696a95c49bf87508
After fiddling with this all afternoon, I finally have implemented a malloc other than the simple "bump pointer allocator" I was using.
I'll work on mfree, but that will be for tomorrow.
I changed the unit size to byte instead of 64 bytes because there is no MMU expecting it in 64 bytes in #Uxn as it was in the PDP, so it makes no sense in Uxn? might bite me later.
Catmon was indispensable.
-
Today I have implemented malloc in 76 bytes in #Uxntal .
https://paste.sr.ht/~ismael-vc/21de76cd6c103a469ff06f33696a95c49bf87508
After fiddling with this all afternoon, I finally have implemented a malloc other than the simple "bump pointer allocator" I was using.
I'll work on mfree, but that will be for tomorrow.
I changed the unit size to byte instead of 64 bytes because there is no MMU expecting it in 64 bytes in #Uxn as it was in the PDP, so it makes no sense in Uxn? might bite me later.
Catmon was indispensable.
-
it looks like i brought the two pixel fonts seen earlier in this thread to #uxn shortly after i made them, and then just... didn't push?
these fonts now live in our "utilities" repository, with a string-drawing routine to help them out.
https://git.sr.ht/~sporeball/utilities/tree/master/item/font8
-
-
Uxnomicon now has support for the Monotal (Monokai for Uxntal) light and dark themes!
- https://git.sr.ht/~ismael-vc/monotal
- https://uxnomicon.miraheze.org/wiki/MediaWiki:Common.css
- https://uxnomicon.miraheze.org/wiki/MediaWiki:Common.jsThe site will respond to your user preferences, if set to auto it changes theme according to your OS theme, else you can manually toggle it using the eye glasses icon (appearance).
Syntax test page: https://uxnomicon.miraheze.org/wiki/Acid.tal
-
Yeah, it would have to be its own GUI subsystem, but you're right, I don't really want to reimplement all the basic UNIXy syscalls and such.
Maybe do my own kind of #uxn, but with baked-in graphics primitives, pure monochrome, a little higher resolution by default, and maybe something like Pascal???
Basically, I'm talking about re-inventing the #ClassicMacintosh, aren't I. 😄
-
Yeah, it would have to be its own GUI subsystem, but you're right, I don't really want to reimplement all the basic UNIXy syscalls and such.
Maybe do my own kind of #uxn, but with baked-in graphics primitives, pure monochrome, a little higher resolution by default, and maybe something like Pascal???
Basically, I'm talking about re-inventing the #ClassicMacintosh, aren't I. 😄
-
Light and Dark Monokai Theme for #Uxntal in SourceHut.
It uses one user script and one user css style sheet.
I like the Terminus font, but you can change it for your favorite, and of course the colors, font size and line spacing as well.
https://git.sr.ht/~ismael-vc/monotal/tree/main/item/src/srht
This is running in Linux, Firefox using the Stylus and ViolentMonkey plugins. I'll make a setup guide shortly.
It will automatically update the theme as I change the OS wide theme.
Still doing some last tweaks : )
-
I found the way to get an absolute reference out of a relative one the other day in #uxn , but what happens if the byte offset is to far away?
_foo $100 @ foo
Error: foo too far!
The following 4 bytes do the trick this time
%:patch ( [JSI] -- [LIT2] ) { [ LIT2 LIT2 00 ] STR }
:patch foo ( rel* )
This in combo with the previous setup allows more room to make relocatable AOT assembled libraries that are easy to include or copy paste.
Sorry for abusing the < > overload. :P
-
@angelwood I made a fully relocatable version of your #uxn catmon!
https://paste.sr.ht/~ismael-vc/cee33d730feeca600529704131badc104bee5332
Still kept at 256 bytes.
Example:
0100:ff00<ff00=ff00!0000:0100<0100=0100:a001-0e17-a080-0f17-0100!
***
Copy itself to last page:
0100:ff00<Inspect clone:
ff00=Transfer control to clone:
ff00!Clone clears original:
0000:0100<Inspect it:
0100=Write command:
( |0 &success $1 &true )
[ LIT2 -/true -System/debug ] DEO
[ LIT2 -/success -System/state ] DEO0100:a001-0e17-a080-0f17-
Exit:
0100! -
@angelwood I made a fully relocatable version of your #uxn catmon!
https://paste.sr.ht/~ismael-vc/cee33d730feeca600529704131badc104bee5332
Still kept at 256 bytes.
Example:
0100:ff00<ff00=ff00!0000:0100<0100=0100:a001-0e17-a080-0f17-0100!
***
Copy itself to last page:
0100:ff00<Inspect clone:
ff00=Transfer control to clone:
ff00!Clone clears original:
0000:0100<Inspect it:
0100=Write command:
( |0 &success $1 &true )
[ LIT2 -/true -System/debug ] DEO
[ LIT2 -/success -System/state ] DEO0100:a001-0e17-a080-0f17-
Exit:
0100! -
-
-
-
-
I worked today in #uxn syntax files and I got a consistent style across the micro editor, sublime text and pygments!
https://git.sr.ht/~ismael-vc/monotal
There are instructions on how to use them in the readme.
Pink: Opcodes
Orange: % ~ (bold, italic)
Yellow: | $
Green: # "
Cyan: @ & (bold)
Purple: . , ; - _ =
Gray: ( ) [ ] (italic)
White/Black: { } foo /foo !foo ?foo 00
Cream/Dark Grey: background
Light Grey: highlightMonotal is just how each uxntal token is mapped to a Monokai color.
-
I have updated my #Uxntal syntax definitions for #micro and #subl Sublime Text, as well as #Python #Pygments
https://git.sr.ht/~ismael-vc/monotal
What I want is consistency in the coloring of the uxntal tokens, this is not about the color palette precisely.
I'm making a book using Pygments and #Sphinx that will use these.
Sublime Text and Pygments are using the Monokai Pro theme colors.
Micro is using it's default Monokai theme.
But you can see all tokens are consistently themed.
: )
-
Maybe time to revisit Sunflower BASIC, now that I have let the last attempt at writing a Tiny BASIC percolate through me a little bit.
Another BASIC implementation I would like to study is BBC BASIC. I think it may be tokenised, not based on an intermediate language.
To me, it matters not whether the computer is retro or modern, what is important is communicating the ideas of the program as clearly as possible.
-
Maybe time to revisit Sunflower BASIC, now that I have let the last attempt at writing a Tiny BASIC percolate through me a little bit.
Another BASIC implementation I would like to study is BBC BASIC. I think it may be tokenised, not based on an intermediate language.
To me, it matters not whether the computer is retro or modern, what is important is communicating the ideas of the program as clearly as possible.
-
If you ever need a relocatable #Uxntal routine's byte code (not the source but the ASCII hexdump), yet your code needs to embed an absolute address, ie. in system expansion commands or device vectors.
This will do the trick
%:PC ( -- pc+3* ) { [ LITr 00 JSRr ] }
|9 @ offset2>>
%<< ( -- offset* 0 ) { :PC ;offset2>> ADD2 #00 }
%>> ( offset* 0 rel -- abs* ) { ADD2 }[
@ foo ( -- )
( ... )
<< ,on-console >> .Console/vector DEO2
( ... )
JMP2r@ on-console ( -> )
( ... )
BRK
] -
If you ever need a relocatable #Uxntal routine's byte code (not the source but the ASCII hexdump), yet your code needs to embed an absolute address, ie. in system expansion commands or device vectors.
This will do the trick
%:PC ( -- pc+3* ) { [ LITr 00 JSRr ] }
|9 @ offset2>>
%<< ( -- offset* 0 ) { :PC ;offset2>> ADD2 #00 }
%>> ( offset* 0 rel -- abs* ) { ADD2 }[
@ foo ( -- )
( ... )
<< ,on-console >> .Console/vector DEO2
( ... )
JMP2r@ on-console ( -> )
( ... )
BRK
] -
Para mis dibujos de #pixelart utilizo el programa noodle https://100r.co/site/noodle.html escrito en #uxn
-
Para mis dibujos de #pixelart utilizo el programa noodle https://100r.co/site/noodle.html escrito en #uxn
-
Woke up today with an intense wanting to implement openfirmware for #Uxn. So I did.
https://git.sr.ht/~rabbits/m_pc