mirror of
https://github.com/emmanuel-marty/lzsa.git
synced 2024-10-08 22:54:32 +00:00
Fix literal runs that are multiple of 256 bytes
This commit is contained in:
parent
b613d01565
commit
82edcb8bb5
@ -71,7 +71,8 @@ LARGE_VARLEN_LITERALS ; handle 16 bits literals count
|
|||||||
; literals count = directly these 16 bits
|
; literals count = directly these 16 bits
|
||||||
JSR GETLARGESRC ; grab low 8 bits in X, high 8 bits in A
|
JSR GETLARGESRC ; grab low 8 bits in X, high 8 bits in A
|
||||||
TAY ; put high 8 bits in Y
|
TAY ; put high 8 bits in Y
|
||||||
!byte $A9 ; mask TAX (faster than BCS)
|
TXA
|
||||||
|
|
||||||
PREPARE_COPY_LITERALS
|
PREPARE_COPY_LITERALS
|
||||||
TAX
|
TAX
|
||||||
BEQ COPY_LITERALS
|
BEQ COPY_LITERALS
|
||||||
|
Loading…
Reference in New Issue
Block a user