Snowflake
Author: EParent
Category: Christmas Challenge
System: Atari 400/800/XL/XE
Language: Atari BASIC
Len source code: 282
Len exe file:
Len code only: 282
Instructions:
Using an Atari 8-bit computer emulator, I use Atari800, be sure a BASIC
cartridge is installed and enabled. Insert the included snowflak.atr disk
image into the boot drive and start the emulator.
When the BASIC READY prompt appears enter: E."D1:SNOWFLAK.LST"
When the READY prompt appears again enter: RUN
If your emulator is configured to use a hard drive (H1:) then simply copy
SNOWFLAK.LST to the folder mapped to your hard drive, boot as you normally
do and then enter the above BASIC commands.
Description:
The snowflake is divided into a collection of lines. Each has a starting
coordinate, direction, and length. The information for each line is packed
into two bytes. A loop is used to read the bytes and draw each line.
Comments:
To achieve a smaller size the code is saved as ATASCII LISTed (.LST) code
instead of BASIC's tokenized (.BAS) format.
The source code contains ATASCII characters including ATASCII end-of-line
characters and will not display properly in most text editors.