Autor Tema: weird bug found, related to OpenMSX (Linux) and MSXDEV'13 entries  (Leído 3426 veces)

0 Usuarios y 1 Visitante están viendo este tema.

nitrofurano

  • Karoshi Maniac
  • ****
  • Mensajes: 259
weird bug found, related to OpenMSX (Linux) and MSXDEV'13 entries
« en: 16 de Junio de 2013, 01:12:51 pm »
i don't know if it is a bug from OpenMSX (version 0.9.1 on Linux, Crunchbang "Jessie" and Lubuntu 13.10 ) emulator - from almost all entries from MSXDEV'13, the keyboard controlled sprites goes to the top left edge, while from http://www.boriel.com/forum/wishlist/download/file.php?id=74 ( http://www.boriel.com/forum/wishlist/started-msx-version-help-needed-as-well-t811-15.html?sid=38308af54375c6fd38fca7b3849b0de9 - a .rom file coded on Boriel's ZX-Basic Compiler ) we can move the sprite to all directions - and the keymap used from snsmat bios routine seems correct ( http://map.grauw.nl/articles/keymatrix.php )

weird is that those very popular Konami games (Nemesis, Majou Densetsu, etc.) are also behaving weirdly, just like MSXDEV'13 entries - i also tried on MESS emulator, which is behaving in the same way...

should i try other emulators on Linux? is this only happening to me? :S





theNestruo

  • Karoshi Lover
  • ***
  • Mensajes: 236
    • Email
Re: weird bug found, related to OpenMSX (Linux) and MSXDEV'13 entries
« Respuesta #1 en: 16 de Junio de 2013, 01:22:31 pm »
Maybe it's not a problem about keyboard emulation but joystick emulation.
Quick MSX-BASIC test:
10 SCREEN1,,0
20 LOCATE8,13:PRINTSTICK(0);STICK(1);STICK(2)
30 IFNOTSTRIG(0)GOTO20

If no joystick present you should see "... 0 0"
theNestruo."Old BASIC programmers never die; they GOSUB but never RETURN."

nitrofurano

  • Karoshi Maniac
  • ****
  • Mensajes: 259
Re: weird bug found, related to OpenMSX (Linux) and MSXDEV'13 entries
« Respuesta #2 en: 16 de Junio de 2013, 01:55:13 pm »
Maybe it's not a problem about keyboard emulation but joystick emulation.
Quick MSX-BASIC test:
10 SCREEN1,,0
20 LOCATE8,13:PRINTSTICK(0);STICK(1);STICK(2)
30 IFNOTSTRIG(0)GOTO20

If no joystick present you should see "... 0 0"

thanks!
from stick(0) it vary between 0 and 8 as expected - stick(1) is always 8, and stick(2) is 0
maybe is there some way to disable joystick somehow? since it is happening on both OpenMSX and MESS, and on both Lubuntu and Crunchbang, i imagine that is some kind of misconfiguration on some Linux config file or something like?


nitrofurano

  • Karoshi Maniac
  • ****
  • Mensajes: 259
Re: weird bug found, related to OpenMSX (Linux) and MSXDEV'13 entries
« Respuesta #3 en: 16 de Junio de 2013, 02:04:25 pm »
yes, on openmsx, opening the console with f10, and entering "unplug joyporta" does the task! thanks! :)