Author: Michal Lokša
System: Commodore 64
Language: assembler
Compiled by: KickAssembler 1.3.5
Length of source code: 625 Bytes
Length of executable file: 58 Bytes
Length of executed code: 44 Bytes with RTS instruction
Code only: 30 Bytes
Data only: 14 Bytes
Instructions: run ChristmasTree.prg in any C64 emulator, e.g. Vice (x64sc.exe) by opening from menu
or directly from command line (x64sc.exe ChristmasTree.prg)
Description how the code works:
Program reads line offset from data memory.
Set this offset to address 211 which is using kernal for printing.
Then calculates width of tree line and print it by kernal.
Repeats until all lines are processed.