bryce@COGSCI.BERKELEY.EDU (Bryce Nesbitt) (06/25/87)
> The Adventure program can be set up to run from the WorkBench > on a standalone disk, for either 256K systems or 512K and up systems. > [supply] parameters [for 256K or 512K] > > MakeIt df0: 256 > MakeIt df1: 512 Why not make this automatic?? Something could check if there will be enough memory, and if so copy the adventure to RAM:, then set the "adv.path" file as to the results. If the copy to RAM: fails, use the data file from disk. Since startup-sequence files are not really progamming languages, just set the FAILAT level, copy to RAM: and then do: IF ERROR delete ram:adv_data/<whatever> echo >adv.path ":*n:" echo "Adventure data coming from disk" ELSE echo >adv.path "RAM:adv_data*nRAM:adv_data" echo "Adventure data is in RAM:adv_data" ENDIF {Infocom stories set their internal buffer based on free memory. If you have at least 512k the entire story makes it in.} !! EVERYTHING should AUTOCONFIG. Part of the "Amiga philosophy" {is,will, should be} automatic configuration. /* CAUTION!: Certain versions of the the RAM disk will CRASH if the first copied file runs out of space, then later "info" or several other programs are executed. To prevent this, FIRST make a small copy, then do the biggie. (I reported this as a bug in Beta-4?, Gamma-1?, Release? My mind is muddy when it come to old bug reports...) */ -Happy Hacking (And bring the world that 2000 thing, soon!)- --------- Ack! (NAK,EOT,SOH) |\ /| . {o O} . bryce@cogsci.berkeley.EDU -or- ucbvax!cogsci!bryce ( " ) U Single tasking? Just say *NO!*