Skip to content

Commit

Permalink
clarified -prg documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
mist64 committed May 9, 2022
1 parent 4fc098e commit 796afd3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ You can start `x16emu`/`x16emu.exe` either by double-clicking it, or from the co
* `-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.
* `-serial` makes accesses to the host filesystem go through the Serial Bus [experimental].
* `-nohostieee` disables IEEE API interception to access the host fs.
* `-prg` lets you specify a `.prg` file that gets injected into RAM after start.
* `-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!
* `-bas` lets you specify a BASIC program in ASCII format that automatically typed in (and tokenized).
* `-run` executes the application specified through `-prg` or `-bas` using `RUN` or `SYS`, depending on the load address.
* `-geos` launches GEOS at startup.
Expand Down
4 changes: 2 additions & 2 deletions src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -387,8 +387,8 @@ usage()
printf("\tIEEE API host fs is normally enabled unless -sdcard or\n");
printf("\t-serial is specified.\n");
printf("-prg <app.prg>[,<load_addr>]\n");
printf("\tLoad application from the local disk into RAM\n");
printf("\t(.PRG file with 2 byte start address header)\n");
printf("\tLoad application from the *host filesystem* into RAM,\n");
printf("\teven if an SD card is attached.\n");
printf("\tThe override load address is hex without a prefix.\n");
printf("-bas <app.txt>\n");
printf("\tInject a BASIC program in ASCII encoding through the\n");
Expand Down

0 comments on commit 796afd3

Please sign in to comment.