wok-current diff plop/stuff/unlzma.S @ rev 24539
updated fbgrab (1.3 -> 1.5)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Feb 23 15:32:13 2022 +0100 (2022-02-23) |
parents | c4968381aed9 |
children | 1f9238437d3b |
line diff
1.1 --- a/plop/stuff/unlzma.S Thu May 06 12:50:46 2021 +0000 1.2 +++ b/plop/stuff/unlzma.S Wed Feb 23 15:32:13 2022 +0100 1.3 @@ -18,11 +18,9 @@ 1.4 * Compression with : lzma e src dst -eos -pb2 -lp0 -lc3 1.5 */ 1.6 1.7 -//#define PROP_PB 2 1.8 -#define PROP_PB 0 1.9 +#define PROP_PB 2 1.10 #define PROP_LP 0 1.11 -//#define PROP_LC 3 1.12 -#define PROP_LC 0 1.13 +#define PROP_LC 3 1.14 #define PROPS (PROP_LC+(PROP_LP*9)+(PROP_PB*45)) 1.15 1.16 // static const Byte *Buffer; 1.17 @@ -197,17 +195,21 @@ 1.18 # else 1.19 shrb $8-PROP_LC, %bl 1.20 # endif 1.21 +#else 1.22 + xor %bx,%bx 1.23 #endif 1.24 1.25 #if PROP_LP != 0 1.26 movb posState2(BP), %dl 1.27 -# ifdef ONLY8086 1.28 +# if PROP_LC != 0 1.29 +# ifdef ONLY8086 1.30 movb $PROP_LC, %cl 1.31 shl %cl, DX 1.32 -# else 1.33 +# else 1.34 shl $PROP_LC, DX 1.35 +# endif 1.36 + movb $0, %bh 1.37 # endif 1.38 - movb $0, %bh 1.39 add BX, DX 1.40 #endif 1.41