[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ProDOS 8 prefix on launching SYS files from GS/OS ?



Oliver Schmidt wrote:

>When launching a 8 bit SYS file from GS/OS then the system "boots
>into" ProDOS 8. From that I'd expect that the ProDOS 8 prefix is set
>the same way it is set when directly booting ProDOS 8 (which is it is
>set to the volume directory of the boot drive) - is that correct?

I believe that when launching from GSOS it sets the current prefix to where
your program is located.  This is the same as launching straight from
ProDOS 8 too.  If you launch from BASIC.SYSTEM however it sets the current
directory to null.

>Is there a way that a user can manipulate / override that behaviour?

Sure, you can always have your program call MLI SET_PREFIX to change it to
whatever you like.

>I've read that a user can "associate" a "file type" with a certain 8
>bit SYS program. Does file type here mean a ProDOS 8 file type or does
>it mean a name suffix?

Both I believe.

>As far as I understand launching such an associated file actually
>means launching the SYS program with the associated file as startup
>parameter - is that correct?

Yes.

>What about the prefix in that scenario. Just like in the general
>scenario above?

It passes the entire path to the SYS program.

Mark R. Percival - RTC Host - Syndicomm Online Apple II Forum
"Midweek Madness!" Every Wednesday Night : 7:00 PM - 9:00 PM Pacific Time

http://www.syndicomm.com