Karoshi MSX Community
05 de Julio de 2021, 01:12:24 pm *
Bienvenido(a), Visitante. Por favor, ingresa o regístrate.

Ingresar con nombre de usuario, contraseña y duración de la sesión
Noticias:
 
   Inicio   Ayuda Buscar Ingresar Registrarse  
Páginas: [1]
  Imprimir  
Autor Tema: weird bug found, related to OpenMSX (Linux) and MSXDEV'13 entries  (Leído 3862 veces)
0 Usuarios y 1 Visitante están viendo este tema.
nitrofurano
Karoshi Maniac
****
Mensajes: 259



WWW
« : 16 de Junio de 2013, 12: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




En línea
theNestruo
Karoshi Lover
***
Mensajes: 236


Email
« Respuesta #1 : 16 de Junio de 2013, 12: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"
En línea

theNestruo."Old BASIC programmers never die; they GOSUB but never RETURN."
nitrofurano
Karoshi Maniac
****
Mensajes: 259



WWW
« Respuesta #2 : 16 de Junio de 2013, 12: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?

En línea
nitrofurano
Karoshi Maniac
****
Mensajes: 259



WWW
« Respuesta #3 : 16 de Junio de 2013, 01:04:25 pm »

yes, on openmsx, opening the console with f10, and entering "unplug joyporta" does the task! thanks! Smiley
En línea
Páginas: [1]
  Imprimir  
 
Ir a:  

Impulsado por MySQL Impulsado por PHP Powered by SMF 1.1.21 | SMF © 2013, Simple Machines XHTML 1.0 válido! CSS válido!