1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-18 07:29:36 +00:00

Have __PLUS4__ imply __C16__.

This commit is contained in:
Oliver Schmidt 2013-06-27 23:09:54 +02:00
parent 460cea425f
commit 3af758ced5
4 changed files with 6 additions and 4 deletions

View File

@ -39,7 +39,7 @@
/* Check for errors */
#if !defined(__PLUS4__) && !defined(__C16__)
#if !defined(__C16__)
# error This module may only be used when compiling for the Plus/4 or C16!
#endif

View File

@ -47,7 +47,7 @@ static char GetKeyUpdate (void);
/* Color definitions */
#if defined(__PLUS4__) || defined(__C16__)
#if defined(__C16__)
# define COLOR_BORDER (BCOLOR_DARKBLUE | CATTR_LUMA6)
# define COLOR_BACKGROUND COLOR_WHITE
# define COLOR_TEXTHIGH COLOR_BLACK

View File

@ -230,7 +230,8 @@ static void SetSys (const char* Sys)
break;
case TGT_PLUS4:
CBMSystem ("__PLUS4__");
CBMSystem ("__C16__");
NewSymbol ("__PLUS4__", 1);
break;
case TGT_CBM510:

View File

@ -186,7 +186,8 @@ static void SetSys (const char* Sys)
break;
case TGT_PLUS4:
cbmsys ("__PLUS4__");
cbmsys ("__C16__");
DefineNumericMacro ("__PLUS4__", 1);
break;
case TGT_CBM510: