From ed02a8bdc98139bab3797c1c8ec302e51f329aed Mon Sep 17 00:00:00 2001 From: Martin Haye Date: Sun, 15 Jan 2017 11:33:39 -0800 Subject: [PATCH] Size optimization - saved 2 bytes. --- Platform/Apple/virtual/src/core/decomp.s | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/Platform/Apple/virtual/src/core/decomp.s b/Platform/Apple/virtual/src/core/decomp.s index e37e095f..e8f50665 100644 --- a/Platform/Apple/virtual/src/core/decomp.s +++ b/Platform/Apple/virtual/src/core/decomp.s @@ -22,11 +22,6 @@ pDst = $C ; len 2 ; opposite order from memmgr, pSrc = $E ; len 2 ; so it can avoid swapping pEnd = $10 ; len 2 -cout = $FDED -prbyte = $FDDA -crout = $FD8E -rdkey = $FD0C - DEBUG = 0 ; Decompress from pSrc to pDst, stop at pEnd. The source and dest can overlap, as long as the @@ -151,9 +146,9 @@ decomp !zone { asl bits bne .glup jsr .getbts - jmp .glup + bne .glup ; always taken .gmor1 jsr .getbts - jmp .gles1 + bne .gles1 ; always taken ; Get another 8 bits into our bit buffer. Destroys X. Preserves A. Requires Y=0. .getbts tax