| 1 | /* FCE Ultra - NES/Famicom Emulator |
| 2 | * |
| 3 | * Copyright notice for this file: |
| 4 | * Copyright (C) 2002 Ben Parnell |
| 5 | * |
| 6 | * This program is free software; you can redistribute it and/or modify |
| 7 | * it under the terms of the GNU General Public License as published by |
| 8 | * the Free Software Foundation; either version 2 of the License, or |
| 9 | * (at your option) any later version. |
| 10 | * |
| 11 | * This program is distributed in the hope that it will be useful, |
| 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 14 | * GNU General Public License for more details. |
| 15 | * |
| 16 | * You should have received a copy of the GNU General Public License |
| 17 | * along with this program; if not, write to the Free Software |
| 18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
| 19 | */ |
| 20 | |
| 21 | void ShowUsage(char *prog) |
| 22 | { |
| 23 | printf("\nUsage is as follows:\n%s <options> filename\n\n",prog); |
| 24 | puts("Options:"); |
| 25 | puts(DriverUsage); |
| 26 | puts( |
| 27 | "-sound x Sound.\n\ |
| 28 | 0 = Disabled.\n\ |
| 29 | Otherwise, x = playback rate.\n\ |
| 30 | -showfps x Display fps counter if x is nonzero\n\ |
| 31 | -cpalette x Load a custom global palette from file x.\n\ |
| 32 | -ntsccol x Emulate an NTSC's TV's colors.\n\ |
| 33 | 0 = Disabled.\n\ |
| 34 | 1 = Enabled.\n\ |
| 35 | -pal Emulate a PAL NES.\n\ |
| 36 | -soundvol x Sound volume. x is an integral percentage value.\n\ |
| 37 | -inputx str Select device mapped to virtual input port x(1-2).\n\ |
| 38 | str may be: none, gamepad, zapper, powerpada, powerpadb,\n\ |
| 39 | arkanoid\n\ |
| 40 | -fcexp str Select Famicom expansion port device.\n\ |
| 41 | str may be: none, shadow, arkanoid, 4player, fkb\n\ |
| 42 | -nofs x Disables Four-Score emulation if x is 1.\n\ |
| 43 | -gg Enable Game Genie emulation.\n\ |
| 44 | -no8lim x Disables the 8 sprites per scanline limitation.\n\ |
| 45 | 0 = Limitation enabled.\n\ |
| 46 | 1 = Limitation disabled.\n\ |
| 47 | -subase x Save extra game data files under the base directory if enabled.\n\ |
| 48 | 0 = Disabled.\n\ |
| 49 | 1 = Enabled.\n\ |
| 50 | -snapname x Selects what type of file name snapshots will have.\n\ |
| 51 | 0 = Numeric(0.png)\n\ |
| 52 | 1 = File base and numeric(mario-0.png)\n\ |
| 53 | -nothrottle x Disable artificial speed throttling if x is non-zero.\n\ |
| 54 | -clipsides x Clip leftmost and rightmost 8 columns of pixels of video output.\n\ |
| 55 | 0 = No clipping.\n\ |
| 56 | 1 = Clipping.\n\ |
| 57 | -slstart x Set the first drawn emulated scanline. Valid values for x are\n\ |
| 58 | 0 through 239.\n\ |
| 59 | -slend x Set the last drawn emulated scanline. Valid values for x are\n\ |
| 60 | 0 through 239."); |
| 61 | } |