/* FCE Ultra - NES/Famicom Emulator
 *
 * Copyright notice for this file:
 *  Copyright (C) 2002 Ben Parnell
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */

void ShowUsage(char *prog)
{
printf("\nUsage is as follows:\n%s <options> filename\n\n",prog);
puts("Options:\n\
-vmode x        Select video mode(all are 8 bpp).\n\
                 1 = 256x240                 5 = 640x480(\"1 per 4\")\n\
                 2 = 256x256                 6 = 256x224(with scanlines)\n\
                 3 = 256x256(with scanlines) 7 = 320x240\n\
		 4 = 640x480(with scanlines)\n\
-vsync x	Wait for the screen's vertical retrace before updating the\n\
		screen.  Refer to the documentation for caveats.\n\
		 0 = Disabled.\n\
		 1 = Enabled.\n\
-cpalette x     Load a custom global palette from file x.\n\
-ntsccol x      Emulate an NTSC's TV's colors.\n\
                 0 = Disabled.\n\
                 1 = Enabled.\n\
-pal            Emulate a PAL NES.\n\
-sound x	Sound.\n\
                 0 = Disabled.\n\
		 Otherwise, x = sample rate.\n\
-soundvol x	Sound volume. x is an integral percentage value.\n\
-sfragsize x	Set sound fragment size to 2^x samples.\n\
-snfrags x	Set number of sound fragments to x.\n\
-f8bit x	Force 8-bit sound.\n\
		 0 = Disabled.\n\
		 1 = Enabled.\n\
-inputx str	Select device mapped to virtual input port x(1-2).\n\
		 str may be: none, gamepad, zapper, powerpada, powerpadb,\n\
			     arkanoid\n\
-fcexp str	Select Famicom expansion port device.\n\
		 str may be: none, shadow, arkanoid, 4player, fkb\n\
-nofs x		Disables Four-Score emulation if x is 1.\n\
-joyx y 	Joystick mapped to virtual joystick x(1-4).\n\
		 0 = Disabled, reset configuration.\n\
		 Otherwise, y(1-inf) = joystick number.\n\
-gg             Enable Game Genie emulation.\n\
-no8lim x       Disables the 8 sprites per scanline limitation.\n\
                 0 = Limitation enabled.\n\
                 1 = Limitation disabled.\n\
-subase x       Save extra game data files under the base directory if enabled.\n\
                 0 = Disabled.\n\
		 1 = Enabled.\n\
-snapname x	Selects what type of file name snapshots will have.\n\
		 0 = Numeric(0.png)\n\
		 1 = File base and numeric(mario-0.png)\n\
-clipsides x	Clip leftmost and rightmost 8 columns of pixels of video output.\n\
                 0 = No clipping.\n\
                 1 = Clipping.\n\
-slstart x	Set the first drawn emulated scanline.  Valid values for x are\n\
	        0 through 239.\n\
-slend x	Set the last drawn emulated scanline.  Valid values for x are\n\
		0 through 239.");
#ifdef NETWORK
puts("-connect   s	Connect to server 's' for TCP/IP network play.\n\
-server         Be a host/server for TCP/IP network play.\n\
-netport x	Use TCP/IP port x for network play.");
#endif
}
