From 654464fbb665bd20f54474abc2f475b822a49992 Mon Sep 17 00:00:00 2001 From: Peter Ferrie Date: Tue, 9 Jan 2018 09:05:48 -0800 Subject: [PATCH] and another one --- src/a2fc.system.a | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/src/a2fc.system.a b/src/a2fc.system.a index 91d93d8..1bda0b9 100644 --- a/src/a2fc.system.a +++ b/src/a2fc.system.a @@ -38,11 +38,13 @@ MACHID = $BF98 inputfilebuffer !fill $40 Start - ldy #(CodeEnd-CodeStart); copy code to lower memory so we can load graphic at $2000 -- ldx CodeStart-1,y + ldy #(CodeEnd-CodeStart) ; copy code to lower memory so we can load graphic at $2000 +- ldx CodeStart-1,y ; the last byte fetched is the '3' for kMLIOpenCount + ; it will be converted later to a '4' for become kMLIReadOrQuitCount + ; also used for switching from aux to main memory access stx $4f,y dey - bne - + bne - ; Y is 0 on exit, required later ;CheckFor128K lda MACHID and #$30 @@ -52,15 +54,15 @@ Start + jsr MLI ; open file !byte kMLIOpen !word mliParamForOpen - inx - stx