Main Page

From SizeCoding
Revision as of 08:59, 10 March 2022 by Superogue (talk | contribs)

Jump to: navigation, search

Welcome to! is a wiki dedicated to the art of creating very tiny programs for most popular types of CPUs. As sizecoding is also popular on other hardware we recently opened the website for other plaforms as well, check the links below.

By "very tiny programs", we mean programs that are 256 bytes or less in size, typically created by members of the demoscene as a show of programming skill. The size of these tiny programs is measured by their total size in opcode bytes, and are usually presented as executable binary.

Despite their tiny size, these programs are able to produce amazing graphical displays, playable games, and sometimes music. There are even some surprisingly effective programs just 16 bytes [1] or even 8 bytes [2].

The intent of this wiki is to teach assembler programmers the various techniques used to create tiny demoscene intros. While these techniques can be used for other applications (boot sectors, ROM, BIOS and firmware code, etc.), the information presented here is firmly oriented towards the demoscene. Practicality and common sense are sometimes thrown out the window just to shave a single byte -- consider yourself warned.

Here is the list of active platforms available on this wiki:

  • DOS - Sizecoding for X86/DOS platforms.
  • Linux - Sizecoding on linux platforms.
  • ARM based CPUs - ARM Based Platforms (RISC OS, Gameboy Advance, etc.)
  • Motorola 68k based CPUS - Start Sizecoding on your Atari ST or Amiga.
  • 6502 based CPUs - Commodore 64, Atari XE/XL, Apple II, Atari 2600, Atari Lynx, etc.
  • Z80 based CPUs - For all your ZX Spectrum, Amstrad CPC, etc. sizecoding needs
  • PDP-11 CPUs - Get your BK-0010 and BK-0011 kicks here
  • RISC-V CPUs - Mainly on cheap micro-controllers or qemu for now, but first RISC−V micro-processors based board come since one year.
  • Fantasy Consoles - Dedicated to Fantasy Consoles and VM's like TIC-80, PICO-8, Javascript/js1k, etc.
  • Bytebeat - Tiny music created from mathematical expressions.