Re: [cc65] .target

From: Ullrich von Bassewitz <uz1musoftware.de>
Date: 2005-03-15 10:32:17
On Tue, Mar 15, 2005 at 10:23:27AM +0100, MagerValp wrote:
> Any chance of a .target pseudo variable that returns the current
> target?

What should this variable contain?

BTW: There are predefined symbols depending on the target system:

----------------------------------------------------------------------------
For better orthogonality, the assembler defines similar symbols as the
compiler, depending on the target system selected:

<itemize>
<item><tt/__ACE__/ - Target system is <tt/ace/
<item><tt/__APPLE2__",/ - Target system is <tt/apple2/
<item><tt/__APPLE2ENH__",/ - Target system is <tt/apple2enh/
<item><tt/__ATARI__/ - Target system is <tt/atari/
<item><tt/__ATMOS__",/ - Target system is <tt/atmos/
<item><tt/__BBC__",/ - Target system is <tt/bbc/
<item><tt/__C128__/ - Target system is <tt/c128/
<item><tt/__C16__/ - Target system is <tt/c16/
<item><tt/__C64__/ - Target system is <tt/c64/
<item><tt/__CBM__/ - Target is a Commodore system
<item><tt/__CBM510__/ - Target system is <tt/cbm510/
<item><tt/__CBM610__/ - Target system is <tt/cbm610/
<item><tt/__GEOS__",/ - Target system is <tt/geos/
<item><tt/__LUNIX__",/ - Target system is <tt/lunix/
<item><tt/__NES__",/ - Target system is <tt/nes/
<item><tt/__PET__/ - Target system is <tt/pet/
<item><tt/__PLUS4__/ - Target system is <tt/plus4/
<item><tt/__SUPERVISION__",/ - Target system is <tt/supervision/
<item><tt/__VIC20__/ - Target system is <tt/vic20/
</itemize>
----------------------------------------------------------------------------

Is this of any help?

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 Tue Mar 15 10:32:20 2005

This archive was generated by hypermail 2.1.8 : 2005-03-15 10:32:26 CET