diff options
author | B. Watson <yalhcru@gmail.com> | 2021-04-22 14:52:31 -0400 |
---|---|---|
committer | B. Watson <yalhcru@gmail.com> | 2021-04-22 14:52:31 -0400 |
commit | e16403c5a93e02c8c85ea3cd6de64798235a3ae5 (patch) | |
tree | 48e6315010d7b4328f6ee2d83a14bba79f0706d2 | |
parent | 1f41fae4f0205d53087e747caeafd9db0c7b792b (diff) | |
download | taipan-e16403c5a93e02c8c85ea3cd6de64798235a3ae5.tar.gz |
Save 8 bytes
-rw-r--r-- | textdecomp.s | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/textdecomp.s b/textdecomp.s index 970045c..bb27a99 100644 --- a/textdecomp.s +++ b/textdecomp.s @@ -56,16 +56,18 @@ ; To get the bytes to use for a particular message: ; echo -n "message here" | ./textcomp 2>/dev/null|perl -ple 's/0x/\$/g; s/ /, /g' +; the "We made it!" dict08 saves 8 bytes vs. the commented-out one. + dict00: dict01: .byte $98, $9d, $73, $54, $53, $80 ; "Li Yuen", 4 occurrences -;dict02: .byte $7c, $c1, $05, $4b, $57, $12, $3d, $42, $05, $48, $00 ; "Elder Brother", 3 dict02: .byte $7c, $c1, $05, $4b, $57, $12, $3f, $4a, $12, $00 ; "Elder Brother" dict03: .byte $64, $f5, $40 ; "you", 30 dict04: .byte $d7, $c1, $4d, $00 ; " 'em", 8 dict05: .byte $cc, $f5, $40 ; "You", 16 dict06: .byte $d4, $80, $56, $14, $00 ; " have", 11 dict07: .byte $d5, $32, $01, $30, $c0, $00 ; " shall", 6 -dict08: .byte $fb, $5c, $49, $50, $8d, $40 ; ") With ", 2 +;dict08: .byte $fb, $5c, $49, $50, $8d, $40 ; ") With ", 2 +dict08: .byte $c4, $5d, $4d, $04, $41, $75, $25, $4d, $80 ; "We made it!" dict09: .byte $05, $21, $cf, $00 ; "argo", 6 dict10: .byte $4c, $82, $50, $00 ; "ship", 10 dict11: .byte $d5, $70, $52, $14, $83, $d5, $4c, $50, $00 ; " warehouse", 4 @@ -82,7 +84,7 @@ dict20: .byte $04, $e1, $00 ; "and", 10 dict21: .byte $d4, $30, $53, $20, $00 ; " cash", 8 dict22: .byte $04, $41, $09, $50, $93, $ce, $04, $cd, $40 ; "additional ", 3 dict23: .byte $b8, $12, $50, $04, $e0, $00 ; "Taipan", 3 (but really many more!) -dict24: .byte $d4, $f3, $8c, $67, $50, $00; " only ", 3 +dict24: .byte $d4, $f3, $8c, $67, $50, $00 ; " only ", 3 dict25: .byte $d4, $25, $47, $1c, $54, $93, $00 ; " buggers", 3 dict26: .byte $5c, $95, $08, $d4, $00 ; "with ", 4 dict27: .byte $d4, $64, $8f, $37, $50, $00 ; " from ", 3 |