scene.org File Archive

File download

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

File size:
89 203 bytes (87.11K)
File date:
2024-01-03 14:15:18
Download count:
all-time: 1

Preview

  • code.asm 2.18K
  • code.prg 64B
  • file_id.diz 712B
  • result.png 407B
  • source.png 86.41K

file_id.diz

GeirS VCCC2023 MEGA65 ASM 46

Author: Geir Straume
Category: Christmas Challenge
System: MEGA65
Language: Assembler (ACME)
Len source code: 2233 bytes (lots of comments in the code)
Len exe file:    64 bytes
Len code only:   46 bytes (excl. load address and BASIC stub)
Instructions:
Install the Xemu emulator (https://github.lgb.hu/xemu/), 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.