Lovebyte 2022: Atari Sizecoders Bring the Love in 16 to 256 Bytes

Lovebyte 2022 ran online on Discord and Twitch over the weekend of 11–13 February 2022. It is a party devoted entirely to sizecoding: competitions for intros from 8 to 512 bytes, 256-byte graphics and "nanogame" compos, a bytebeat music compo, seminars, a live Bytejam and DJ sets. Atari coders who had taken part in the first Lovebyte in 2021 came back, and brought company.

An Atari-made invitation

The party's official invitro was itself an Atari 8-bit production, made by F#READY, Superogue and ivop and released at the end of December 2021. Its soundtrack is a cover of The Cure's Lullaby. The Raster Music Tracker (RMT) file was shared in the announcement thread, and the whole tune is under a kilobyte.

Atari entries

Atari productions appeared in categories from 16 bytes up to the 256-byte oldschool intro compo, the party's showpiece. Forum regulars listed the Atari sceners who took part: ilmenit, Superogue, ivop, Koala, xeen, tr1x, gorph, F#READY and EMBA. One participant also released a first-ever Atari production, the 128-byte intro Interstate 128, written on a 130XE that a fellow Atarian had helped them get and repair.

ivop's entries show what fits in these limits:

  • "Cowbell? We Need More Chessboards!" (256 bytes), a three-layer "pixel shader" with a very slow cover of Blue Öyster Cult's Don't Fear the Reaper. It scored best of his entries. After the party he squeezed it to 225 bytes, saving 31 bytes, and published that version too.
  • "It's Easy Being Green" (256 bytes), which ivop is proudest of: a real-time pixel shader computing 3,072 pixels with no precalculated tables, plus music.
  • "Bars and Beat", a 16-byte intro.
  • More pieces from 32 to 256 bytes. The folder names include a chessboard of chessboards, circles, a tunnel, jolly dots, "going down", "explosive" and a 32-byte Sierpinski.

How they do it

The sources show the usual tricks. More Chessboards, for example, loads straight into zero page and calls ROM routines directly at their fixed addresses: the OS graphics-mode, PLOT and DRAWTO entry points. That is why each intro's notes specify an Atari 800XL with the stock Rev. 2 OS (and, for the tiniest, no BASIC). A different OS revision would move those addresses and break the intro.

Why it matters

Lovebyte runs oldschool, high-end and fantasy-console competitions side by side, so it puts Atari sizecoding in front of a wider audience than an Atari-only party would. Sources published after the event, like ivop's, make it a good place to learn tight 6502 code.

Where to find it

Videos of the productions were collected in a YouTube playlist and linked from Demozoo's Lovebyte 2022 party page. ivop's entries, with main.s sources and XEX files, are at github.com/ivop/sizecoding (folder lovebyte2022). The sizecoding.org wiki has a page on 6502 sizecoding with an Atari 8-bit section. Run the XEX files on an 800XL-compatible machine, or in Altirra with a real XL/XE Rev. 2 OS ROM image loaded. Because the intros jump into the OS at fixed addresses, they may fail with a different OS, such as Altirra's built-in replacement.

Credits