Present
Author: Red Zebra
Category: Christmas Challenge
System: ZX Spectrum
Language: Z80 Assembler version 1.8 (
http://savannah.nongnu.org/projects/z80asm/)
Len source code: 368
Len exe file: 206
Len code only: 92
Instructions:
1.Install and run FUSE emulator
2.From the File menu select Open
3.Find and select the present.tap file.
4.From the BASIC prompt enter: LOAD ""
(There is a keyboard reference image in the Help menu if you need to find the key-tokens)
Description:
Extend a string stub in memory with space characters
Reuse a call to draw space delimited characters with values setup in registers/self modifying code
Use Spectrum ROM BASIC call to print string out on display
Comments:
The BASIC loader .tap file uses POKEs to disable/enable the ROM loading messages so I don't have to clear the screen when the machine code starts. Technically it's within the rules to leave those messages visible (we don't have to clear the screen), so I could have made the .tap file smaller, but the result looks ugly without it and I doubt it's going to make much of difference competition-wise.