aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2021-04-22 02:35:14 -0400
committerB. Watson <yalhcru@gmail.com>2021-04-22 02:35:14 -0400
commit9b8edebf418665e231381de4fe695442b4576199 (patch)
treed0a175c4569a832533ea6c1df0c2c577afeae1f0
parentc1049b1455f3f9bba0e17ddeca466556d20acf50 (diff)
downloadtaipan-9b8edebf418665e231381de4fe695442b4576199.tar.gz
Save 17 bytes (now 8667, lost track of a few)
-rw-r--r--textdecomp.s10
1 files changed, 10 insertions, 0 deletions
diff --git a/textdecomp.s b/textdecomp.s
index 03660ae..baa6b41 100644
--- a/textdecomp.s
+++ b/textdecomp.s
@@ -110,6 +110,12 @@ dict40: .byte $50, $81, $40 ; "the"
dict41: .byte $78, $fd, $74, $0c, $00 ; "Do you"
dict42: .byte $84, $53, $85, $48, $13, $00 ; "General"
dict43: .byte $d0, $34, $b5, $00 ; "your "
+dict44: .byte $c0, $54, $99, $d5, $71, $4c, $30, $00 ; "Very well"
+dict45: .byte $84, $f3, $c4, $d4, $a3, $d3, $4f, $6d, $80 ; "Good joss!!"
+dict46: .byte $17, $c4, $85, $d4, $73, $c9, $38, $7d, $44, $3d, $73, $80 ; "e're going down"
+
+; Table has to be <= 1 page, so this won't fit:
+;dict47: .byte $c4, $5d, $4d, $04, $41, $75, $25, $4d, $80 ; "We made it!"
.out .sprintf("dictionary is %d bytes", * - dict00)
@@ -158,6 +164,10 @@ dict_offsets:
.byte dict41 - dict00
.byte dict42 - dict00
.byte dict43 - dict00
+ .byte dict44 - dict00
+ .byte dict45 - dict00
+ .byte dict46 - dict00
+; .byte dict47 - dict00
; rough estimate of how many bytes are saved by the dictionary
; stuff: the dictionary + extra decoder stuff costs 221 bytes (vs.