Skip to main content

Search

Items tagged with: uxn


I've written my first toy compiler ! it takes a Joy-like language as input, and outputs uxntal. For the moment it doesn't do much, but it can compile factorial and fibonacci ☺️
#uxn
https://github.com/max22-/compiler
#uxn


long shot, but has anybody managed to compile #orca on the playdate? the repo mentions linux env instructions and I totally got stuck on windows.
#uxn #uxntal


I'm now on day 4 of the Compudanzas tutorial and starting to veer off into unexplored territory to write my little experiments. Thanks a lot to @neauoire and the folks in the #uxn IRC channel for all the help and encouragement!

Here is a little screensaver like thingie I made as part of Day 4.


A few more ROMs are working on the Analogue Pocket Uxn core, and input is hooked up now! I have so much more to do, so a lot of things still don’t work, but a little more progress is always exciting to see! 😀

Next, I’ll try to implement the auto-advancing sprite drawing (where a single instruction could draw as many as 16 sprites).

#AnaloguePocket #uxn #varvara


#uxn running on my Zaurus Husky :3 🦖🐶

It's uxn38, running the timer ROM from its example programs! I made a custom rootfs with buildroot and an old kernel on an SD card. I wanna make something out of this cute little puter and #uxn seems to be a good fit!

uxn38: https://github.com/zzo38/uxn38

#uxn


Spent a bit of time today to make the html5 experience of the #uxn emulator somewhat less awful.

There's a clearly indicated zoom toggle button, a way to share the rom via url encode, and they don't vanish offscreen anymore when the window is too high.
https://rabbits.srht.site/uxn5/

#uxn


made a file browser for #uxn .
https://github.com/origedit/uxnfiles/tree/main
#uxn



np ^^ let me know if you have any issue, you can hop on #uxn on irc.esper.net also if you wanna chat, I'm online if I'm awake.
#uxn


I've added copies of source files for most #uxn tools, and other software, here:
http://wiki.xxiivv.com/etc/

These will be automatically updated as I work on them in their individual repositories, but mirrored there for reliability. They are also embedded in their wiki pages, for example:
http://wiki.xxiivv.com/site/left

#uxn


Solved my problem of a simple timer for approximate 1-30min cooking tasks (mainly tea, frankly) with a quick uxn utility. #uxn (font is Emmaline by damieng).
#uxn


Well, at least the memory protection feature is worth using. kind of

Basically, sending a magic byte to .System/debug triggers special behaviour, marking memory as readonly, escalating privs to write to readonly memory, or printing out a pretty backtrace.

Not backwards compatible unfortunately, so I added a metadata flag to allow for selective compilation depending on whether the code is being run in a generic #uxn emulator or Bur's builtin one.

#uxn


Started reading the Compudanzas #uxn tutorial and this is exactly what I needed: slow-paced and making complex (to me) things accessible! Will dive deeper into it tomorrow, really looking forward to it. https://compudanzas.net/uxn_tutorial.html
#uxn


Service is partially restored.
https://status.sr.ht/
#uxn
#uxn


Finally sat down to give catcubes a serious try and am finding it quite enjoyable! Starting to build some basic tactics, but nothing fancy. #uxn
#uxn


I'm finally getting back into #uxn/#varvara, and have run into some trouble following the Compudanzas tutorial - I can build any given .tal file once, but after doing so once if I do so again I get

hello.tal line 0x0000: Memory overwrite: LIT.

in the terminal output from launcher.rom and the .tal file is corrupted - anyone have pointers on where to look to start debugging this? I don't have a lot of C skill at this point, so haven't dug much into the uxnasm source yet.

#uxn


Debugging compudanzas hello.tal (hello.rom) in Beetbug.

#uxn #beetbug #varvara


Lovely as always!

It would be fun to squash some of these down into .uf1 files. https://wiki.xxiivv.com/site/ufx_format.html #uxn

#uxn


Decided to start on #lovebytetcc. A tree in 159 bytes of #uxn assembled directly in my little flow-based operating system designed to do livecoding stuff.
https://git.sr.ht/~rabbits/decadv/tree/main/item/tcc/day1.tal


For my #DecemberAdventure, I've optimized uxnfloppy so that it runs at 60 fps most of the time at 640x480! Here is a video of bunnymark.tal running on the laptop. It can draw around 2000 sprites before it goes below 60 fps!

#uxn #theWorkshop #theFurnace


Reading @neauoire's posts about character input, got me wondering if it is possible to do character recognition with neural networks inside UXN.

After a few hours of work, the answer is: Yeah, kind of (?)

As a proof of concept I implemented a 3 layer neural network trained on MNIST.
Since UXN has limited memory and no floating point operations, I decided to use a binary neural network: Each weight & activation is quantized to a single bit.

#uxn


One of the advantage of using a self-hosted compiler, I can now rebuild projects without relying on unix pipes, without having to exit the #uxn environment. :mac:
#uxn


Today I got something resembling a working uxn development setup running in porporo. Still not using all the tricks, and my old eyes struggle a little with the small text. #uxn #DecemberAdventure


Going to give #DecemberAdventure a try, likely focused on #uxn tinkering in uxntal instead of on the emulator side of things.
http://wastingmoves.com/december_adventure_2023.html


Starting my first #DecemberAdventure this year.
I'll be coding daily on my small virtual stack machine inspired by #uxn.
Hopefully I'll have made a basic text editor by the end of the month!
https://git.sr.ht/~louismerlin/december-adventure


Lurking around the cool corners of Fedi, I recently learned about #DecemberAdventure. https://eli.li/december-adventure

I'm gonna skip Advent of Code this year and instead commit to spending at least a few minutes every day next month working on my now-abandoned Morse code game for #uxn.


hey! what do you mean with "I've copied uxnasm into the build folders"? you put it there along with build.sh?

if that's the case, I suggest editing the build.sh file and replacing what I'd guess appears as "uxnasm", with "./uxnasm" so that it runs uxnasm from the current directory.

alternatively, you could put uxnasm in your "PATH" so that you can run it from anywhere—I think that's what the build script is assuming you have. There are many ways of doing that and I don't have a specific recommendation, but hopefully, you can find out how to do it. (if not, let me/us know!)

tagging this with #uxn so that others can jump in.

#uxn


@PypeBros it's called Porporo, it's a #uxn multiplexer.


return to tradition: #fossangel in #uxn's #oekaki

'run whatever you want, what do I care...'

Despite its lackluster expression, intuitively you feel the angel has a preference, but you don't know what it is.

You're not sure who's side the monochrome divinity is on, but you hope it is the one you're on.

#unix_surrealism #monochrome #fediart #mastoart


First dive into the amazing world of #uxn. But why isn't everything so simple? Need a dark mode for #Left, three hexa to change with #Dexe in the left rom and go, it's over !
Thank a lot @rek and @neauoire for this breath of fresh and pure air.

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