BUSHY_VZ200_ASM-BINARY_VC2022
Author : Bushy555.
Category : Christmas Challenge Minimum code size category.
System : VZ200.
Language : Z80 Assembler. Compiled with PASMO assembler.
Header : 24 bytes. The .VZ snapshot file header is set to 24 bytes and can not be changed.
Code only : 85 bytes.
Binary file : 109 bytes total.
Source code size: 2854 bytes, contains a lot of dribbling text.
: 459 bytes for minimal source file listing as plain text .ASM source file.
Instructions to load:
=====================
1. VZEM emulator
----------------
Download VZEM, extract. (Windows, Android, DOS, Mac & Linux via wine)
Run VZEM.EXE
File --> Load VZ --> Select "BUSHY_VZ200_ASM-BINARY_VC2022.VZ"
2. Online Java emulator
-----------------------
All current browsers : https://nippur72.github.io/laser310-emu/
Drag and drop the .VZ file.
3. Real hardware
----------------
On the VZ/Laser computer, type CRUN
Play the WAV file through your Win/Linux/Mac computer, MP3 player or mobile phone via cassette leads to the computers cassette port.
Description:
============
Very rough Runtime Length Encoding.
Load bit table.
Three loops to do, being:
LOOP A: 17 char height Y-axis,
LOOP B: two byte-wide,
LOOP C: read each bit of each byte.
Display X where each bit is set, ELSE, display a space to force correct cursor positioning.
Rotate byte.
NEXT C
increase bit table pointer.
NEXT B
If first byte = 255, then display the extra X at the 17th wide position and print a <CR>. (<LF> is automatic)
Else just print a <CR>. (<LF> is automatic)
NEXT A
GOTO HERE FOREVER
Comments:
==========
Greetz to anyone and everyone that actually reads this.
/Bushy.