libmsx
C library for MSX
Loading...
Searching...
No Matches
ZX0_decompress.h File Reference

Decompressor of the ZX0 data compression format version 2. More...

#include "bmem.h"
#include "vmem.h"
#include <stdint.h>
#include <stddef.h>
+ Include dependency graph for ZX0_decompress.h:

Go to the source code of this file.

Functions

size_t ZX0_decompress (const uint8_t *src, uint8_t *dst)
 MSX Decompress a ZX0 data stream.
 
size_t ZX0_decompress_bmem (bmemptr_t src, uint8_t *dst)
 MSX Decompress a ZX0 data stream in Banked Memory.
 
uint32_t ZX0_decompress_bmem_to_vmem (bmemptr_t src, vmemptr_t dst)
 MSX Decompress a ZX0 data stream in Banked Memory to VRAM.
 
uint32_t ZX0_decompress_bmem_to_vmem_buffer (bmemptr_t src, vmemptr_t dst)
 MSX2 Decompress a ZX0 data stream in Banked Memory to VRAM via main RAM page #0 buffer.
 
uint32_t ZX0_decompress_resource_to_vmem (const char *path, vmemptr_t dst)
 MSX Decompress a ZX0 resource in banked memory to VRAM.
 
uint32_t ZX0_decompress_resource_to_vmem_buffer (const char *path, vmemptr_t dst)
 MSX2 Decompress a ZX0 resource in banked memory to VRAM via main RAM page #0 buffer.
 

Detailed Description

Decompressor of the ZX0 data compression format version 2.

The ZX0 data compression format and algorithm was designed by Einar Saukas.

This C language implementation of ZX0 decompressor is reimplemented by Daishi Mori (mori0091) for use with libmsx.

See also
https://github.com/einar-saukas/ZX0

Definition in file ZX0_decompress.h.