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:
@@ -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
|
||||
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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 */
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user