What problem does it solve? Retro and embedded z80 projects have tight memory budgets, and raw data or code often exceeds available ROM or RAM. This Skill explains how to use the z88dk ZX0 compression tools to shrink binary assets and decompress them on the target machine. ## Core Features & Use Cases - Host-side compression: Run z88dk-zx0 with flags like -f (force overwrite), -b (backwards compression), and -q (quick non-optimal mode) to produce .zx0 files. - Host-side decompression: Verify or unpack compressed data with the companion z88dk-dzx0 binary. - Target-side decompression: Use the ZX0 decompressor routines shipped in the z88dk classic and newlib libraries (since v2.2), including appmake support for compressed ROM data sections. - Use Case: Compress a tileset or level map with z88dk-zx0 level.bin level.zx0, link it into your z80 program, and decompress it at runtime with the library's ZX0 routines to fit within a 48K Spectrum memory map. ## Quick Start Compress a binary asset by running z88dk-zx0 with your input file and an output name, then link the resulting .zx0 file into your z80 project and call the ZX0 decompression routine from the z88dk library at runtime.