From 43090d530fc245c3704de7d1d3a191bf467b8428 Mon Sep 17 00:00:00 2001 From: 4am Date: Sun, 11 Jul 2021 14:15:23 -0400 Subject: [PATCH] shave some bytes --- src/adstyle.a | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/src/adstyle.a b/src/adstyle.a index 1a515da..5d7e636 100644 --- a/src/adstyle.a +++ b/src/adstyle.a @@ -179,10 +179,6 @@ ADStyle ; high memory) ; + - lda gTrack - pha - lda gSector - pha b4bbcompare lda #$FD ; modified at runtime (in Inspect1) ldx #$00 @@ -199,7 +195,7 @@ b4bbcompare sta b4bbmodify+1 lda #$91 ; low byte of address that checks address epilogue 1 sta b4bbmodify2+1 - ldx #$00 ; track + ;X=0 so we will reuse that as the track number ldy #$0C ; sector bne @all ; always branches @dos32 @@ -249,9 +245,8 @@ b4bbmodify2 lda #kSectorCustomDOS32B4BB sta T02S0C _b4bbexit - pla + lda #$00 sta gSector - pla sta gTrack ; ; Check for Harvey protection