1 # NUMDRVS - number of supported drives (max. 16)
2 # 4 bytes for each device are statically allocated
3 # LINEBUF - support line buffered reads from E: (the number specifies
4 # the length of the buffer)
5 # UCASE_FILENAME - all filenames get uppercased
6 # DEFAULT_DEVICE - if the string passed to the uppercase function doesn't
7 # include a device (":" at position 2 or 3), provide "Dn:"
8 # as a default disk device
9 # n is the value of DEFAULT_DEVICE, unless DYNAMIC_DD is
10 # also set, in which case it's overridden by a runtime
11 # check (on SpartaDOS only)
12 # needs UCASE_FILENAME to be defined, otherwise no effect
13 # DYNAMIC_DD - determine default disk device at runtime (SpartaDOS only)
14 # needs DEFAULT_DEVICE to be defined, otherwise no effect
16 CA65FLAGS += -D NUMDRVS=4 -D LINEBUF=80 -D UCASE_FILENAME=1 -D DEFAULT_DEVICE=1 -D DYNAMIC_DD=1
18 # The following defines are only used by the 'atarixl' target:
20 # CHARGEN_RELOC - If defined, CHBAS and CHBASE are updated when
21 # enabling or disabling the ROM.
22 # If the ROM is enabled, $E0 is written to CHBAS
24 # If the ROM is disabled, the upper byte of
25 # __CHARGEN_START__ is written to CHBAS and CHBASE.
26 # USEWSYNC - If defined, the code waits for horizontal retrace
27 # before switching the ROM and updating CHBAS and
28 # CHBASE. This define only has effect if CHARGEN_RELOC
31 # Disabled by default, you should enable it if the linker script relocates the
32 # character generator (like atarixl-largehimem.cfg).
33 #CA65FLAGS += -D CHARGEN_RELOC -D USEWSYNC