Snowflake
Author: lightforce6128
Category: Christmas Challenge
System: Amstrad CPC 6128
Language: Z80 Assembler (WinAPE/Maxam)
Len source code: 757 (5501 with comments and macros)
Len exe file: 215 (128 bytes header)
Len code only: 87
Instructions:
- Install WinAPE from <http://www.winape.net/download/WinAPE20B2.zip>
- In menu [Settings / General] select profile 'CPC6128'.
- Restart with menu [Settings / Cold Reset].
- Open menu [File / Drive A: / Insert Disc Image]. Select file 'snowflk.dsk'.
- At BASIC prompt of emulator write: RUN"snowflk"
Description:
- First work in memory, then print out to screen.
- Use a sub-routine to print a pattern of five stars four times.
- Add 3 missing stars.
- Mirror the created octant to the other octants/quadrants.
- Transfer the pattern from memory to screen.
Comments:
This year's pattern was quite challenging. Thanks to Logiker for organizing this competition.