Skip to content

Instantly share code, notes, and snippets.

View lss6378's full-sized avatar

Little Dolphin lss6378

  • LongLiveSystem
View GitHub Profile
@lss6378
lss6378 / zx7_compress.c
Created September 30, 2021 01:30 — forked from odzhan/zx7_compress.c
ZX7 compressor
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#define MAX_OFFSET 2176 /* range 1..2176 */
#define MAX_LEN 65536 /* range 2..65536 */
typedef struct match_t {
size_t index;
@lss6378
lss6378 / kitty.c
Created August 19, 2021 10:00 — forked from odzhan/kitty.c
KITTY Compression Algorithm
//
// KITTY compression algorithm, by snowcat
// converted to C, by odzhan
// 2019-12-07
//
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#include <time.h>