Added Atari stuff

git-svn-id: svn://svn.cc65.org/cc65/trunk@196 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz
2000-07-25 20:10:29 +00:00
parent ab2b9d35e1
commit 319059d46d

View File

@@ -60,9 +60,9 @@ struct tm {
int tm_isdst; int tm_isdst;
}; };
#if defined(__CBM__)
# if defined(__CBM610__)
/* The 610 gets its clock from the AC current */ /* The 610 gets its clock from the AC current */
#ifdef __CBM__
# ifdef __CBM610__
# define CLK_TCK 50 /* POSIX */ # define CLK_TCK 50 /* POSIX */
# define CLOCKS_PER_SEC 50 /* ANSI */ # define CLOCKS_PER_SEC 50 /* ANSI */
# else # else
@@ -71,6 +71,13 @@ struct tm {
# endif # endif
#endif #endif
#if defined(__ATARI__)
/* The clock depends on the video standard, so read it at runtime */
unsigned _clocks_per_sec (void);
# define CLK_TCK _clocks_per_sec()
# define CLOCKS_PER_SEC _clocks_per_sec()
#endif
/* Function prototypes */ /* Function prototypes */