Author: Sven Bastrop / TGS
Category: Christmas Challenge
System: C64
Language: BASIC V2
Len source code: 128 bytes
Len exe file: 63 bytes
Len code only: 61 bytes
Instructions: Install vice, drag and drop the prg file into it.
Description:
Two loops (A and B) create the 19x19 grid. The expression C=(A*A-B*B)/6 together with
the query C>NOTNOTC determines whether an Asterix should be printed out, otherwise the
cursor is moved one character to the right.
NOTNOTC does the same thing as an INT(C) would do, but uses one less byte in memory.
Comments:
Thanks a lot for this event contest. Merry Christmas and a happy new year!