scene.org File Archive

File download

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

File size:
45 141 bytes (44.08K)
File date:
2022-12-30 11:32:13
Download count:
all-time: 11

Preview

  • BUSHY_VZ200_ASM_BINARY_VC2022.VZ 109B
  • BUSHY_VZ200_ASM_BINARY_VC2022.WAV 136.13K
  • BUSHY_VZ200_ASM_SOURCE-IN-EMULATOR_VC2022.PNG 29.47K
  • BUSHY_VZ200_ASM_SOURCE_VC2022.ASM 3.03K
  • BUSHY_VZ200_ASM_SOURCE_VC2022_minimal_source_listing.ASM 459B
  • BUSHY_VZ200_EMULATOR screenshot - completed.png 10.45K
  • FILE_ID.DIZ 1.74K
  • README.TXT 689B

file_id.diz

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.