Using the -PRG and -RUN Command line Switches

This is the starting place for reporting bugs to the team. We will pass bug reports on to the developers after validating the reports.

You can report bugs in hardware, operating system (KERNAL or BASIC ROMs), the emulator, or the Demo library. For bugs specific to downloaded programs, use the download forum.
Post Reply
Gerry
Posts: 39
Joined: Sat Feb 17, 2024 8:54 am
Location: Dallas, Tx.

Using the -PRG and -RUN Command line Switches

Post 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
User avatar
JimmyDansbo
Posts: 476
Joined: Sun Apr 26, 2020 8:10 pm
Location: Denmark
Contact:

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

Post 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.
Visit my Github repo
or my personal site with CX16/C64/6502 related information.
Feel free to contact me regarding any of my projects or even about meeting up somewhere near Denmark
Gerry
Posts: 39
Joined: Sat Feb 17, 2024 8:54 am
Location: Dallas, Tx.

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

Post 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
Post Reply