zm5

by N.I on 04-02-2019, 08:04

The zm5 is a simple compress format for MSX. It only skips 00 data.
It was made for compressing screen5 image files.
The program for drawing zm5 images is the following.

1 CLEAR200,&HCFFF:SCREEN5:DEFUSR=&HD000
2 FORI=0TO64:POKE&HD000+I,VAL("&h"+MID$("210000E5210080CD740123B7280AEBE106004F09E5EB18EFCD7401B7282123115EF506004FE5C5CD5900C1E1D109E5D5C5215EF5CD5C00C1E109D1E5EB18C8E1C9",I*2+1,2)):NEXT
3 SETPAGE,1:BLOAD"sample.zm5",S:SETPAGE,0:A=USR(0)
4 IFSTRIG(0)=0THEN4

The archive includes the program for making zm5 file on Windows, the z80 assembler code for unpacking zm5 and the sample.

AttachmentSizeDownloadsLast download
zm5.zip244.54 KB1413 weeks 1 day ago