Debian Codegraph @

terps/taylor/decompressz80.h

raw symbols SCIP
1 //
2 // decompressz80.h
3 // Part of TaylorMade, an interpreter for Adventure Soft UK games
4 //
5 // Created by Petter Sjölund on 2022-01-24.
6 //
7
8 #ifndef decompressz80_h
9 #define decompressz80_h
10
11 #include <stdint.h>
12 #include <stdlib.h>
13
14 /* Will return NULL on error or 0xc000 (49152) bytes of uncompressed raw data on
15 * success */
16 uint8_t *DecompressZ80(uint8_t *raw_data, size_t *length);
17 uint8_t *find_tap_block(int wantedindex, const uint8_t *buffer,
18 size_t *length);
19
20 uint8_t *GetTZXBlock(int blockno, uint8_t *srcbuf, size_t *length);
21
22 #endif /* decompressz80_h */