<Spectrum Star>
Author: <Johan Koelman>
Category: <Christmas Challenge>
System: <ZX Spectrum>
Language: <Assembler>
Len source code: <IRRELEVANT DATA, SKIP COMMENTS AND THE SOURCE IS SHORTER>
Len exe file: <29>
Len code only: <29> (valid for assembler only; length of executable without BASIC stub)
Instructions:
<Load .Z80 in a ZX Spectrum emulator and press ENTER>
Description:
<The program uses the location in memory as a the trick to set the B-register the first time by the ROM.
A triangle is printed and rotated to form the star. The program loops.
A faster and returning to BASIC program would add 3 bytes.
LD C,13 has a hidden command, opcode 13 is DEC C and is called too.>
Comments:
<>