Difference between revisions of "Main Page"

From SizeCoding
Jump to: navigation, search
(Undo revision 885 by Superogue (talk))
(Welcome to SizeCoding.org!)
Line 28: Line 28:
 
*'''[[Z80 based CPUs]]''' - For all your ZX Spectrum, Amstrad CPC, etc. sizecoding needs
 
*'''[[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
 
*'''[[PDP-11 CPUs]]''' - Get your BK-0010 and BK-0011 kicks here
*'''[[Virtual Machines]]''' - Dedicated to virtual machines like TIC-80, Javascript/js1k, etc.
+
*'''[[Fantasy Consoles]]''' - Dedicated to Fantasy Consoles and VM's like TIC-80, PICO-8, Javascript/js1k, etc.

Revision as of 07:31, 15 August 2021

Welcome to SizeCoding.org!

SizeCoding.org 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 in under 16 bytes, such as a maze generator in 10 bytes, a mouse-driven paint program in 16 bytes, and an "Enter the Matrix" screensaver in only 8 bytes.

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.

This wiki is divided into the following major sections for x86:

  • Getting Started - What do you need to know before starting your first tinyprog?
  • Tips, Tricks, and Techniques - The meat of the wiki. Lists of small opcodes, default environment settings, size optimization basics, and a ton of random tips.
  • Case Studies - Analysis of existing award-winning tiny programs, with comments on what choices were made and why.
  • Additional Resources - Discussion threads, competitions, repositories, and other external references that can aid you in your quest.

For other processors and platforms check out the sections here: