scene.org File Archive

File download

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

File size:
141 152 bytes (137.84K)
File date:
2024-01-03 14:15:18
Download count:
all-time: 6

Preview

  • __MACOSX/._file_id.diz 299B
  • __MACOSX/._frostbyte_zigzag_sys4096.asm 210B
  • __MACOSX/._frostbyte_zigzag_sys4096.png 210B
  • __MACOSX/._frostbyte_zigzag_sys4096.prg 366B
  • __MACOSX/._frostbyte_zigzag_sys4096_commented.asm 210B
  • __MACOSX/._frostbyte_zigzag_sys4096_source.png 210B
  • file_id.diz 962B
  • frostbyte_zigzag_sys4096.asm 471B
  • frostbyte_zigzag_sys4096.png 2.49K
  • frostbyte_zigzag_sys4096.prg 53B
  • frostbyte_zigzag_sys4096_commented.asm 1.58K
  • frostbyte_zigzag_sys4096_source.png 146.00K

file_id.diz

VCCC2023 Frostie's ZigZag Drawer

Author: Frostbyte / Artline Designs
Category: Christmas Challenge
System:   C64
Language: KickAssembler v5.25
Len source code: Many
Len exe file:    53 bytes
Len code only:   51 bytes
Instructions:
Load as usual on your C64 or your favourite emulator like Vice.
Start with SYS 4096.
Description:
This routine draws three parallel diamonds with six zigzagging lines: Three
do the left sides of diamonds, three do the right. It then repeats until all three
rows of diamonds are done.
The following tricks have been used to shave a few bytes off the drawing routine:
1) Kernal routine at $e981 is used to push screen contents down by one line before
each row of stars drawn. print_row subroutine can then always draw on the first
line of screen.
2) All three counters of the routine use ZP addresses which already conveniently
have suitable start values.
3) ZP also has a pointer to $0400 at $0e-$0f. Using that saves another byte.Mac OS X        	2ù+ATTR+èCè*$com.apple.metadata:_kMDItemUserTagscom.dropbox.attrscom.dropbox.internalbplist00 	

›@“Š¹/d¼è)ÓÞÀ