Uxntal Assembler, written in Tal
Go to file
neauoire 4c687adb13 Added rawrel example 2022-11-10 21:11:57 -08:00
etc Minified 2022-10-15 10:51:07 -07:00
examples Added rawrel example 2022-11-10 21:11:57 -08:00
src Added _rune 2022-11-10 21:01:15 -08:00
.build.yml
.gitignore
LICENSE
README.md Moved bicycle to its own repo 2022-09-04 15:03:01 -07:00
build.sh Housekeeping 2022-09-01 11:46:45 -07: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.

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.

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.

Support