scene.org File Archive

File download

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

File size:
8 111 bytes (7.92K)
File date:
2024-01-03 14:15:18
Download count:
all-time: 2

Preview

  • 64lattice.diz 992B
  • 64lattice.prg 232B
  • 64lattice.src 277B
  • result.png 1.84K
  • source.png 3.90K

file_id.diz

64lattice.prg

Author: Larry Anderson <larry@portcommodore.com>
Category: Christmas Challenge
System:   C64
Language: BASIC
Len source code (ASCII text listing / commodore basic): 277 / 232
Len exe file:    232
Len code only:   230

Instructions:
Install VICE or other 64 emulator, depending on emulator you may be able to double-click on the .prg file and run it directly - otherwise  you need to asign drive 8 tothe directory  where the .prg file is located, then in C64 mode:
  LOAD"64LATTICE.PRG",8
  RUN

Description:
POKEs asterisk sybols to screen memory directly. base arrays contain direction, segment lengths, starting memory locations, and box type.  dynamic arrays contin current location, current direction, segment count, and box type.
The square and the long rectagles are 36 chracters each - the routine draws all three boxes at once, one character at a time.

Comments:
The pattern was intriging - wanted to make something more dynamic than just left to right/top to bottom.