Added partial e-ink screenupdates support to my fork of uxn-lfb so animations work now!! #uxn
@d6 uxn-lfb running on a kobo!!!! #uxn

#DecemberAdventure (ides of march edition) day 3.

1. inspired by david revoy's very clever "for ai" segments (see the bottom of https://www.davidrevoy.com/article1129/forbidding-generative-ai-and-llms-on-peppercarrot for example), i added one for my little #mahjong league website!

2. accomplished my first goal with #uxn! which was to convert a tenhou-notated string representing a mahjong hand to bytes in memory (with a slightly arbitrary encoding i chose). my next goal here is to make a graphical thing that allows 1 player to draw and discard from the wall... that might take me the rest of december-march!

Day 3 of the March #DecemberAdventure

I finished 2 smol uxn-related projects this morning and I'm proud of how both came out ^_^

For all you kakoune users I have a treat for you, I implimented uxntal syntax as highlighters! There was a few pre-existing uxntal implimentations for kakoune but I felt they were either over complicated or were not fully complient. You can download the current config from my dotfiles repo: https://git.sr.ht/~angelwood/dotfiles/tree/main/item/.config/kak/autoload/uxntal.kak

Another #uxn project I have finished is nds-bundler, It can take any .rom and compile it into a standalone .nds file! The best part is you don't even need a full SDK installed to use it, only ndstool is required to assemble all the peices together. The game info/icon are also sourced from the rom, so it needs no manual intervention! You can find it on my personal fork of uxnds (Thank you @asie for the base implimentation)

https://angelwood.xyz/wiki/decadv/#mar-17-turtles-all-the-way-up

#DecemberAdventure (ides of march edition) day 2.

spent most of my free time today re-familiarizing myself with the very basics of #uxn. in addition to devine's wiki, the man page and the opcode cheatsheet were both super useful, though there are a few points missing from the man page (notably runes, anonymous labels, ...) -- perhaps i could try to help expand the docs a bit?

the first real program i'm working on is a snippet to take a mahjong hand as a string in tenhou tile notation (e.g. 19m19p19s12345677z) and store it in memory, say 1 byte per tile under some encoding.

stack-based programming (and assembly, generally) is new to me, so working through sequences of opcodes and juggling stacks with nothing but `.System/debug` has been a bit rough. slowly making progress though! hopefully i'll start picking up some uxntal idioms

jojo’s bizarre stack-based assembly ORA ORA ORA

(no idea what I’m doing, but I’m having a great time)
#uxn

Starting more seriously on the interface now, I think I got everything down where I want it. Through all my years of programming in #Uxn, I've managed somehow to never learn much about emulating larger numbers and just lived within the boundaries of 16-bits, but I do skirt pretty close to the boundary sometimes. For example, if I want a little progress bar 0x32 pixels wide, to display a value between 0 and 0x15, I have to do a little bit of finessing to have enough resolution in a short to emulate what in other languages you'd use decimal points for.

https://rabbits.srht.site/decadv/

#DecemberAdventure

#DecemberAdventure (ides of march edition) day 1.

a very productive start!

1. refactored the static site generator for the small #mahjong league to reset rankings monthly (and unobtrusively show previous months rankings below the most recent months'): https://squeak.solarcene.community/~nilay/

2. tried my hand at #calligraphy with a small-sized #shodo brush, and while i'm embarrassed to share the results, i can already see myself improving with the basic strokes. the grip on the small brush is different than the larger brush, so it's a matter of rebuilding muscle memory

3. played with nasu for the first time, and made a little mahjong tile sprite. toying with the idea of learning #uxn (for real this time) by writing fun little graphical mahjong utilities

After working on uxnfloppy for so long, I knew that I had to try writing an emulator for UEFI (the modern replacement for BIOS) at some point. Turns out that using clang and C is much easier than learning and writing 16bit assembly and doing software archeology, who could have known :p

I present to you 'uxnefi', a cobbled together UEFI application using the core of uxn2 (by @neauoire & @alderwick ) that can print stuff. Here is primes.rom:

#uxn #osdev #uefi #bios

@Madagascar_Sky

Wow thanks! Hadn't heard of #uxn (I need to rtfm) and also, indirectly, limited.systems.