From 8b2716a73c353f19499cdd95f1435884521acc8c Mon Sep 17 00:00:00 2001 From: Peter Ferrie Date: Mon, 8 Jan 2018 15:30:20 -0800 Subject: [PATCH] smaller --- src/a2fc.system.a | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/a2fc.system.a b/src/a2fc.system.a index e67cce2..844ae23 100644 --- a/src/a2fc.system.a +++ b/src/a2fc.system.a @@ -39,8 +39,8 @@ inputfilebuffer !fill $40 Start ldx #(CodeEnd-CodeStart)-1; copy code to lower memory so we can load graphic at $2000 -- lda CodeStart,x - sta $50,x +- ldy CodeStart,x + sty $50,x dex bpl - ;CheckFor128K @@ -54,7 +54,7 @@ Start CodeStart !pseudopc $50 { softswitches ; array of low bytes for $c0xx accesses - !byte 0,$5e,$0d,$50,$52,$54,$57,4 + !byte 4, 0,$5e,$0d,$50,$52,$54,$57 softswitches_e mliParamForOpen @@ -76,8 +76,9 @@ CopyToAuxHigh=*+2 ; and then used by main->aux copy loop !byte kMLIOpen !word mliParamForOpen - lda #4 ; both Read and Quit accept four parameters - sta mliparam ; set parameter count for MLI call + sty mliparam ; set parameter count for MLI call + ; both Read and Quit accept four parameters + ; (Y is 4 from above) jsr Read ; read first half of graphic (belongs in auxmem) ; does not return if error ;DHGRCopy