Virtual Machines

From SizeCoding
Revision as of 07:36, 2 January 2021 by Superogue (talk | contribs)

Jump to: navigation, search


Welcome to the virtual machine section of the website, where we will cover virtual machine (VM) languages and platforms like the TIC-80 and Javascript.


TIC-80 is a fantasy computer for making, playing and sharing tiny games and demos.

There are built-in tools for development: code, sprites, maps, sound editors and the command line, which is enough to create a mini retro game. At the exit you will get a cartridge file, which can be stored and played on the website.

Also, the game can be packed into a player that works on all popular platforms and distribute as you wish. To make a retro styled game the whole process of creation takes place under some technical limitations: 240x136 pixels display, 16 color palette, 256 8x8 color sprites, 4 channel sound and etc.

Setting up

As the TIC-80 fantasy computer is an all-in-one creation and execution platform, setting up TIC-80 is very easy:

Just go to the page

and download the package for your platform of choice (Windows, OSX, Linux and even Raspberry Pi).

Or if you are just curious you can just start doodling online at

Video display

The TIC-80 has a 240x136 pixel display with 16colors which can be accessed via a wide range of graphics functions or by writing directly to VRAM at memory address 0x0000 using the poke4 instruction.

Draw functions

Here is a bit of code to get you started:

Getting something on screen

Here is a bit of code to get you started:

function TIC() 
for y=0,136 do for x=0,240 do

Which will display an animated XOR pattern.

Setting colors

Unfortunately for us sizecoders, the pre v0.8 TIC-80 came with a different palette than the now standard (and much more friendly) sweety16 palette. And because of backwards compatibility, this old palette is also the default palette that is being used when now palette chunk is defined in the TIC cart.


The TIC-80 has soundregisters and 32 byte waveforms to access

Make some noise

To be added soon.

Additional Resources

Sizecoding on the Atari ST is not very huge yet, so resources are sparse. Here are some bytetros with source code:


The Javascript sizecoding community has been quite active for years now.

Setting up

  • Tools: -
  • Execution environment(s): Browser, Dwitter

Video display

No information yet


No information yet

Additional Resources

Here are some additional links with source code:

Prod name (Pouet link) Source code
128b Palette Starfield by Gaston
Fractal Landscape bootsector by Gaston