[uae] Re: Snapshot and OS X version (20060328)

  • From: Richard Drummond <evilrich@xxxxxxxxxxxxxx>
  • To: uae@xxxxxxxxxxxxx
  • Date: Fri, 31 Mar 2006 16:00:56 -0500

Hi Daniel

On Friday 31 March 2006 13:23, Daniel Pimley wrote:
> My fault, didn't notice that in configuration.txt. But that is a very
> strange behaviour, I assumed that specifying a default path would
> simply add it to the list of paths that UAE checks for floppies /
> ROMs / hardfiles, much the same way that configs are handled i.e.
> check local directory, check home directory, then check for any other
> user-specified file. Why not do it like that?

I assume it was not done like this because it's ambiguous. Say you have the 
same disk file 'floppy.adf' in both the current directory and in the default 
floppy directory, which should you load?

> For example with kickstart_rom_file, at first UAE can test the path
> assuming that it is a full path, then if that fails UAE can test to
> see if the path is relative (i.e. does it become a valid path with $
> (FILE_PATH) prefixed) and if that fails then finally UAE can check to
> see if the path is valid relative to the local directory.

BTW, if it's a full (absolute) path, then it'll start with a '/' (or it has a 
':' in it, on AmigaOS hosts). Any other path can assumed to be relative.

Should you check the current directory or the default directory first for a 
match, though? Any thoughts, anybody?

Does anybody have any objections to changing the behaviour along this lines?

Cheers,
Rich

Other related posts: