aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2021-04-22 02:49:52 -0400
committerB. Watson <yalhcru@gmail.com>2021-04-22 02:49:52 -0400
commit318ba2f675d0bd67cf2aa997a3c0e92bf2072327 (patch)
treea174e6f07874b78aa4d579ec205587a7df22a202
parent9b8edebf418665e231381de4fe695442b4576199 (diff)
downloadtaipan-318ba2f675d0bd67cf2aa997a3c0e92bf2072327.tar.gz
Add note about decodersize
-rw-r--r--textdecomp.s3
1 files changed, 3 insertions, 0 deletions
diff --git a/textdecomp.s b/textdecomp.s
index baa6b41..725d0a5 100644
--- a/textdecomp.s
+++ b/textdecomp.s
@@ -322,6 +322,9 @@ dict_lookup:
rts ; print rest of original message
+ ; this size doesn't include _print_location and _print_item, they really
+ ; aren't part of the decompressor, they're only in this file so they
+ ; can fall through to _print_msg instead of jmp there (saves a few bytes).
decodersize = * - _print_msg
.out .sprintf("print_msg() is %d bytes", decodersize + tablesize)