plan9fox/sys/man/1/nintendo
2014-11-11 14:57:45 -05:00

129 lines
2.8 KiB
Plaintext

.TH NINTENDO 1
.SH NAME
gb, gba, nes, snes \- emulators
.SH SYNOPSIS
.B games/gb
[
.B -23a
]
.I romfile
.br
.B games/gba
[
.B -23aT
] [
.B -b
.I biosfile
] [
.B -s
.I savetype
]
.I romfile
.br
.B games/nes
[
.B -23aos
]
.I romfile
.br
.B games/snes
[
.B -23ahmsT
]
.I romfile
.SH DESCRIPTION
.I Gb,
.I gba,
.I nes
and
.I snes
are emulators for the Nintendo Game Boy (GB), Nintendo Game Boy Advance (GBA), Nintendo Entertainment System (NES) and Super Nintendo Entertainment System (SNES).
They execute the romfile given as an argument.
The \fBz\fR, \fBx\fR, \fBa\fR, \fBs\fR, return and shift keys correspond to B, A, Y, X, Start and Select, respectively.
Other keys:
.TP
F5
Save the current state in \fBgb.save\fR / \fBgba.save\fR / \fBnes.save\fR / \fBsnes.save\fR.
.TP
F6
Load the current state from \fBgb.save\fR / \fBgba.save\fR / \fBnes.save\fR / \fBsnes.save\fR.
.TP
Esc
Pause the emulator.
.TP
Del
Exit the emulator.
.PP
Command line options:
.TP
.B -2 -3
Scale the screen by the given factor.
.TP
.B -a
Enable audio output.
.PP
.B gba
options:
.TP
.B -b
Location of the GBA BIOS file (required to operate the emulator). Default is \fB/sys/games/lib/gbabios.bin\fR.
.TP
.B -s
Save format used by the original game. Valid formats are: eeprom4, eeprom64, sram256, flash512, flash1024. The number corresponds to the size, in kilobits, of the save file. By default, the emulator attempts to automatically detect the save format, but does not always succeed.
.TP
.B -T
Display percentage of how fast the system is running relative to a real GBA.
.PP
.B nes
options:
.TP
.B -o
Hide the top and bottom eight pixels (overscan area), like a real television would.
.TP
.B -s
Save contents of battery backed SRAM (used by some games for savegames) as a file (\fIgb\fR and \fIsnes\fR automatically detect if this is needed).
.PP
.B snes
options:
.TP
.B -h
Override HiROM/LoROM detection:
.B -h
sets LoROM,
.B -hh
sets HiROM.
.TP
.B -m
Enable mouse emulation using system mouse. Mouse button 1 (left button) engages the SNES left mouse button. Mouse button 3 (right button) engages the SNES right mouse button. Holding down mouse button 2 (middle button) disengages the SNES mouse entirely so that the Plan 9 cursor offset can be adjusted to align with the SNES cursor.
.TP
.B -T
Display percentage of how fast the system is running relative to a real SNES.
.SH SOURCE
.B /sys/src/games/gb
.br
.B /sys/src/games/nes
.br
.B /sys/src/games/snes
.SH BUGS
You bet!
.br
SRAM saving on the NES only functions when the
.B -s
option is used.
.br
The SNES horizontal hires mode is supported only with
.B -2
scaling.
.SH HISTORY
.I Gb
first appeared in 9front (April, 2012).
.br
.I Gba
first appeared in 9front (September, 2014).
.br
.I Nes
first appeared in 9front (February, 2014).
.br
.I Snes
first appeared in 9front (March, 2014).