Re: [cc65] re: command line args

From: Ullrich von Bassewitz <uz1musoftware.de>
Date: 2004-04-15 11:20:31
Good morning!

On Wed, Apr 14, 2004 at 12:01:57PM +0200, carlos wrote:
> the problem, that the basic is turned off could be solved, if it is turned
> off after getting the command line args.

And what about the code under the ROM?

> there must be a possibility to recover the last cursor position and the
> position the run was entered. then 3 chars(or four chars with a colon) to
> the right you will find the params.
> you could use stdio functions with screen input to get the params.

Reading from the screen may solve some problems, but it introduces others. A
leading space before the RUN command, for example, will break your sample
programs. Or, in case you are going to skip whitespace: There may be another
command before the RUN.

Regards


        Uz



P.S.: Please don't post ZIPs to the list. Place them onto an FTP or HTTP
server and post the URL.

-- 
Ullrich von Bassewitz                                  uz@musoftware.de
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Thu Apr 15 11:20:37 2004

This archive was generated by hypermail 2.1.8 : 2004-04-15 11:20:44 CEST