arne-cl / frodo-wii

Automatically exported from code.google.com/p/frodo-wii
GNU General Public License v2.0
0 stars 0 forks source link

Keyboard problem #17

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
My version of Stunt Car Racer starts with a trainer, which asks some 
questions to be answered with a keypress on Y or N. 

When I use the built-in keyboard and press N (or binds the letter N to a 
joypad direction), nothing happens. But if I then attach a prg.file (Start-
method) and chooses to continue the emulator without resetting, the 
keypress gets accepted.

Version affected: Wii, C64 network v. 1

Original issue reported on code.google.com by pete...@gmail.com on 12 Mar 2010 at 4:01

GoogleCodeExporter commented 9 years ago
OK, interesting. Could you mail me your stunt car racer version so that I can 
test 
it here (simon.kagstrom@gmail.com)?

Could you also try to just use the virtual keyboard on the blue startup screen 
and 
see if you can type N/Y?

The reason "Start" works is because it "types in" the C64 Load sequence, i.e.,

LOAD "*",8,1
RUN

So you'll get a N there at the end. Nice workaround by the way :-)

Original comment by simon.ka...@gmail.com on 12 Mar 2010 at 4:41

GoogleCodeExporter commented 9 years ago
Ha ha, yeah - nice workaround :-)

I have attached the version of Stunt Car Racer, that gave me the problem.

(I also had similar problems with another game - I think it was Montezuma's 
Revenge)

Original comment by pete...@gmail.com on 12 Mar 2010 at 6:11

Attachments:

GoogleCodeExporter commented 9 years ago
Oops. I forgot to test using the virtural keyboard in Basic. If I type N, the 
emulator translates it to LOAD [ENTER] - so I think that isolates the problem 
:-)

Original comment by pete...@gmail.com on 12 Mar 2010 at 6:16

GoogleCodeExporter commented 9 years ago
I've committed a fix for this now. The problem only occurs when using the 
joystick 
to select keys on the virtual keyboard (I had tested it using the arrow keys on 
the physical keyboard).

The problem is that select also acts as fire, so you'll get double input (you 
can 
test by holding fire while pressing N on the physical keyboard).

The fix simply disallows joystick input for the C64 when the virtual keyboard 
or 
the menu is active (probably sane to do anyway). I've attached an (untested) 
Wii 
build if you want to test it.

Original comment by simon.ka...@gmail.com on 13 Mar 2010 at 7:08

GoogleCodeExporter commented 9 years ago
I did not have the chance to test the newest RC until now - and I can confirm 
the 
problem is solved. Thanks! 

- Unfortunately the first RC seemed to had trashed my SD-card. Formatting the 
card 
and finding all the homebrew programs, emulators and ROM files again wasn't the 
funniest experience this week... Well, maybe I should learn the meaning of the 
word "Backup".

Original comment by pete...@gmail.com on 17 Mar 2010 at 3:33

GoogleCodeExporter commented 9 years ago
Yes, this was apparently caused by the old libfat which was used to build the 
first 
version. The new devkitPPC / libfat combination seems to fix the corruption 
issue.

t backup
1 definition found

From WordNet (r) 3.0 (2006) [wn]:

  backup
      n 1: an accumulation caused by clogging or a stoppage; "a
           traffic backup on the main street"; "he discovered a backup
           in the toilet"
      2: someone who takes the place of another (as when things get
         dangerous or difficult); "the star had a stand-in for
         dangerous scenes"; "we need extra employees for summer fill-
         ins" [syn: {stand-in}, {substitute}, {relief}, {reliever},
         {backup}, {backup man}, {fill-in}]
      3: a musical part (vocal or instrumental) that supports or
         provides background for other musical parts [syn:
         {accompaniment}, {musical accompaniment}, {backup},
         {support}]
      4: (computer science) a copy of a file or directory on a
         separate storage device; "he made a backup in case the
         original was accidentally damaged or erased" [syn: {backup},
         {computer backup}]
      5: the act of providing approval and support; "his vigorous
         backing of the conservatives got him in trouble with
         progressives" [syn: {backing}, {backup}, {championship},
         {patronage}]

;-)

Original comment by simon.ka...@gmail.com on 18 Mar 2010 at 8:39