From: cuz Date: Fri, 10 Oct 2003 17:37:52 +0000 (+0000) Subject: New builtin macro package CPU X-Git-Tag: V2.12.0~1272 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f721907ab324302d3a94fd8a643d4fe0345bf1de;p=cc65 New builtin macro package CPU git-svn-id: svn://svn.cc65.org/cc65/trunk@2504 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/src/ca65/macpack.c b/src/ca65/macpack.c index d22d9cc6c..e27569322 100644 --- a/src/ca65/macpack.c +++ b/src/ca65/macpack.c @@ -6,10 +6,10 @@ /* */ /* */ /* */ -/* (C) 1998 Ullrich von Bassewitz */ -/* Wacholderweg 14 */ -/* D-70597 Stuttgart */ -/* EMail: uz@musoftware.de */ +/* (C) 1998-2003 Ullrich von Bassewitz */ +/* Römerstrasse 52 */ +/* D-70794 Filderstadt */ +/* EMail: uz@cc65.org */ /* */ /* */ /* This software is provided 'as-is', without any expressed or implied */ @@ -183,6 +183,18 @@ static char MacCBM[] = " .endrepeat\n" ".endmacro\n"; +/* CPU defines */ +static char MacCPU[] = + "CPU_ISET_6502 = $01\n" + "CPU_ISET_65SC02 = $02\n" + "CPU_ISET_65C02 = $04\n" + "CPU_ISET_65816 = $08\n" + "CPU_ISET_SUNPLUS = $10\n" + "CPU_6502 = $01\n" + "CPU_65SC02 = $03\n" + "CPU_65C02 = $07\n" + "CPU_65816 = $0F\n" + "CPU_SUNPLUS = $10\n"; @@ -190,7 +202,8 @@ static char MacCBM[] = static char* MacPackages [] = { MacGeneric, MacLongBranch, - MacCBM + MacCBM, + MacCPU }; diff --git a/src/ca65/macpack.h b/src/ca65/macpack.h index ee62ac1be..d46ee9dda 100644 --- a/src/ca65/macpack.h +++ b/src/ca65/macpack.h @@ -6,10 +6,10 @@ /* */ /* */ /* */ -/* (C) 1998 Ullrich von Bassewitz */ -/* Wacholderweg 14 */ -/* D-70597 Stuttgart */ -/* EMail: uz@musoftware.de */ +/* (C) 1998-2003 Ullrich von Bassewitz */ +/* Römerstrasse 52 */ +/* D-70794 Filderstadt */ +/* EMail: uz@cc65.org */ /* */ /* */ /* This software is provided 'as-is', without any expressed or implied */ @@ -48,6 +48,7 @@ #define MAC_GENERIC 0 #define MAC_LONGBRANCH 1 #define MAC_CBM 2 +#define MAC_CPU 3