scene.org File Archive

File download

<root>­/­parties­/­2022­/­vccc22­/­christmas_star_challenge/drbeep_spectrum_z80_vc3-2022.zip

File size:
18 640 bytes (18.20K)
File date:
2022-12-30 11:32:13
Download count:
all-time: 32

Preview

  • file_id.diz 721B
  • star-size29.txt 895B
  • star29.png 22.34K
  • star29.z80 1.44K

file_id.diz

<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:
<>