Have __PLUS4__ imply __C16__.
This commit is contained in:
@@ -39,7 +39,7 @@
|
|||||||
|
|
||||||
|
|
||||||
/* Check for errors */
|
/* 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!
|
# error This module may only be used when compiling for the Plus/4 or C16!
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
@@ -47,7 +47,7 @@ static char GetKeyUpdate (void);
|
|||||||
|
|
||||||
|
|
||||||
/* Color definitions */
|
/* Color definitions */
|
||||||
#if defined(__PLUS4__) || defined(__C16__)
|
#if defined(__C16__)
|
||||||
# define COLOR_BORDER (BCOLOR_DARKBLUE | CATTR_LUMA6)
|
# define COLOR_BORDER (BCOLOR_DARKBLUE | CATTR_LUMA6)
|
||||||
# define COLOR_BACKGROUND COLOR_WHITE
|
# define COLOR_BACKGROUND COLOR_WHITE
|
||||||
# define COLOR_TEXTHIGH COLOR_BLACK
|
# define COLOR_TEXTHIGH COLOR_BLACK
|
||||||
|
|||||||
@@ -230,7 +230,8 @@ static void SetSys (const char* Sys)
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case TGT_PLUS4:
|
case TGT_PLUS4:
|
||||||
CBMSystem ("__PLUS4__");
|
CBMSystem ("__C16__");
|
||||||
|
NewSymbol ("__PLUS4__", 1);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case TGT_CBM510:
|
case TGT_CBM510:
|
||||||
|
|||||||
@@ -186,7 +186,8 @@ static void SetSys (const char* Sys)
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case TGT_PLUS4:
|
case TGT_PLUS4:
|
||||||
cbmsys ("__PLUS4__");
|
cbmsys ("__C16__");
|
||||||
|
DefineNumericMacro ("__PLUS4__", 1);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case TGT_CBM510:
|
case TGT_CBM510:
|
||||||
|
|||||||
Reference in New Issue
Block a user