mirror of
https://github.com/cc65/cc65.git
synced 2025-03-03 09:32:33 +00:00
Merge remote-tracking branch 'upstream/master'
This commit is contained in:
commit
1e9823306a
@ -10,7 +10,7 @@ SEGMENTS {
|
||||
DATA: load = COMBINED, type = rw, define = yes;
|
||||
BSS: load = COMBINED, type = bss, define = yes;
|
||||
ZEROPAGE: load = ZP, type = zp;
|
||||
EXTZP: load = ZP, type = zp;
|
||||
EXTZP: load = ZP, type = zp, optional = yes;
|
||||
}
|
||||
FILES {
|
||||
%O: format = o65;
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
@ -22,10 +22,3 @@ tmp2: .res 1
|
||||
tmp3: .res 1
|
||||
tmp4: .res 1
|
||||
regbank: .res regbanksize ; Register bank
|
||||
|
||||
; Add an empty EXTZP zeropage segment to avoid linker warnings that this
|
||||
; segment does not exist (it does not exist in most builtin linker configs
|
||||
; but is used when linking modules).
|
||||
|
||||
.segment "EXTZP" : zeropage
|
||||
|
||||
|
@ -6,8 +6,6 @@
|
||||
|
||||
.export __EXEHDR__ : absolute = 1 ; Linker referenced
|
||||
|
||||
; ------------------------------------------------------------------------
|
||||
|
||||
.segment "EXEHDR"
|
||||
|
||||
.byte .defined(__SIM65C02__)
|
||||
|
@ -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:
|
||||
|
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user