Re: [cc65]

From: Ullrich von Bassewitz <uz1musoftware.de>
Date: 2011-12-11 20:43:04
On Sun, Dec 11, 2011 at 01:58:50PM -0500, David Schmidt wrote:
> I'm having some trouble with ca65 on Windows (apparently) getting it
> to recognize the .P816 directive.  I am starting with a simple
> program:
>
> .P816
>         xce
>
> ca65 V2.13.0 will assemble this without complaint.  I have a February,
> 2011 build that I have been using all year for a straight 6502
> project, and I just downloaded V2.13.9_20111208 to try also.  Both of
> the 2011 versions of ca65 seem to not understand the xce mnemonic -
> it's thinking it's a label:

Works here:

-----------------------------------------------------------------------------
uz@trixie:~/src/cc65/src/ca65$ cat t.s
.P816
        xce
uz@trixie:~/src/cc65/src/ca65$ ./ca65 -l t.lst t.s
uz@trixie:~/src/cc65/src/ca65$ cat t.lst
ca65 V2.13.9 - (C) Copyright 1998-2011 Ullrich von Bassewitz
Main file   : t.s
Current file: t.s

000000r 1               .P816
000000r 1  FB                   xce
000000r 1
uz@trixie:~/src/cc65/src/ca65$ exit
exit
-----------------------------------------------------------------------------

Maybe there's something weird with your source file. If you cannot get it
running, please strip it, making it as short as possible. Then zip it to
protect it against encoding errors in the mail client and send it to me in
private mail.

> On Mac OSX, the February 2011 version of ca65 seems to understand and
> assemble correctly.  What might I be doing wrong on the Windows side?

If this is really the same source file (shared over a file server or similar)
it may have to do with different line endings on the Mac and Windows side. Try
to recreate the file on Windows using a Windows text editor.

> (I think my original query went into the bitbucket, so I'm trying this
> from my Google mail address... apologies if it eventually appears
> twice.)

You can only post to the list using the subscribed address. All others will
not work. This is sometimes inconvenient but protects the list against spam.

Regards


        Uz


-- 
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 Sun Dec 11 20:43:12 2011

This archive was generated by hypermail 2.1.8 : 2011-12-11 20:43:15 CET