Re: [cc65] Two newbie questions.

From: Mark J. Reed <markjreed1mail.com>
Date: 2006-10-06 03:30:18
On 10/5/06, Mark J. Reed <markjreed@mail.com> wrote:
> Also, the command-line args trick was apparently added in 2.11, which
> is why I wasn't seeing any results in 2.10.   It still doesn't quite
> work - spaces aren't ignored as advertised,

Actually, real spaces are ignored, my mistake.  I was anticipating the
capitalized filename and hitting the shift key too soon, yielding a
chr$(160) instead of a space.  Which I think is reasonable to skip, as
well, so I applied this patch to mainargs.s:

--- mainargs.s  2005-02-26 04:24:51.000000000 -0500
+++ mainargs.s.mjr      2006-10-05 21:28:06.000000000 -0400
@@ -74,6 +74,8 @@
         inx
         cmp     #' '            ; Skip leading spaces
         beq     next            ;
+        cmp     #$A0          ; (including shifted spaces)
+        beq     next


-- 
Mark J. Reed <markjreed@mail.com>
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Fri Oct 6 03:30:23 2006

This archive was generated by hypermail 2.1.8 : 2006-10-06 03:30:25 CEST