From e1f9fa143a905943be1397159604cd3e6699a9a5 Mon Sep 17 00:00:00 2001 From: "Peter Helcmanovsky (Ped)" Date: Mon, 19 Sep 2022 11:58:32 +0200 Subject: [PATCH] z80_unpacker: comment with caller size optimisation tip --- z80_unpacker/unpack.asm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/z80_unpacker/unpack.asm b/z80_unpacker/unpack.asm index 4cd5829..b3c48ea 100644 --- a/z80_unpacker/unpack.asm +++ b/z80_unpacker/unpack.asm @@ -21,6 +21,9 @@ ; DEFINE UPKR_UNPACK_SPEED ; uncomment to get larger but faster unpack routine +; code size hint: if you put probs array just ahead of BASIC entry point, you will get BC +; initialised to probs.e by BASIC `USR` command and you can remove it from unpack init (-3B) + OPT push reset --syntax=abf MODULE upkr