So is pretty cool. Weekend plans include building a few tiny things in it then start designing a language that compiles to just for fun.

I've only barely gotten in to it but I'm wondering if it's possible to get around the color limit with some tricky timing. I remember reading that you could display more colors on the NES by switching the palette between scanlines

#uxn #uxntal

Last updated 1 year ago

Devine Lu Ator · @neauoire
10072 followers · 60454 posts · Server merveilles.town

Implementing structural editing in . I remember having lots of fun with THINK Pascal when the IDE was reformatting my program automatically and I've been meaning to have this as part of my workflow now.

#uxntal

Last updated 1 year ago

Devine Lu Ator · @neauoire
9963 followers · 60032 posts · Server merveilles.town

For speed-critical loops in , consider this pattern:

Use the return-stack to juggle the function pointer and if you can, flatten your boundaries to a single byte(so 0..0x10, becomes 0x0f).

#uxntal

Last updated 1 year ago

Devine Lu Ator · @neauoire
9925 followers · 59882 posts · Server merveilles.town

@wim_v12e aaah, then yes, nothing to worry about there then.

I'm not sure if you've seen @bellinitte's padding mod to (merveilles.town/@bellinitte/11) but you miiight be able to make use of this somehow.

#uxntal

Last updated 1 year ago

Devine Lu Ator · @neauoire
9896 followers · 59719 posts · Server merveilles.town

Made a little companion REPL to Left, select a bit of code and press ctrl+p to have it assembled and evaluated in the Bicycle window. It's a good way to learn how translates to bytes, and vice-versa.

git.sr.ht/~rabbits/bicycle#run

#uxntal

Last updated 1 year ago

Devine Lu Ator · @neauoire
9889 followers · 59688 posts · Server merveilles.town

Understanding enums in . Or, the recurring "why is the device page overlapping the zero-page" question.

llllllll.co/t/uxn-virtual-comp

#uxntal

Last updated 1 year ago

Devine Lu Ator · @neauoire
9889 followers · 59658 posts · Server merveilles.town

Added a few notes to the page on how to quote/unquote opcodes and functions. "Quoting" here means to defer an operation, as in in, evaluating it later. It's doubles as a little introduction to Uxn's self-modification patterns.
wiki.xxiivv.com/site/uxntal_im
:uxn:

#uxntal

Last updated 1 year ago

R. L. Dane · @RL_Dane
1201 followers · 17845 posts · Server fosstodon.org

@krishnadraws

Learning to adapt my workflow to the BSDs has given me some of this fun feeling back, and also playing with , the not-quite-retro 16-bit virtual machine and assembler.

I stayed up until 6am configuring on my old a couple nights in a row a few months ago 😅

gives me the feeling of using old Sun workstations 30 years ago (but modern).

uxn gives me the feeling of late 8-bit and early 16-bit home micros.

#uxn #permacomputing #openbsd #stinkpad #bsd #freebsd #netbsd #runbsd #uxntal

Last updated 1 year ago

DHeadshot's Alt · @ddlyh
26 followers · 1578 posts · Server topspicy.social

@neauoire
I can't find documentation anywhere on your wiki for using "[" and "]" in . There was a commit in the assembler git saying it's ignored though, so is it just a commented marker?

#uxntal

Last updated 1 year ago

DHeadshot's Alt · @ddlyh
24 followers · 1337 posts · Server topspicy.social

Made a language configuration file for to make programming it easier: pastebin.com/hWyw6pMp

#notepadplusplus #uxntal #uxn

Last updated 1 year ago

WimⓂ️ · @wim_v12e
245 followers · 963 posts · Server merveilles.town

The generated code is

|0100 @main
;f_10 ;f_11 ctor_22 if
BRK
~print.tal

@f_10 print-int8 JMP2r
@f_11 print-int8 JMP2r

@print-int8 print8-dec JMP2r

@if ,&true JCN
&false NIP2 JSR2
&true POP2 JSR2
JMP2r

@ctor_22 #01 JMP2r
@ctor_23 #00 JMP2r

@free-addr

#002b #002a #uxntal

Last updated 1 year ago

WimⓂ️ · @wim_v12e
241 followers · 953 posts · Server merveilles.town

Finally, my compiler can emit correct for some simple examples.

The first one shows named functions, lambda functions and primitive types:

functions {
sq = (\Int <- x:Int. x x *)
}

main {
6 7 (\ Int <- x:Int <- y:Int . x y * sq )
print
}

#uxntal #Funktal

Last updated 1 year ago

Potassium · @potassium
11 followers · 37 posts · Server mindly.social

Learned how the color palette works and then modified hex values in the writing app 'Left' to display in dark mode! This is fun! 😀


100r.co/site/left.html

#uxn #uxntal #varvara

Last updated 2 years ago

Potassium · @potassium
11 followers · 36 posts · Server mindly.social

Alright, let's see what all of the commotion is about

#uxn #uxntal #varvara

Last updated 2 years ago

Devine Lu Linvega · @neauoire
9204 followers · 57474 posts · Server merveilles.town

Every few months I rewrite the assembler, and each time I find new and better ways to do certain things.
The whole assembler is now 1752 bytes, or 433 lines of .
git.sr.ht/~rabbits/drifblim/tr

#uxntal

Last updated 2 years ago

Hans X · @zephyrfalcon
33 followers · 89 posts · Server mastodon.social

I understand it correctly, the virtual machine is essentially separate from the computer. In the sense that you could write a _different_ computer/front-end for , that still uses but may have different capabilities than Varvara, using different ports.

#uxn #varvara #uxntal

Last updated 2 years ago

krowe · @krowemoh
3 followers · 217 posts · Server mastodon.social

I made a little utility to learn the system colors and it definitely helped.

nivethan.dev/toys/uxn-tools/sy

These little side projects are fun.

#uxn #uxntal

Last updated 2 years ago

krowe · @krowemoh
3 followers · 213 posts · Server mastodon.social

Day 3 on . I think this day is much better as a first day. It might throw you into the deep end but I think I liked learning conditionals and jumps far more than bits and bytes. It did help that I already knew how stacks and ops worked.

#uxn #uxntal

Last updated 2 years ago

yeti · @yeti
62 followers · 225 posts · Server emacs.ch
Devine Lu Linvega · @neauoire
9129 followers · 57331 posts · Server merveilles.town

I've been working on implementing callable words in .

Instead of the typical PUSH->POP->JSR sequence each time you want to run a routine, these tokens are not pushing to the stack - they'll run immediately.

They'll be impractical for doing pointer arithmetic, but save 1 byte for every subroutine call, and will save millions of cycles in a project of the size of a text editor or drawing software.

They don't break compatibility with old roms, and make source files a bit more readable.

#uxntal

Last updated 2 years ago