From 3541e5fb2a1fbe61f0e390f615193e06e12993c0 Mon Sep 17 00:00:00 2001 From: 4am Date: Sun, 7 Jan 2018 21:40:47 -0500 Subject: [PATCH] bit/bvc --- src/a2fc.system.a | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/a2fc.system.a b/src/a2fc.system.a index eb94fea..6960b5e 100644 --- a/src/a2fc.system.a +++ b/src/a2fc.system.a @@ -34,7 +34,6 @@ MLI = $BF00 jmp Start ; magic jump !byte $EE,$EE ; magic bytes -inputfile !byte $40 ; length of inputfile buffer inputfilebuffer !fill $40 @@ -57,7 +56,6 @@ Open jsr Read bcs Close ;DHGRCopy - ldx #$20 sta $C00A sta $C000 tay @@ -70,8 +68,8 @@ Open sta $C004 ; read/write from mainmem inc .copya+2 inc .copyb+2 - dex - bne .writeToAux + bit .copyb+2 + bvc .writeToAux ; loop until address hits $4000 jsr Read Close php