Search
Items tagged with: 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.
compudanzas — uxn tutorial
a beginner's, slow-paced and comprehensive guide for programming the varvara computer based on the uxn core.compudanzas.net
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.
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
https://git.sr.ht/~rabbits/decadv/tree/main/item/tcc/day2.tal
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!
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
https://git.sr.ht/~rabbits/grail/tree/main/item/src/grail.tal
http://wastingmoves.com/december_adventure_2023.html
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.
Oatmeal - December Adventure
The Advent of Code is cool, but a lot, and not everyone’s jam. The December Adventure is low key. The goal is to write a little bit of code everyeli.li
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.
instant classic remaster in #uxn's #oekaki
_parenting_ ft. #9front
#unix_surrealism #plan9 #monochrome #comic #fediart #mastoart
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
Finally, Bur -- my latest obsession, an attempt to create a concatenative language that compiles to #uxn roms -- can generate a tiny non-hello-world program.
Behold the beauty of printing numbers
I love that night and day difference between “I don’t know what I’m doing and just playing around” and “I understand how this works now and can cut the cruft”.
My first implementation of ulz vs my second implementation of ulz is that example
#Uxn #Varvara #AnaloguePocket
@aw @nf
After increasing the clock speed, and a couple other minor improvements, it’s a little smoother now!
https://git.sr.ht/~rabbits/uxn5
https://github.com/nf/fourtette