Search
Items tagged with: uxn
Content warning: I've been puzzling over the Binary Golf 4 puzzle, the task is to create the smallest self-replicating file.
I finally managed to release #uxnfloppy, my bootable x86 #uxn emulator
Try it out here: https://git.sr.ht/~gustav/uxnfloppy
I got wondering how much work it would be to compile s-expressions to #uxn, it turns out, not a lot.
As a test, I've only implemented β€t, but it's shockingly easy to map lisp-like syntax to the uxn assembly, I might push this further still.
https://git.sr.ht/~rabbits/qzil/tree/master/item/src/qzil.tal
I spent the evening analyzing opcode usage in UXN programs.
The most used opcodes are DEO2, JMP2r and ADD2. Almost half of all opcodes are never used in the 22413 LOC that were analyzed. The majority of unused opcodes are return stack variants ("r").
In the table below, the most used opcodes are marked in red, the least used in blue. Opcodes that were never used are shown in light grey.
#uxn
Return stack is "poki"(container), bits are "lili".
https://github.com/Ismael-VC/kvara/pull/1/files
Add toki pona translation by soxfox42 Β· Pull Request #1 Β· Ismael-VC/kvara
Have you ever wanted to write programs for a machine that has 32ish opcodes in a conlang that has 120ish words? Me neither. Here's a translation anyway.GitHub
Uxn implementers may also be interested in the subproject uxn-cpp: https://github.com/ar-nelson/uxnpi/tree/master/uxn-cpp
It's a port of the reference Uxn interpreter to C++. All of the Varvara devices (except audio, that's still WIP) have been converted to abstract base classes. This is an easy starting point to port Uxn to any platform; uxnpi is just a thin layer on top of it.
uxnpi/uxn-cpp at master Β· ar-nelson/uxnpi
Uxn for the Raspberry Pi, on bare metal. Contribute to ar-nelson/uxnpi development by creating an account on GitHub.GitHub
we are live! we are streaming a general revision the #uxn tutorial!
see you at https://twitch.tv/compudanzas
https://github.com/ar-nelson/uxnpi
Uxn on the GPi Case 2W is finally usable! I have Fourtette (https://github.com/nf/fourtette) working now, fully playable! Though only at 1:1 pixel ratio and with no audio.
This is running directly on the bare metal of the Pi Zero 2W, using Circle for graphics and USB gamepad drivers.
GitHub - ar-nelson/uxnpi: Uxn for the Raspberry Pi, on bare metal
Uxn for the Raspberry Pi, on bare metal. Contribute to ar-nelson/uxnpi development by creating an account on GitHub.GitHub
GitHub - origedit/worm: the game of snake for Uxn
the game of snake for Uxn. Contribute to origedit/worm development by creating an account on GitHub.GitHub
https://paste.sr.ht/~ismael-vc/ce7e1d43ace460bf08a405781c6b602187951eb9
#uxn
https://lists.sr.ht/~rabbits/uxn/%3C6a8207b3-9261-4a1a-9850-6ed56a6540c5%40100r.co%3E
#uxn
My company had a Pi Day Hackathon, and the project I decided on was to run Uxn on a Pi Zero 2W. Specifically, on this Game Boy-style case, with graphics and controls working: https://retroflag.com/gpi_case_2w.html
It was harder than I expected, and it's still not done!
You'd think it'd be as easy as installing the default Uxn emulator on the Pi, since it already runs Linux. But the GPi Case has a unique driver for its screen, and only a few "retro gaming" distros support it.
#Uxn #RaspberryPi #PiDay
GPi Case 2W - Retroflag
Game Boy inspired Raspberry Pi case. As a homage to the 8-bit handheld game console, Game Boy, not only does it carry the same looks, it also includes additional features like X/Y buttons Compatible with Raspberry Pi ZERO, ZERO Wretroflag.com
https://twitch.tv/compudanzas

https://twitch.tv/compudanzas
#Uxn
In this first #maintenancePractice stream, we reviewed day 1 of the #uxn tutorial, updating links and terminology.
https://compudanzas.net/maintenance_practice.html
gemini://compudanzas.net/maintenance_practice.gmi
The most important change is that the tutorial is now mainly targeting the learn-uxn (online) platform maintained by @metasyn, so that learners can jump right in and experiment without having to deal (from their or our side) with setting up a dev environment (the instructions we had regarding that were somewhat outdated).
https://metasyn.srht.site/learn-uxn/
The discussion about different ways of running uxn/varvara was moved to an appendix that is a work-in-progress.
compudanzas β maintenance practice
creating is fun, but sometimes I want to slow down, revisit, review and document what I've done before.compudanzas.net
Some more progress on sprites! The 2bpp mode is working much better now, but I still have lots of weird drawing bugs. Itβs getting there slowly though π
#AnaloguePocket #uxn #varvara #fpga
time to commit! this saturday, march 9th, starting at 12:00 UTC+1, we'll stream our #maintenancePractice: a long overdue revision and update of the #uxn tutorial!
https://www.twitch.tv/compudanzas
(posting it here today, and inviting you all to join, for accountability purposes and for "getting things done" π )
https://wiki.xxiivv.com/site/uxntal.html
A couple games are getting so close to playable!
Iβm going to try running
some FPGA simulations in GHDL for some basic test ROMs, and compare output logs to the Uxn software emulator. The simulator runs many thousands of times slower than the real thing, and is a pain to set up, but I think I can no longer guess my way through it. Too often Iβm trying random ideas, waiting 10 mins for a build to finish, and then seeing if it worked on the Pocket π
A little more progress on the Uxn core for Analogue Pocket! Some of the test ROMs are looking a little closer to how they are supposed to π I started to fix some issues with how I was implementing the multiple sprite drawing, but I think I still have some more work to do with blending.
Sorry for the lack of updates lately - progress has been slow because I was really sick for a while. Feeling much better now!