Compression and decompression algorithms for use in ROM hacking.