Uxntal Assembler, written in Tal
Go to file
Devine Lu Linvega 1fde191c9c Stream output 2023-01-20 09:55:53 -08:00
etc Ported to JMI, JCI and JSI 2023-01-11 11:18:14 -08:00
examples Stream output 2023-01-20 09:55:53 -08:00
src Stream output 2023-01-20 09:55:53 -08: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 Added badge 2022-11-11 15:41:12 -08:00
build.sh Stream output 2023-01-20 09:55:53 -08:00
old-build.sh Added pass2 flag 2023-01-10 21:09:39 -08:00

README.md

Drifblim

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

The assembler is written in about 400 lines, it's designed to help bootstrap the Uxn ecosystem and to demonstrate the concept of a personal one-page computer concept. The goal is for Driflim's source code to be released as a print-friendly document, along with its assembled 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

Project Mode

Drifblim allows for live-reloading when used as a launcher.rom(f4). To use this feature, you need to create a .drifblim file of 61 bytes to be loaded in the zero-page:

  • 00-2f, source path.
  • 30-5f, destination path.
  • 60, non-zero values will also run the run on assembly.

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