scene.org File Archive

File download

<root>­/­parties­/­2024­/­vccc24­/­christmas_challenge/art-top_zx-spectrum_assembler_47b_vc3-2024.zip

File size:
25 332 bytes (24.74K)
File date:
2024-12-29 14:13:04
Download count:
all-time: 4

Preview

  • file_id.diz 1.11K
  • vc24.asm 1.89K
  • vc24.bin 47B
  • vc24.tap 129B
  • vc24basic.png 4.74K
  • vc24c.tap 72B
  • vc24result.png 24.28K

file_id.diz

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.