I totally forgot, about SDLUserPreferences.pas, but I did write it for the purposes of cross-platform configuration settings. It should write to the registry on Windows and to an INI file on other platforms. This of course assums that FreePascal supports INI files on all of it's targets.

If you are around later tonight I can send you an example of how to use the SDLUserPreferences.pas file.