scene.org File Archive

File download

<root>­/­parties­/­2023­/­vccc23­/­christmas-diamonds/geirs_c64_asm_vc3-2023.zip

File size:
79 926 bytes (78.05K)
File date:
2024-01-03 14:15:18
Download count:
all-time: 1

Preview

  • Alternate/ dir
  • Alternate/code.asm 1.40K
  • Alternate/code.prg 48B
  • code.asm 1.90K
  • code.prg 60B
  • file_id.diz 879B
  • result.png 269B
  • source.png 76.10K

file_id.diz

GeirS VCCC2023 C64 ASM 46

Author: Geir Straume
Category: Christmas Challenge
System: C64
Language: Assembler (64tass)
Len source code: 1944 bytes (lots of comments in the code)
Len exe file:    60 bytes
Len code only:   46 bytes (excl. load address and BASIC stub)
Instructions:
Install the VICE emulator, drag and drop the code.prg file into it.

Description:
The code displays the shape on the screen by drawing diagonal lines, reversing directions
when edges are reached. For the entire shape to be drawn, some "random" direction changes are
also done.

The code loops forever, drawing the shape over and over.

See commented source code for further implementation details.


Comments:
The folder "Alternate" contains an alternate program which uses a totally different approach
for displaying the shape. It also has a code length of 46 bytes, but requires SYS 249 to start.