mirror of
https://github.com/cc65/cc65.git
synced 2025-02-03 22:32:24 +00:00
Add support for the CBM 510
git-svn-id: svn://svn.cc65.org/cc65/trunk@916 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
3e5adc0926
commit
cce379324d
@ -61,8 +61,8 @@ struct tm {
|
|||||||
};
|
};
|
||||||
|
|
||||||
#if defined(__CBM__)
|
#if defined(__CBM__)
|
||||||
# if defined(__CBM610__)
|
# if defined(__CBM510__) || defined(__CBM610__)
|
||||||
/* The 610 gets its clock from the AC current */
|
/* The 510/610 gets its clock from the AC current */
|
||||||
# define CLK_TCK 50 /* POSIX */
|
# define CLK_TCK 50 /* POSIX */
|
||||||
# define CLOCKS_PER_SEC 50 /* ANSI */
|
# define CLOCKS_PER_SEC 50 /* ANSI */
|
||||||
# else
|
# else
|
||||||
|
@ -80,27 +80,19 @@ static char GetKeyUpdate (void);
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Screen definitions */
|
/* Screen definitions */
|
||||||
#ifdef __CBM610__
|
#if defined(__CBM610__)
|
||||||
# define BIGSCREEN
|
# define BIGSCREEN
|
||||||
# define MAX_X 80
|
# define MAX_X 80
|
||||||
# define MAX_Y 25
|
# define MAX_Y 25
|
||||||
# define DUMP_BYTES 16
|
# define DUMP_BYTES 16
|
||||||
|
#elif defined(__APPLE2__) || defined(__ATARI__)
|
||||||
|
# define MAX_X 40
|
||||||
|
# define MAX_Y 24
|
||||||
|
# define DUMP_BYTES 8
|
||||||
#else
|
#else
|
||||||
# ifdef __APPLE2__
|
# define MAX_X 40
|
||||||
# define MAX_X 40
|
# define MAX_Y 25
|
||||||
# define MAX_Y 24
|
# define DUMP_BYTES 8
|
||||||
# define DUMP_BYTES 8
|
|
||||||
# else
|
|
||||||
# ifdef __ATARI__
|
|
||||||
# define MAX_X 40
|
|
||||||
# define MAX_Y 24
|
|
||||||
# define DUMP_BYTES 8
|
|
||||||
# else
|
|
||||||
# define MAX_X 40
|
|
||||||
# define MAX_Y 25
|
|
||||||
# define DUMP_BYTES 8
|
|
||||||
# endif
|
|
||||||
# endif
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user