From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from relay3-d.mail.gandi.net ([217.70.183.195]) by ewsd; Tue Jan 28 00:39:21 EST 2020 X-Originating-IP: 185.198.110.254 Received: from [10.0.0.104] (unknown [185.198.110.254]) (Authenticated sender: rgl@antares-labs.eu) by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id 55F5C60003 for <9front@9front.org>; Tue, 28 Jan 2020 05:39:14 +0000 (UTC) Date: Tue, 28 Jan 2020 05:39:14 +0000 In-Reply-To: <20200127223455.GA27265@wopr> References: <7C9235B79BBCE8EC8B44C76CB45FC330@antares-labs.eu> <20200127223455.GA27265@wopr> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [9front] nintendo(1) improvements To: 9front@9front.org From: =?ISO-8859-1?Q?Rodrigo_G=2E_L=F3pez?= Message-ID: <36F4B30D-B04F-4A3B-A013-5FA66A81024E@antares-labs.eu> List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: immutable firewall-oriented DOM controller that's good input, thanks qwx! i'd like to add these changes in the afternoon=2E i'll contact you then=2E= :) On January 27, 2020 10:34:55 PM UTC, qwx wrote: >On Mon, Jan 27, 2020 at 10:34:37PM +0100, rgl@antares-labs=2Eeu wrote: >> is it OK to commit this? >>=20 >> -rodri > >Hello, > >Thanks for spotting that typo and making these additions=2E > >I'm not sure it's worth documenting the extra keys, but if we do,=20 >we have to do it for more than just the nintendo(1) emulators,=20 >since there's now a body of common code for these=2E > >These function keys should also work for 2600(1), sega(1) and >games/c64=2E > >If I may make some suggestions, should we decide to go through with >this: > >- F1 just pauses the game, you can either resume normal operation with >the >space key, or press F1 again to step 1 frame, other key presses are >ignored=2E >There's no real "framestep mode"=2E > >- to be more precise, F12 prints the emulation speed (ratio between the >expected and observed time it took to draw 60 frames), outside the >drawing area=2E > >- there's also 't', which toggles tracing of the entire emulation >for debugging=2E > >- ` is an unauthorized toggle, deemed dangerous and unsportsmanlike >by starfleet engineers=2E However, if you really must document it, >please state exactly what it does, all jokes aside: it uncaps the frame >rate and lets emulation go as fast as possible=2E And maybe mention in >BUGS that it is unadvisable and unsportsmanlike? Dunno=2E > >Just my 2 cents=2E > >Thanks! > >qwx > >> diff -r 287d82efe5f2 sys/man/1/nintendo >> --- a/sys/man/1/nintendo Mon Jan 13 23:22:35 2020 +0000 >> +++ b/sys/man/1/nintendo Mon Jan 27 22:30:13 2020 +0100 >> @@ -55,15 +55,25 @@ >> =2EI snes >> are emulators for the Nintendo Game Boy and Game Boy Color (GB and >GBC), Nintendo Game Boy Advance (GBA), Nintendo Entertainment System >(NES), and Super Nintendo Entertainment System (SNES)=2E >> They execute the romfile given as an argument=2E >> -The \fBz\fR, \fBx\fR, \fBa\fR, \fBs\fR, \fBq\fR, \fBw\fRreturn and >shift keys correspond to B, A, Y, X, L1, L2, Start and Select, >respectively=2E >> +The \fBz\fR, \fBx\fR, \fBa\fR, \fBs\fR, \fBq\fR, \fBw, \fRreturn and >shift keys correspond to B, A, Y, X, L1, L2, Start and Select, >respectively=2E >> Other keys: >> =2ETP >> +F1 >> +Enter framestep mode=2E Every key press will advance one video frame >at >> +a time until Esc is pressed=2E >> +=2ETP >> F5 >> Save the current state in \fBgb=2Esave\fR / \fBgba=2Esave\fR / >\fBnes=2Esave\fR / \fBsnes=2Esave\fR=2E >> =2ETP >> F6 >> Load the current state from \fBgb=2Esave\fR / \fBgba=2Esave\fR / >\fBnes=2Esave\fR / \fBsnes=2Esave\fR=2E >> =2ETP >> +F12 >> +Toggle the profiler=2E >> +=2ETP >> +` >> +Reach speeds no man has reached before=2E >> +=2ETP >> Esc >> Pause the emulator=2E >> =2ETP -rodri