mirror of
https://github.com/LIV2/WinUAE.git
synced 2025-12-06 00:12:52 +00:00
11 lines
285 B
C
Executable File
11 lines
285 B
C
Executable File
|
|
extern ULONG mask_bits[], bitbuf;
|
|
extern UCHAR *indata, bitcount;
|
|
|
|
#define GETBITS(n) ((USHORT)(bitbuf >> (bitcount-(n))))
|
|
#define DROPBITS(n) {bitbuf &= mask_bits[bitcount-=(n)]; while (bitcount<16) {bitbuf = (bitbuf << 8) | *indata++; bitcount += 8;}}
|
|
|
|
|
|
void initbitbuf(UCHAR *);
|
|
|