Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed typo #807

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/lzsa.s
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ repmatch_or_large_offset:
; 10Z: 13 bit offset

jsr getcombinedbits ; rotate Z bit into bit 8, read nibble for bits 12-9
adc #$DE ; set bits 15-13 to 1 and substract 2 (to substract 512)
adc #$DE ; set bits 15-13 to 1 and subtract 2 (to subtract 512)
bne got_offset_hi ; go store high byte, read low byte of match offset and prepare match
; (*same as JMP GOT_OFFSET_HI but shorter)

Expand All @@ -153,7 +153,7 @@ got_offset_lo:
rep_match:
.ifdef BACKWARD_DECOMPRESS

; Backward decompression - substract match offset
; Backward decompression - subtract match offset

sec ; add dest + match offset
lda putdst+1 ; low 8 bits
Expand Down