scene.org File Archive

File download

<root>­/­parties­/­2021­/­vintagecomputingchristmaschallenge21­/­challenge/loki_c64_assembler_vc3-2021.zip

File size:
4 918 bytes (4.80K)
File date:
2021-12-25 12:55:53
Download count:
all-time: 17

Preview

  • ChristmasTree.asm 625B
  • ChristmasTree.prg 58B
  • file_id.diz 693B
  • output.png 2.38K

file_id.diz

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.