Introduced target 'atarixl'.

The target 'atarixl' is to be used for Atari XL (and better) machines.
It will disable the OS ROM and enable the Shadow RAM available on
those machine.

Note: This commit is only the inital step towards for this goal that just
replicates the target 'atari' as a starting point!
This commit is contained in:
Oliver Schmidt
2013-05-28 21:56:37 +02:00
parent 2e8a65bda4
commit 98c47d1877
19 changed files with 138 additions and 35 deletions

View File

@@ -38,7 +38,7 @@
/* Check for errors */
#if !defined(__ATARI__)
#if !defined(__ATARI__) && !defined(__ATARIXL__)
# error This module may only be used when compiling for the Atari!
#endif

View File

@@ -63,7 +63,7 @@
# include <apple2.h>
#elif defined(__APPLE2ENH__)
# include <apple2enh.h>
#elif defined(__ATARI__)
#elif defined(__ATARI__) || defined(__ATARIXL__)
# include <atari.h>
#elif defined(__ATMOS__)
# include <atmos.h>

View File

@@ -78,7 +78,7 @@ struct dirent {
#define _DE_ISLBL(t) (0)
#define _DE_ISLNK(t) (0)
#elif defined(__ATARI__)
#elif defined(__ATARI__) || defined(__ATARIXL__)
struct dirent {
char d_name[13]; /* 8.3 + trailing 0 */

View File

@@ -71,7 +71,7 @@ extern FILE* stderr;
/* Standard defines that are platform dependent */
#if defined(__APPLE2__) || defined(__APPLE2ENH__)
# define FILENAME_MAX (64+1)
#elif defined(__ATARI__)
#elif defined(__ATARI__) || defined(__ATARIXL__)
# define FILENAME_MAX (12+1)
#elif defined(__LUNIX__)
# define FILENAME_MAX (80+1)

View File

@@ -76,7 +76,7 @@ extern struct _timezone {
#if defined(__ATARI__)
#if defined(__ATARI__) || defined(__ATARIXL__)
/* The clock depends on the video standard, so read it at runtime */
unsigned _clocks_per_sec (void);
# define CLK_TCK _clocks_per_sec()