Page 1 of 1

Using the -PRG and -RUN Command line Switches

Posted: Wed Jul 31, 2024 11:59 pm
by Gerry
Over in the How-to forum, I asked about ("Using the -PRG Switch in the X16 Emulator") using the -PRG and -RUN switches when starting the emulator and launching the Ultimate File Manager (FM.PRG). It doesn't work. JimmyDansbo suggested it is a bug. So I'm post here to see if it is a bug or if there is missing information on how to use these two switches properly.

Thank you,
Gerry

Re: Using the -PRG and -RUN Command line Switches

Posted: Thu Aug 01, 2024 5:31 am
by JimmyDansbo
Hi.

I did actually look a bit more into the emulator and found that -prg only loads from host filesystem even if an sd card is attached.
My intention was to create pull-request that would fix the functionality, but then I stumbled across this from the help-output of the emulator.

-prg <app.prg>[,<load_addr>]
	Load application from the *host filesystem* into RAM,
	even if an SD card is attached.
	The override load address is hex without a prefix.

It seems that -prg is working as designed.

Re: Using the -PRG and -RUN Command line Switches

Posted: Fri Aug 02, 2024 3:16 pm
by Gerry
Not for me. I placed a copy of FM.PRG in the Host File System and I still get the same error. It's not this issue.

Thank you,
Gerry