scene.org File Archive

File download

<root>­/­parties­/­2023­/­vccc23­/­christmas-diamonds/doc_k_kc-85_asm_vc3-2023.zip

File size:
180 934 bytes (176.69K)
File date:
2024-01-03 14:15:17
Download count:
all-time: 13

Preview

  • diamonds.asm 198B
  • DIAMONDS.KCC 256B
  • diamonds_commented.asm 862B
  • file_id.diz 651B
  • result.png 16.53K
  • source.png 179.87K

file_id.diz

Christmas Diamonds (Z80 Assembler)

Author:   dOc.K / Moods Plateau
Category: Christmas Challenge
System:   KC 85/4
Language: Z80 Assembler (z80asm)
Len source code: 198 bytes
Len exe file:    256 bytes
Len code only:   32 bytes
Instructions:
  Goto https://www.lanale.de/kc85_emu/KC85_Emu.html
  Type "LOAD" <ENTER>
  Select DIAMONDS.KCC file
  The program will start automatically.
Description:
  After trying a simple algorithm that determined
  the star positions by the two linear equations
  x % 6 - y % 6 = 0 and 6 - x % 6 - y % 6 = 0
  that was very small already, I still found an
  even shorter solution.
Comments:
  Merry christmas 2 U! <3