diff --git a/README.md b/README.md index 9b5b107..3f813c1 100644 --- a/README.md +++ b/README.md @@ -83,6 +83,7 @@ When starting `x16emu` without arguments, it will pick up the system ROM (`rom.b * `-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. The override load address is hex without a prefix. * `-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`. +* `-test ` runs the specified unit test on startup. * `-scale {1|2|3|4}` scales video output to an integer multiple of 640x480 * `-quality {nearest|linear|best}` change image scaling algorithm quality * `nearest`: nearest pixel sampling @@ -136,8 +137,12 @@ When starting `x16emu` without arguments, it will pick up the system ROM (`rom.b * `-version` prints additional version information of the emulator and ROM. * `-c02` selects the 65C02 CPU (default). * `-c816` selects the 65C816 CPU (experimental). +* `-gs` selects GS mode (24-bit addressable RAM, 65C816 CPU). * `-rockwell` when used while running with the 65C02 CPU, suppresses the console warning emitted on the first occurence when executing a Rockwell instruction. These are the SMBx, RMBx, BBRx, and BBSx instructions. Since these instructions are not supported on the 65C816 processor, such a program using them would not run properly on the 65C816. * `-longpwron` Simulate a long press of the power button at system power-on. +* `-midicard [
]` installs a serial MIDI card at the specified address, or at $9F60 by default. The `-sf2` option must be specified along with this option. +* `-sf2 ` initializes the MIDI synth with the specified SoundFont. The `-midicard` option must be specified along with this option. +* `-midi-in` connects the system MIDI input devices to the input of the first UART of the emulated MIDI card. The `-midicard` option is required for this option to have any effect. * When compiled with `#define TRACE`, `-trace` will enable an instruction trace on stdout. Run `x16emu -h` to see all command line options. diff --git a/src/main.c b/src/main.c index efa94eb..1a7880f 100644 --- a/src/main.c +++ b/src/main.c @@ -444,6 +444,8 @@ usage() printf("\tkeyboard.\n"); printf("-run\n"); printf("\tStart the -prg/-bas program using RUN\n"); + printf("-test \n"); + printf("\tRun the specified unit test on startup.\n"); printf("-warp\n"); printf("\tEnable warp mode, run emulator as fast as possible.\n"); printf("-pastewarp\n"); @@ -532,6 +534,8 @@ usage() printf("-c816\n"); printf("\tRun the emulator under an emulated 65C816\n"); printf("\tThis option is experimental.\n"); + printf("-gs\n"); + printf("\tRun the emulator in GS mode (24-bit addressable RAM, 65C816 CPU).\n"); printf("-rockwell\n"); printf("\tSuppress warning emitted when encountering a Rockwell extension on the 65C02\n"); printf("-longpwron\n");