Skip to main content

Search

Items tagged with: Uxn


It's always exciting to get something working, and so I was really chuffed to day: Funktal is finally so far that I could implement the Uxn DVD Bounce demo, and it works! Here is a short video.
#Funktal #Uxn


haha! success! here's my original goal achieved, teaching my linux box how to execute #uxn roms!

now i can mark executable any uxn rom (with metadata), stick it somewhere on my path like ~/bin, and run it from the terminal or from a "run command" popup or from my window manager

lol yeah it's way more complicated than the recommended method of shell aliases, but still feels pretty cool

https://git.orbital.rodeo/mike/system.git/html/etc/binfmt.d/uxn.conf.html

🤔 every uxn rom could become a standalone apt-install-able application using this...

#uxn


idk if this is the most efficient way to do it, but with @neauoire's help, i could make file(1) detect (most of) my #uxn roms 👍

the configuration that does this is here: https://git.orbital.rodeo/mike/home.git/html/.magic.html


🤔 wonder if i can use binfmt_misc to tell linux that when i type chmod +x ./potato.rom; ./potato.rom that it should use /usr/bin/uxnemu to launch it

then i can just dump piles of cool roms into my bin/, which is in $PATH, and launch them from anywhere

#uxn

https://en.wikipedia.org/wiki/Binfmt_misc

#uxn


Implemented a near-identical version of the macintosh "Note Pad" application, with a couple of fixes. It compiles to a neat 7kb #uxn rom.

source: https://git.sr.ht/~rabbits/uxn-utils/tree/main/item/gui/notepad/notepad.tal
devlog: https://merveilles.town/@neauoire/110271819947661225


The original Note Pad was credited to Donn Denman.
#uxn


I have managed to make a Thing with #uxn. Took me a way to long to understand which way the bytes went in Uxn.
#uxn


Allowed adding watches by wildcard, which includes all of them, and now sort watches by last changed time. Makes it easy to get an overview of what's going on in your program. #uxn
#uxn


trying to learn #uxn with the compudanzas tutorial
#uxn


Spent some of today working on nux (https://github.com/nf/nux). Added a step-debugger with breakpoints. Still a bit rudimentary but already proving very handy. #uxn
#uxn


Next piece view, a bit of a prettier presentation. #uxn
#uxn


And now I've got line compaction going! The stack-oriented thinking is kinda turning my brain inside out, in a good way... #uxn
#uxn


My goals are for a slightly larger, slightly more complex, slightly more modern system, but the reason I keep tinkering with my compiler project is very strongly aligned with the ideas behind @neauoire 's UXN environment, and shares some of the same inspirations (simpler machines of the 80s, Project Oberon, a desire for a software stack that's smaller, simpler, more understandable, and robust against the march of "progress" bit-rotting things)

https://100r.co/site/weathering_software_winter.html

#projects #compiler #uxn


Added a -dev flag to nux that makes watch an unxtal file, and when it changes rebuild it and reset varvara running the new rom. Much easier to hack now!

https://github.com/nf/nux #uxn
#uxn


Bringing some of the new GBA renderer optimizations to uxngba :uxn:

I'm specially happy with the new way I'm doing blending modes, removing per-nibble for loops in favor of some bit wrangling wizardry.

2.9x speedup for 2bpp sprites (chr) and 2.55x for 1bpp (icn).

Still have some unmerged changes with an updated uxn core, since I have that on a separate branch where I was doing oquonie work, but will be there soon.

#uxn #gba #gbadev


soooo, I have come back to the topic of running uxn in the browser and generally JS runtime, but what I felt was lacking in trying to run uxn in pure JS were types/structs, generally code readability, so I have started work on porting uxn to Typescript (based on current C implementation) hope it's not too blasphemous, below is an example of running simple hello.rom, as it does not include other devices than the system yet



repo: https://github.com/mayakarabula/uxnts
but it's very much WIP now

#uxn
#uxn


I, too, am working on a Go implementation. But the other kind... #uxn
#uxn


A week ago I started a Go implementation of a Uxn/Varvara emulator (https://100r.co/site/uxn.html). As of last night, I have everything implemented except for audio.

@neauoire and @rek's stated "implementation-first mindset" has indeed paid off - the system was very easy to implement (with some help from the folks in #uxn on irc): I had the CPU working within a day, and have mostly spent time fiddling with OS integration (screen, files, input devices).

Work in progress: https://github.com/nf/nux


A little video showing off some of the features of my experimental "raster" extension device building on the screen of the #uxn varvara VM. The device adds two scrolled tile layers stacked with the existing fg/bg layers (adjustable priority) and a new vector which is evaluated at the start of every line during screen redraw, allowing for fun raster effects.
#uxn


A quine is a computer program which takes no input and produces a copy of its own source code as its only output.

The following sequence of bytecode is a valid #uxn quine. Uxn is at an advantage in that raw hex is valid uxn code. So the quine here reads its own program(without self-evaluating it, or introspection) and outputs itself again.

https://en.wikipedia.org/wiki/Quine_(computing)
#uxn


Content warning: oquonie spoiler

#uxn


My little functional language for Uxn, Funktal, is finally in a state good enough for a blog post:

"Funktal: a frugal functional programming language"

https://wimvanderbauwhede.codeberg.page/articles/funktal/

You can also try it out:

https://codeberg.org/wimvanderbauwhede/funktal

#Funktal #Uxn


So, today I learned about the existence of @TheByteAttic's #AgonLight

It's an affordable, modern, open source, Z80 based 8bit computer that pretty much ticks all my boxes I wanted from a hobby machine like that!

I will be getting one as soon they get back in stock state side

Wonder if I could get #uxn on it as it also supports FORTH (although I'll start with their BASIC, as I'm not a good programmer and BASIC is quite fast on it 😉)


Ad-hoc structs in Uxntal

#uxn
#uxn


It's late but here is a #blog post of how I came to build #taro, the architecture, etc:
https://nilfm.cc/adventures_in_uxn_and_crystal.html

#uxn #crystal-lang #mblaze


So for the past 2 weeks I've been building an #mblaze frontend in #uxn and #crystal-lang

https://hacklab.nilfm.cc/taro


@neauoire i've got a little #uxn question : why do you pass *pixels as an argument in screen_redraw, even though you can access it using p->pixels ?
https://git.sr.ht/~rabbits/uxn/tree/main/item/src/devices/screen.h#L31


Wrote a little companion rom that does live evaluation of #uxn, so I can evaluate parts of a program to see its size and run length.

Very worthwhile use of 6.4kb
#uxn

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