row 8 of keyboard (Emulation MSX Forum)MSX Resource Center               
              
English Nederlands Espa�ol Portugu�s Russian         
 News
   Frontpage
  News archive
  News topics

 Resources
   MSX Forum
  Articles
  Reviews
  Fair reports
  Photo shoots
  Fairs and meetings
  Polls
  Links
  Search

 Software
   Downloads
  Webshop

 MRC
   Who we are
  Join our team
  Donate
  Policies
  Contact us
  Link to Us
  Statistics

 Search
 
  

  

 Login
 

Username

Password




Don't you have an account yet? Become an MSX-friend and register an account now!.


 Statistics
 

There are 47 guests and 4 MSX friends online

You are an anonymous user.
 

MSX Forum


MSX Forum

Emulation - row 8 of keyboard

Goto page ( Previous Page 1 | 2 )
Author

row 8 of keyboard

flyguille
msx master
Posts: 1225
Posted: August 09 2008, 22:33   
I wrote a general description of the issue involved on programming a emulation of msx keyb, because I don't understand ¿what is the issue?
wouter_
msx novice
Posts: 20
Posted: August 10 2008, 10:12   
@flok: I checked the source code of your emulator. It seems you modify the keyboard matrix in the read_keyboard() function (when port #A9 is read). This is wrong, reading port #A9 only queries the current status, it doesn't change the matrix in any way. In your check_keyboard() function you should also listen to SDL_KEYUP events, only those events should clear keys from the keyboard matrix.

Feel free to join #openmsx on irc.freenode.net, to discuss this in more detail (or other emulator related topics).
AuroraMSX

msx master
Posts: 1262
Posted: August 10 2008, 11:12   
Quote:

Keep in mind that keyboard is scanned every INT by BIOS

Actually, the BIOS only scans the keyboard on every 3rd int.
flok
msx novice
Posts: 25
Posted: August 12 2008, 22:46   
bug fixed! it was acutally the button of the joystick being constantly pressed due to wrong joystick emulation
 
Goto page ( Previous Page 1 | 2 )
 







(c) 1994 - 2008 MSX Resource Center Foundation. MSX is a trademark of MSX Licensing Corporation.