Re: [cc65] Lynx target

Date view Thread view Subject view

From: Ullrich von Bassewitz (uz_at_musoftware.de)
Date: 2003-05-06 11:20:30


On Mon, May 05, 2003 at 07:48:50PM -0400, Greg King wrote:
> On CBM targets, only two things need to be parsed:  "unit#" and "drive#".
>
> If the first non-space character is a slash, then everything between that
> slash and the next one is a device-number.  All text after that second
> slash is sent to the drive's DOS.
>
> If there is no colon in the string, then insert a "0:".  Start at the end;
> scan backward until a slash or the beginning is seen, put "0:" there.
>
> It is as easy to parse as any naming-style could be.

I didn't say it is difficult, I said that it will need some hundred bytes of
code. And what you're saying looks like a of proof of my statement. Besides
that, the following will not work:

> If there is no colon in the string, then insert a "0:".  Start at the end;
> scan backward until a slash or the beginning is seen, put "0:" there.

Regards


        Uz


-- 
Ullrich von Bassewitz                                  uz_at_musoftware.de
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo_at_musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.


Date view Thread view Subject view

This archive was generated by hypermail 2.1.3 : 2003-05-06 11:20:41 CEST