Date : Mon, 11 Aug 2008 08:08:36 +0100
From : info@... (Sprow)
Subject: Master 128 century correction
In article <080811015504@...>,
Jonathan Graham Harston <jgh@...> wrote:
> > Message-ID: <EBB1777AA6524AB287E18E53DA74C88D@...>
> 1: There is almost never any reason why a *command should prompt
> the user to enter parameters.
> Not only is it more programatically cleaner, but it's easier to do:
>
> LDA #1:LDY #0:LDX #zp:JSR OSARGS :\ Get address of command line
That wont work. Unknown star commands get passed to the ROMs first as a
service call and at that point the command is at (&F2),Y.
Only if not picked up by a ROM will the filing system try to load it, and
only if it was successful would the parameters be readable with OSArgs,
Sprow.