diff options
Diffstat (limited to 'textdecomp.s')
-rw-r--r-- | textdecomp.s | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/textdecomp.s b/textdecomp.s index da0206a..617ba2f 100644 --- a/textdecomp.s +++ b/textdecomp.s @@ -47,7 +47,11 @@ dict23: .byte $b8, $12, $50, $04, $e0, $00 ; "Taipan", 3 (but really many more!) dict24: .byte $d4, $f3, $8c, $67, $50 ; " only ", 3 dict25: .byte $d4, $25, $47, $1c, $54, $93, $00 ; " buggers", 3 dict26: .byte $5c, $95, $08, $d4, $00 ; "with ", 4 -;dict27: .byte $78, $fd, $40 ; "Do ", 4 +dict27: .byte $d4, $64, $8f, $37, $50, $00 ; " from ", 3 +dict28: .byte $d5, $70, $4e, $50, $00 ; " want" +dict29: .byte $5c, $f4, $94, $20, $93, $85, $4d, $30, $00 ; "worthiness" +dict30: .byte $d4, $d5, $43, $20, $00 ; " much" +dict31: .byte $10, $91, $86, $15, $21, $4e, $0c, $50, $00 ; "difference" dict_offsets: .byte dict00 - dict00 @@ -77,7 +81,11 @@ dict_offsets: .byte dict24 - dict00 .byte dict25 - dict00 .byte dict26 - dict00 - ;.byte dict27 - dict00 + .byte dict27 - dict00 + .byte dict28 - dict00 + .byte dict29 - dict00 + .byte dict30 - dict00 + .byte dict31 - dict00 ; rough estimate of how many bytes are saved by the dictionary ; stuff: the dictionary + extra decoder stuff costs 221 bytes (vs. @@ -85,6 +93,8 @@ dict_offsets: ; each dictionary entry saves (length - 2) * (occurrences - 1) bytes. ; with only dict00 - dict23, we'll save around 173 bytes. ; actually it works out to 179 bytes, but the estimate was close. +; we've reached the point of diminishing returns: dict00 - dict31 only +; saves 200 bytes. dictsize = * - dict00 .out .sprintf("dictionary plus dict_offsets is %d bytes", dictsize) |