xmas_contest2.prg
Author: Sven Bastrop (
[email protected])
Category: Christmas Challenge
System: C64
Language: BASIC V2
Len source code: 141 bytes
Len exe file: 87 bytes
Len code only: 85 bytes
Instructions: Install vice, drag and drop the prg file into it.
Description:
Starting from the middle of the star the program uses two loops (for rows and cols) from -8 to 8.
The program checks if the absolute value of the row-loop variable or the absolute value of the col-loop variable is less 5 and also the absolute value of the (abs(col)-abs(row)) is also less 5. If this check is true an asterisk (ASCII-Code 42) will poke into the videoram, othervice a space (ASCII-Code 32).
Comments:
Thanks a lot for this event contest and merry christmas!