Uxntal Assembler, written in Tal
Go to file
Devine Lu Linvega 98264bcd19 More routines are passing the type checker 2023-05-16 09:16:27 -07:00
etc Ported to JMI, JCI and JSI 2023-01-11 11:18:14 -08:00
examples Added warning for nested comments 2023-05-13 09:48:40 -07:00
src More routines are passing the type checker 2023-05-16 09:16:27 -07:00
tests Added test for token length 2023-05-15 11:24:15 -07:00
.build.yml Fixed build 2022-03-10 14:15:48 -08:00
.gitignore Starting pre-processor output 2022-07-13 10:45:16 -07:00
LICENSE Init 2022-03-08 17:40:56 -08:00
README.md Updated docs 2023-04-21 10:12:20 -07:00
build.sh Added uxnbal to build.sh 2023-05-13 20:24:08 -07:00
tests.sh Added test for token length 2023-05-15 11:24:15 -07:00

README.md

Drifblim

Drifblim is a Uxntal assembler, written in that same language.

The assembler is designed to help bootstrap the Uxn ecosystem, it is available as an assembled rom, a symbols file and a print-friendly source code, along with its hexadecimal data and the napkin definition of the Uxn virtual machine.

Build

This assembler is written in the language it is assembling, creating a chicken-and-egg problem. You have two choices, download a pre-assembled drifblim.rom(1300 bytes), or use uxnasm.c.

# start with uxnasm
uxnasm src/drifblim.tal bin/drifblim-seed.rom
# from drifblim.rom
uxncli bin/drifblim-seed.rom src/drifblim.tal bin/drifblim.rom
# Assembling hello.tal
uxncli bin/drifblim.rom etc/hello.tal bin/hello.rom
uxncli bin/hello.rom

If do not wish to assemble it yourself, you can download drifblim.rom.

builds.sr.ht status

Interactive Mode

Drifblim allows for interactive reassembly. To use this feature, you need to launch drifblim with the output path prefixed with a caret(^):

uxncli drifblim.rom ^bin/output.rom

In this mode, each file path sent through the console, will be assembled to bin/output.rom. This was created to be used with the Left text editor.

Drifblim is strong enough to lift Pokémon or people but has no control over its flight. This causes it to drift with the wind and end up anywhere.

Support