Skip to content

Commit 796afd3

Browse files
committed
clarified -prg documentation
1 parent 4fc098e commit 796afd3

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ You can start `x16emu`/`x16emu.exe` either by double-clicking it, or from the co
9797
* `-sdcard` lets you specify an SD card image (partition table + FAT32). Without this option, drive 8 will interface to the current directory on the host.
9898
* `-serial` makes accesses to the host filesystem go through the Serial Bus [experimental].
9999
* `-nohostieee` disables IEEE API interception to access the host fs.
100-
* `-prg` lets you specify a `.prg` file that gets injected into RAM after start.
100+
* `-prg` lets you specify a `.prg` file that gets loaded after start. It is fetched from the host filesystem, even if an SD card is attached!
101101
* `-bas` lets you specify a BASIC program in ASCII format that automatically typed in (and tokenized).
102102
* `-run` executes the application specified through `-prg` or `-bas` using `RUN` or `SYS`, depending on the load address.
103103
* `-geos` launches GEOS at startup.

src/main.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -387,8 +387,8 @@ usage()
387387
printf("\tIEEE API host fs is normally enabled unless -sdcard or\n");
388388
printf("\t-serial is specified.\n");
389389
printf("-prg <app.prg>[,<load_addr>]\n");
390-
printf("\tLoad application from the local disk into RAM\n");
391-
printf("\t(.PRG file with 2 byte start address header)\n");
390+
printf("\tLoad application from the *host filesystem* into RAM,\n");
391+
printf("\teven if an SD card is attached.\n");
392392
printf("\tThe override load address is hex without a prefix.\n");
393393
printf("-bas <app.txt>\n");
394394
printf("\tInject a BASIC program in ASCII encoding through the\n");

0 commit comments

Comments
 (0)