38
38
#define FSDEV_EXT_SEP_CHR '.'
40
40
/* Path separator. */
41
#define FINDPATH_SEPARATOR_CHAR ':'
42
#define FINDPATH_SEPARATOR_STRING ":"
41
#define ARCHDEP_FINDPATH_SEPARATOR_CHAR ':'
42
#define ARCHDEP_FINDPATH_SEPARATOR_STRING ":"
44
44
/* Modes for fopen(). */
45
45
#define MODE_READ "r"
50
50
#define MODE_APPEND "w+"
51
51
#define MODE_APPEND_READ_WRITE "a+"
53
/* Define the default system directory (where the ROMs are). */
54
#define LIBDIR PREFIX "/lib/vice"
55
#define DOCDIR PREFIX "/share/doc/vice/html"
56
#define VICEUSERDIR ".vice"
58
53
/* Printer default devices. */
59
#define PRINTER_DEFAULT_DEV1 "print.dump"
60
#define PRINTER_DEFAULT_DEV2 "|lpr"
61
#define PRINTER_DEFAULT_DEV3 "|petlp -F PS|lpr"
54
#define ARCHDEP_PRINTER_DEFAULT_DEV1 "print.dump"
55
#define ARCHDEP_PRINTER_DEFAULT_DEV2 "|lpr"
56
#define ARCHDEP_PRINTER_DEFAULT_DEV3 "|petlp -F PS|lpr"
63
58
/* Video chip scaling. */
64
#define ARCHDEP_VICII_DSIZE 1
65
#define ARCHDEP_VICII_DSCAN 1
66
#define ARCHDEP_VDC_DSIZE 1
67
#define ARCHDEP_VDC_DSCAN 1
68
#define ARCHDEP_VIC_DSIZE 1
69
#define ARCHDEP_VIC_DSCAN 1
70
#define ARCHDEP_CRTC_DSIZE 1
71
#define ARCHDEP_CRTC_DSCAN 1
72
#define ARCHDEP_TED_DSIZE 1
73
#define ARCHDEP_TED_DSCAN 1
59
#define ARCHDEP_VICII_DSIZE 1
60
#define ARCHDEP_VICII_DSCAN 1
61
#define ARCHDEP_VICII_HWSCALE 1
62
#define ARCHDEP_VDC_DSIZE 1
63
#define ARCHDEP_VDC_DSCAN 1
64
#define ARCHDEP_VDC_HWSCALE 0
65
#define ARCHDEP_VIC_DSIZE 1
66
#define ARCHDEP_VIC_DSCAN 1
67
#define ARCHDEP_VIC_HWSCALE 1
68
#define ARCHDEP_CRTC_DSIZE 1
69
#define ARCHDEP_CRTC_DSCAN 1
70
#define ARCHDEP_CRTC_HWSCALE 0
71
#define ARCHDEP_TED_DSIZE 1
72
#define ARCHDEP_TED_DSCAN 1
73
#define ARCHDEP_TED_HWSCALE 1
75
75
/* Default location of raw disk images. */
76
76
#define ARCHDEP_RAWDRIVE_DEFAULT "/dev/fd0"
81
81
#define ARCHDEP_X_OK X_OK
82
82
#define ARCHDEP_F_OK F_OK
84
/* Standard line delimiter. */
85
#define ARCHDEP_LINE_DELIMITER "\n"
87
/* Ethernet default device */
88
#define ARCHDEP_ETHERNET_DEFAULT_DEVICE "eth0"
84
90
extern const char *archdep_home_path(void);
92
/* Define the default system directory (where the ROMs are). */
93
#define LIBDIR PREFIX "/lib/vice"
94
#define DOCDIR LIBDIR "/doc"
95
#define VICEUSERDIR ".vice"