From 1cb6868ddd1fc6daabd6313cc6df77f2543388b3 Mon Sep 17 00:00:00 2001 From: cpg Date: Thu, 16 Dec 2004 22:41:14 +0000 Subject: [PATCH] DYNAMIC_DD git-svn-id: svn://svn.cc65.org/cc65/trunk@3333 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- libsrc/atari/Makefile | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/libsrc/atari/Makefile b/libsrc/atari/Makefile index 3c40eff34..276d34fa4 100644 --- a/libsrc/atari/Makefile +++ b/libsrc/atari/Makefile @@ -7,11 +7,17 @@ # the length of the buffer) # UCASE_FILENAME - all filenames get uppercased # DEFAULT_DEVICE - if the string passed to the uppercase function doesn't -# include a device (":" at position 2 or 3), provide "D:" -# as a default device +# include a device (":" at position 2 or 3), provide "Dn:" +# as a default disk device +# n is the value of DEFAULT_DEVICE, unless DYNAMIC_DD is +# also set, in which case it's overridden by a runtime +# check (on SpartaDOS only) # needs UCASE_FILENAME to be defined, otherwise no effect +# DYNAMIC_DD - determine default disk device at runtime (SpartaDOS only) +# needs DEFAULT_DEVICE to be defined, otherwise no effect -ATARIDEFS = -DNUMDRVS=4 -DUCASE_FILENAME=1 -DDEFAULT_DEVICE=1 -DLINEBUF=80 +ATARIDEFS = -DNUMDRVS=4 -DUCASE_FILENAME=1 -DDEFAULT_DEVICE=1 -DLINEBUF=80 +ATARIDEFS += -DDYNAMIC_DD=1 .SUFFIXES: .o .s .c -- 2.39.5