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