# error This module may only be used when compiling for the Apple ][!
#endif
-
#include <apple2_filetype.h>
+
+
/*****************************************************************************/
/* Data */
/*****************************************************************************/
#define CH_RTEE '+'
#define CH_CROSS '+'
+/* Masks for joy_read */
+#define JOY_UP_MASK 0x10
+#define JOY_DOWN_MASK 0x20
+#define JOY_LEFT_MASK 0x04
+#define JOY_RIGHT_MASK 0x08
+#define JOY_BTN_1_MASK 0x40
+#define JOY_BTN_2_MASK 0x80
+
/* Return codes for get_ostype */
#define APPLE_UNKNOWN 0x00
#define APPLE_II 0x10 /* Apple ][ */
** ProDOS 8 2.0.1 - 0x21
** ProDOS 8 2.0.2 - 0x22
** ProDOS 8 2.0.3 - 0x23
+** ProDOS 8 2.4.x - 0x24
*/
/* The file stream implementation and the POSIX I/O functions will use the
-** following variables to determine the file type, aux type and creation time
-** stamp to use.
+** following struct to set the date and time stamp on files. This specificially
+** applies to the open and fopen functions.
*/
-extern unsigned char _filetype; /* Default: 6 */
-extern unsigned int _auxtype; /* Default: 0 */
extern struct {
struct {
unsigned day :5;