Add target atari7800

This commit is contained in:
Karri Kaksonen 2022-03-01 06:44:55 +02:00
parent 328781bf8a
commit 3266e70de4
11 changed files with 24 additions and 0 deletions

View File

@ -27,6 +27,7 @@ including
- the Atari 8-bit machines.
- the Atari 2600 console.
- the Atari 5200 console.
- the Atari 7800 console.
- GEOS for the C64, C128 and Apple //e.
- the Bit Corporation Gamate console.
- the NEC PC-Engine (aka TurboGrafx-16) console.

View File

@ -4763,6 +4763,7 @@ compiler, depending on the target system selected:
<item><tt/__APPLE2ENH__/ - Target system is <tt/apple2enh/
<item><tt/__ATARI2600__/ - Target system is <tt/atari2600/
<item><tt/__ATARI5200__/ - Target system is <tt/atari5200/
<item><tt/__ATARI7800__/ - Target system is <tt/atari7800/
<item><tt/__ATARI__/ - Target system is <tt/atari/ or <tt/atarixl/
<item><tt/__ATARIXL__/ - Target system is <tt/atarixl/
<item><tt/__ATMOS__/ - Target system is <tt/atmos/

View File

@ -124,6 +124,9 @@
<tag><htmlurl url="atari5200.html" name="atari5200.html"></tag>
Topics specific to the Atari 5200 Game Console.
<tag><htmlurl url="atari7800.html" name="atari7800.html"></tag>
Topics specific to the Atari 7800 Game Console.
<tag><htmlurl url="atmos.html" name="atmos.html"></tag>
Topics specific to the Oric Atmos.

View File

@ -166,6 +166,7 @@ Here is a description of all of the command-line options:
<item>apple2
<item>apple2enh
<item>atari2600
<item>atari7800
<item>atari
<item>atarixl
<item>atmos

View File

@ -43,6 +43,8 @@
# include <atari2600.h>
#elif defined(__ATARI5200__)
# include <atari5200.h>
#elif defined(__ATARI7800__)
# include <atari7800.h>
#elif defined(__ATMOS__)
# include <atmos.h>
#elif defined(__CBM__)

View File

@ -21,6 +21,7 @@ TARGETS = apple2 \
atarixl \
atari2600 \
atari5200 \
atari7800 \
atmos \
creativision \
$(CBMS) \

View File

@ -212,6 +212,10 @@ static void SetSys (const char* Sys)
NewSymbol ("__ATARI5200__", 1);
break;
case TGT_ATARI7800:
NewSymbol ("__ATARI7800__", 1);
break;
case TGT_ATARI:
NewSymbol ("__ATARI__", 1);
break;

View File

@ -172,6 +172,10 @@ static void SetSys (const char* Sys)
DefineNumericMacro ("__ATARI5200__", 1);
break;
case TGT_ATARI7800:
DefineNumericMacro ("__ATARI7800__", 1);
break;
case TGT_ATARI:
DefineNumericMacro ("__ATARI__", 1);
break;

View File

@ -147,6 +147,7 @@ static const TargetEntry TargetMap[] = {
{ "atari", TGT_ATARI },
{ "atari2600", TGT_ATARI2600 },
{ "atari5200", TGT_ATARI5200 },
{ "atari7800", TGT_ATARI7800 },
{ "atarixl", TGT_ATARIXL },
{ "atmos", TGT_ATMOS },
{ "bbc", TGT_BBC },
@ -188,6 +189,7 @@ static const TargetProperties PropertyTable[TGT_COUNT] = {
{ "atari", CPU_6502, BINFMT_BINARY, CTAtari },
{ "atari2600", CPU_6502, BINFMT_BINARY, CTNone },
{ "atari5200", CPU_6502, BINFMT_BINARY, CTAtari },
{ "atari7800", CPU_6502, BINFMT_BINARY, CTNone },
{ "atarixl", CPU_6502, BINFMT_BINARY, CTAtari },
{ "vic20", CPU_6502, BINFMT_BINARY, CTPET },
{ "c16", CPU_6502, BINFMT_BINARY, CTPET },

View File

@ -57,6 +57,7 @@ typedef enum {
TGT_ATARI,
TGT_ATARI2600,
TGT_ATARI5200,
TGT_ATARI7800,
TGT_ATARIXL,
TGT_VIC20,
TGT_C16,

View File

@ -673,6 +673,9 @@ EXELIST_atari2600 = \
EXELIST_atari5200 = \
minimal
EXELIST_atari7800 = \
minimal
EXELIST_gamate = \
minimal
@ -728,6 +731,7 @@ TARGETS := \
atarixl \
atari2600 \
atari5200 \
atari7800 \
atmos \
bbc \
c128 \