lightforce6128_cpc_bas_115b_vc3-2024
Author: lightforce6128
Category: Christmas Challenge 2024
System: Amstrad CPC 6128
Language: Locomotive BASIC 1.1
Len source code: 149
Len exe file: 114 (242 with header)
Len code only: 115
Instructions:
- Install WinAPE from <http://www.winape.net/download/WinAPE20B2.zip>
- Open menu [File / Drive A: / Insert Disc Image]. Select file 'present.dsk'.
- At BASIC prompt of emulator write: RUN"present"
Description:
- The BASIC command 'ZONE' is used to adjust the tab size.
- With this the gaps in the drawing can be bridged with a short 'PRINT,' command.
- The bow is drawn separately using an ASCII control code to move the cursor.
- The rest is drawn by two sub routines, one for the horizontal lines, one for the vertical lines.
- These sub routines are called alternating.
- Note: One control code is used to move the cursor. This can easily be handled on the target machine,
but cannot be transferred to modern systems. Therefore I replaced the control code with a '#'
in the listing. If this is used instead of loading it from the disk image, then this placeholder
needs to be changed. Use command EDIT 1, go to the '#', and replace it with the symbol printed
by pressing [Ctrl]+[H] (an arrow pointing to the left).
Comments:
It was fun to take part in this challenge. Thanks to Logiker for hosting it.