vc24
Author: Art-top
Category: Christmas Challenge
System: ZX Spectrum
Language: Assembler
Len source code: 1940
Len exe file: 129
Len code only: 47
Instructions:
You can use any emulator of your choice. I recommend Unreal (Windows);
in most cases it's enough to drag&drop the vc24c.tap file into emulator's window,
then go to BASIC and type:
LOAD""CODE 25619: CLS: RANDOMIZE USR 25619: PAUSE 0
Or drag&drop the vc24.tap file into emulator's window, and go to "Type Loader".
Source code in vc24.asm
You can compile it using sjasmplus (for example) from terminal/command promt:
sjasmplus.exe vc24.asm
or
sjasmplus vc24.asm
Description:
In the main block of the program there are two loops: an outer one - for the Y coordinate
and an inner one - for the X coordinate. The current coordinates determine which character
should be printed.
After finishing the main block "gift bow" characters are printed.
vc24.asm - source code
vc24.bin - compiled code
vc24c.tap - compiled code in .tap format
vc24.tap - compiled code an BASIC loader together in .tap format
Comments:
It was very interesting.