AsmTurtle Author: TNT / Beyond Force Category: Christmas Challenge System: C64 Language: assembly Len source code: 473 Len exe file: 72 Len code only: 58 Instructions: Install vice, drag and drop the prg file into it Description: The image is drawn much like turtle moves in Logo (*1), starting from top left corner and moving top right. Drawing position is moved repeatedly in the same direction until it turns 90 degrees clockwise. This forms lines of length 3, 12, 6, 6, 12 (*2) after which the process is repeated but the starting direction has turned 90 degrees clockwise as we turned right five times. After the above sequence has been repeated four times, drawing position is back where it started. (*1) https://en.wikipedia.org/wiki/Logo_(programming_language) (*2) These length are multiples of 1, 4, 2, 2, 4, which may be easier to visualize as diamond edges. Comments: The only reset initializiation condition this program relies on is the fact that all registers are initialized to zero after reboot. If this is not allowed, one can change ".link dc.w 0" into ".link ldy #0" and change the SYS address into 2059. That increases code length by two, but keeps the executable size intact. This works because BASIC only checks the high byte of the next line address when it searches the end of BASIC code.