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