Herramientas de usuario

Herramientas del sitio


joy2ps2_en

Diferencias

Muestra las diferencias entre dos versiones de la página.

Enlace a la vista de comparación

Ambos lados, revisión anteriorRevisión previa
Próxima revisión
Revisión previa
joy2ps2_en [2024/06/19 17:38] – [Mapa 1] spark2k06joy2ps2_en [2024/06/19 18:55] (actual) – [Listado de cores probados] spark2k06
Línea 32: Línea 32:
  
 Note: The combinations described are performed by pressing and releasing the buttons, not holding them down. Any change in direction resets the count of other actions: Note: The combinations described are performed by pressing and releasing the buttons, not holding them down. Any change in direction resets the count of other actions:
 +
 +  * Button 1 only: Switches cursor controls to OPQA and back on Joystick 1 (the main one).
 +[[https://dokuwiki.aitorgomez.net/doku.php?id=joy2ps2_en#keyboard_maps|Keyboard Maps]] 
 +  * Button 2 only: Cancels SHIFT mode. You can also cancel it by pressing the SHIFT combination again.
  
 {{:shiftmode_zxuno.png?800|}} {{:shiftmode_zxuno.png?800|}}
Línea 39: Línea 43:
 Below are the sequences for rebooting the ZXUno through the SHIFT mode: Below are the sequences for rebooting the ZXUno through the SHIFT mode:
  
-  * Down once, then button 1: Reset. Automatically switches to cursor mode +  * **Down once, then button 1**: Reset. Automatically switches to cursor mode 
-  * Down twice, then button 1: MasterReset. Automatically switches to cursor mode. +  * **Down twice, then button 1**: MasterReset. Automatically switches to cursor mode. 
-  * Down three times, then button 1: MasterReset and access to ROMs. Automatically switches to cursor mode. +  * **Down three times, then button 1**: MasterReset and access to ROMs. Automatically switches to cursor mode. 
-  * Down four times, then button 1: MasterReset and access to cores. Automatically switches to cursor mode. +  * **Down four times, then button 1**: MasterReset and access to cores. Automatically switches to cursor mode. 
-  * Down five times, then button 1: MasterReset and access to BIOS. Automatically switches to cursor mode. +  * **Down five times, then button 1**: MasterReset and access to BIOS. Automatically switches to cursor mode. 
-  * Down six or more times, then button 1: Continues with the option of five times.+  * **Down six or more times, then button 1**: Continues with the option of five times.
  
 ===== Game Menu ===== ===== Game Menu =====
Línea 50: Línea 54:
 The following sequences enable navigating the game menu using SHIFT mode: The following sequences enable navigating the game menu using SHIFT mode:
  
-  * Up once, then button 1: Triggers the 'R' key. +  * **Up once, then button 1**: Triggers the 'R' key. 
-  * Up twice, then button 1: Triggers the '0' key. +  * **Up twice, then button 1**: Triggers the '0' key. 
-  * Repeat up followed by button 1: Continues sequentially from '1' to '9', where it holds.+  * **Repeat up followed by button 1**: Continues sequentially from '1' to '9', where it holds.
  
 ===== Game Loader ===== ===== Game Loader =====
Línea 58: Línea 62:
 Use the following sequences in SHIFT mode to load games: Use the following sequences in SHIFT mode to load games:
  
-  * Right once, then button 1: Activates the NMI. +  * **Right once, then button 1**: Activates the NMI. 
-  * Right twice, then button 1: Executes the 'LOAD ""' keys (128k mode). +  * **Right twice, then button 1**: Executes the 'LOAD ""' keys (128k mode). 
-  * Right three times, then button 1: Executes the 'J ""' keys (load"" in 48k mode). +  * **Right three times, then button 1**: Executes the 'J ""' keys (load"" in 48k mode). 
-  * Right four times and subsequent: Continues with the option from three times.+  * **Right four times and subsequent**: Continues with the option from three times.
  
 ===== Extra Functions ===== ===== Extra Functions =====
Línea 67: Línea 71:
 The following functions can be activated in SHIFT mode using the sequences described: The following functions can be activated in SHIFT mode using the sequences described:
  
-  * Left once, then button 1: Activates Keyboard Mode (details below). +  * **Left once, then button 1**: Activates Keyboard Mode (details below). 
-  * Left twice, then button 1: Executes the Escape function (useful for single-button joysticks, used in conjunction with the Keymapper button as shift). +  * **Left twice, then button 1**: Executes the Escape function (useful for single-button joysticks, used in conjunction with the Keymapper button as shift). 
-  * Left three times, then button 1 for player 1 or 2: Changes the keyboard map for the corresponding player (see details of available maps below). +  * **Left three times, then button 1 for player 1 or 2**: Changes the keyboard map for the corresponding player (see details of available maps below). 
-  * Left four times, then button 1: Changes video mode (Scroll / Lock). +  * **Left four times, then button 1**: Changes video mode (Scroll / Lock). 
-  * Left five times and subsequent: Continues with the video mode option.+  * **Left five times and subsequent**: Continues with the video mode option.
  
 ===== Switching between DB15/DB9 and DB9x2 ===== ===== Switching between DB15/DB9 and DB9x2 =====
Línea 85: Línea 89:
 From release 3, the half-clock and clock times for sending Scancodes on the ZXUno, after a cold or warm reboot, comply with the standards of a real keyboard, being 16 and 32 microseconds respectively. From release 3, the half-clock and clock times for sending Scancodes on the ZXUno, after a cold or warm reboot, comply with the standards of a real keyboard, being 16 and 32 microseconds respectively.
  
-  * In SHIFT mode, holding Start and pressing UP: Decreases the times in multiples of four, to a minimum of 4 and 8 microseconds. +  * **In SHIFT mode, holding Start and pressing UP**: Decreases the times in multiples of four, to a minimum of 4 and 8 microseconds. 
-  * In SHIFT mode, holding Start and pressing DOWN: Increases the times in multiples of four, to a maximum of 16 and 32 microseconds.+  * **In SHIFT mode, holding Start and pressing DOWN**: Increases the times in multiples of four, to a maximum of 16 and 32 microseconds.
  
 ===== Host Command Listening Enable / Disable ===== ===== Host Command Listening Enable / Disable =====
Línea 92: Línea 96:
 From release 5, the host command listening function on the ZXUno is disabled by default and after any reboot, whether cold or warm. From release 5, the host command listening function on the ZXUno is disabled by default and after any reboot, whether cold or warm.
  
-  * To enable listening: In SHIFT mode, press and hold button 1, then press the right key. +  * **To enable listening**: In SHIFT mode, press and hold button 1, then press the right key. 
-  * To disable listening: In SHIFT mode, press and hold button 1, then press the left key. +  * **To disable listening**: In SHIFT mode, press and hold button 1, then press the left key. 
-  * To keep listening enabled temporarily: Stay in SHIFT mode. Listening will automatically disable after the keyboard initialization."+  * **To keep listening enabled temporarily**: Stay in SHIFT mode. Listening will automatically disable after the keyboard initialization."
  
 ====== Keyboard Mode (KEYSTROKES) ====== ====== Keyboard Mode (KEYSTROKES) ======
Línea 100: Línea 104:
 This mode allows direct interaction with the keyboard through the following commands: This mode allows direct interaction with the keyboard through the following commands:
  
-  * Up: Changes to the next key and prints the character on the screen. +  * **Up**: Changes to the next key and prints the character on the screen. 
-  * Down: Changes to the previous key and prints the character on the screen. +  * **Down**: Changes to the previous key and prints the character on the screen. 
-  * Left: Deletes the previous character. +  * **Left**: Deletes the previous character. 
-  * Right: Accepts the current character or inserts a space. +  * **Right**: Accepts the current character or inserts a space. 
-  * Button 1: Switches to the key corresponding to the right shift key (for typing uppercase letters or special characters). +  * **Button 1**: Switches to the key corresponding to the right shift key (for typing uppercase letters or special characters). 
-  * Button 2: Functions as the Enter key. +  * **Button 2**: Functions as the Enter key. 
-  * To exit the mode: Enter SHIFT mode and choose another option, or exit SHIFT mode if already inside.+  * **To exit the mode**: Enter SHIFT mode and choose another option, or exit SHIFT mode if already inside.
  
 [[https://youtu.be/Av-fX18Ev8M|Hello World' Example in Keyboard Mode]] [[https://youtu.be/Av-fX18Ev8M|Hello World' Example in Keyboard Mode]]
Línea 116: Línea 120:
 For updates from the command line in OpenBSD or Linux, use avrdude with the appropriate parameters. For updates from the command line in OpenBSD or Linux, use avrdude with the appropriate parameters.
  
-  * OpenBSD:+  * **OpenBSD**:
  
 <code bash> <code bash>
Línea 124: Línea 128:
 The parameter /dev/cuaU0 may change to /dev/cuaU1, /dev/cuaU2, etc., depending on the connected serial devices. The parameter /dev/cuaU0 may change to /dev/cuaU1, /dev/cuaU2, etc., depending on the connected serial devices.
  
-  * Linux:+  * **Linux**:
  
 The setup is similar, but the device might be /dev/ttyUSB0, /dev/ttyACM0, etc., depending on how it is identified in the system. The setup is similar, but the device might be /dev/ttyUSB0, /dev/ttyACM0, etc., depending on how it is identified in the system.
Línea 144: Línea 148:
 {{:mapa1.png?400|}} {{:mapa1.png?400|}}
  
-===== Mapa 2 =====+===== Map 2 =====
  
-(Teclas por defecto de M.A.M.E)+(Default M.A.M.E keys)
  
 {{:mapa2.png?600|}} {{:mapa2.png?600|}}
  
-====== Listado de cores probados ====== +====== List of Tested Cores ======
- +
-A continuación se muestra un listado de cores en los que se ha probado la interfaz.+
  
-[[http://www.zxuno.com/forum/viewforum.php?f=13|Enlace a Spectrum]]+[[http://www.zxuno.com/forum/viewforum.php?f=13|Link to Spectrum]]
  
-[[http://www.zxuno.com/forum/viewforum.php?f=37|Enlace a otros]]+[[http://www.zxuno.com/forum/viewforum.php?f=37|Link to others]]
  
   * Spectrum   * Spectrum
   * Amstrad CPC   * Amstrad CPC
   * BBC Micro   * BBC Micro
-  * Atari 2600 ([[http://www.zxuno.com/forum/viewtopic.php?f=48&t=1378|Versión compatible con teclado]]) +  * Atari 2600 ([[http://www.zxuno.com/forum/viewtopic.php?f=48&t=1378|Keyboard compatible version]]) 
-  * NES ([[http://www.zxuno.com/forum/viewtopic.php?f=63&p=17554#p17554|Versión compatible con teclado]])+  * NES ([[http://www.zxuno.com/forum/viewtopic.php?f=63&p=17554#p17554|Keyboard compatible version]])
   * Atari 800 XL   * Atari 800 XL
   * Kyp Spectrum   * Kyp Spectrum
Línea 171: Línea 173:
   * Acorn Atom   * Acorn Atom
   * TBBlue (Next)   * TBBlue (Next)
-  * PC/XT (Desde la release 2) +  * PC/XT (From release 2) 
-  * Apple II (resintetizando core con CLK y DATA como PULLUP, [[http://www.zxuno.com/forum/download/file.php?id=1344|Descarga aquí]]) +  * Apple II (resynthesizing core with CLK and DATA as PULLUP, [[http://www.zxuno.com/forum/download/file.php?id=1344|Download here]]) 
-  * VIC-20 (resintetizando core con CLK y DATA como PULLUP, [[http://www.zxuno.com/forum/download/file.php?id=1346|Descarga aquí]]) +  * VIC-20 (resynthesizing core with CLK and DATA as PULLUP, [[http://www.zxuno.com/forum/download/file.php?id=1346|Download here]]) 
-  * Oric Atmos (resintetizando core con CLK y DATA como PULLUP, [[http://www.zxuno.com/forum/download/file.php?id=1345|Descarga aquí]]) +  * Oric Atmos (resynthesizing core with CLK and DATA as PULLUP, [[http://www.zxuno.com/forum/download/file.php?id=1345|Download here]]) 
-  * C64 beta 7 (resintetizando core con CLK y DATA como PULLUP, [[http://www.zxuno.com/forum/download/file.php?id=1349|Descarga aquí]])+  * C64 beta 7 (resynthesizing core with CLK and DATA as PULLUP, [[http://www.zxuno.com/forum/download/file.php?id=1349|Download here]])
   * MSX1   * MSX1
-  * Sega Master System (Desde release 4, y de momento sólo el primer jugador) +  * Sega Master System (From release 4, currently only for the first player) 
-  * Arcade: Phoenix, Pacman, Galaxian, Frogger, Invaders, Scramble, Galaga (Desde release 4) +  * Arcade: Phoenix, Pacman, Galaxian, Frogger, Invaders, Scramble, Galaga (From release 4) 
-====== Versión actual ======+====== Current version ======
  
   * [[https://github.com/spark2k06/zxuno/raw/master/joy2ps2|Release 7]]   * [[https://github.com/spark2k06/zxuno/raw/master/joy2ps2|Release 7]]
Línea 185: Línea 187:
  
  
-====== Agradecimientos ======+====== Acknowledgments ======
  
-Por último, agradecer a todos aquellos que de una manera u otra han contribuido a que este proyecto sea una realidad:+Lastly, we would like to thank everyone who, in one way or another, has contributed to making this project a reality::
  
 [[http://zxuno.speccy.org/|ZXUno]] [[http://zxuno.speccy.org/|ZXUno]]
  
-[[https://twitter.com/ZXUno|Equipo ZXUno]]+[[https://twitter.com/ZXUno|ZXUno Team]]
  
-[[http://www.zxuno.com/forum/|Comunidad ZXUno]]+[[http://www.zxuno.com/forum/|ZXUno Community]]
  
 [[https://twitter.com/mejias3d|Jorge Mejias Cazorla (Mejias3D)]] [[https://twitter.com/mejias3d|Jorge Mejias Cazorla (Mejias3D)]]
Línea 207: Línea 209:
 [[https://twitter.com/yombo|Juanjo Luna (Yombo)]] [[https://twitter.com/yombo|Juanjo Luna (Yombo)]]
  
-[[http://denki.world3.net/arcade.html|Retro Adapter]]+[[http://denki.world3.net/arcade.html|Retro Adapter]] (broken link)
  
-[[https://github.com/dkudrow/arduino/tree/master/PS2Emu|PS2Emu de Dani]]+[[https://github.com/dkudrow/arduino/tree/master/PS2Emu|Dani's PS2Emu]]
  
  
-====== FAQ ======+====== Frequently Asked Questions (FAQ) ======
  
-**Tengo un gamepad de Megadrive de 6 botones, reconoce todos o sólo 2 como en el conector DB9 del ZXUno?**+**Does my 6-button Megadrive gamepad fully work or only some buttons as with the ZXUno's DB9 connector?**
  
-Reconoce todos, se encontrarán mapeados a las teclas del mapa que se tenga configurado. Además, también funcionará el botón de Start y el botón de Mode para aquellos gamepads de Megadrive que dispongan del mismo.+All buttons are recognized and will be mapped according to the configured key map. The Start and Mode buttons will also work for those Megadrive gamepads that include them.
  
-**Se puede jugar a 2 jugadores? Si se estan pulsando teclas correspondientes al primer jugador...**+**Is it possible to play with 2 players? What happens if keys from the first player are pressed?**
  
-Por supuesto. Nada mas conectarlo, la interfaz se encuentra configurada para ser utilizada únicamente desde el puerto DB9 principal o el DB15 (Neogeo), si se utiliza el DB9 auxiliar (segundo jugador), se pulsarán teclas asociadas a los últimos botones del DB15 porque comparten pines. Solo hay que cambiar previamente a modo DB9x2 con la secuencia correspondiente estando en modo SHIFT.+Yes, it is possible. Upon connection, the interface is configured to be used from the main DB9 port or DB15 (Neogeo). If the auxiliary DB9 port (second player) is used, keys associated with the last buttons of DB15 will be activated due to shared pins. To use two players, switch to DB9x2 mode using the corresponding sequence in SHIFT mode.
  
-**Desde el menu de cores he seleccionado un core con distinto modo de vídeo al que tengo por defecto configurado en la BIOS. Sin un teclado físico conectado, cómo lo cambio?**+**I selected a core with a different video mode than the one set by default in the BIOS from the core menu. How can I change it without a connected physical keyboard?**
  
-Existe una secuencia de cambio de modo de vídeo estando en modo SHIFT, revisa la sección de combinaciones del modo SHIFT en esta misma wiki.+There is a sequence to change the video mode while in SHIFT mode. Refer to the SHIFT mode combination section in this wiki for details.
  
-**Hay un juego que no puedo comenzar porque no existe un atajo que mapee la tecla que pide en el menú de opciones, qué hago?**+**I found a game that I can't start because a mapping for a required key in the options menu is missing, what can I do?**
  
-En el firmware se ha tenido en cuenta las teclas mas comunes en los menús de los juegos de ordenador, como son de 0 a 4 y la R para redefinir. Si vemos que son necesarias otras teclas, se pueden incluir en una versión actualizada del firmware, pídelo y se buscará la mejor opción si realmente es muy común... porque siempre hay que tratar de mantener la usabilidad de la interfaz.+The firmware includes the most common keys used in computer game menus, from '0' to '4' and 'R' to redefine. If other keys are needed, they can be requested to be included in a firmware update.
  
-**Los mapeados de teclas no se ajustan a las necesidades de un determinado core o juego, hay solución para ello?**+**The key mappings do not meet the needs of a specific core or game, is there a solution?**
  
-Nuevamente, desde el firmware todo o casi todo es posible. Y en cuanto a cores, lo ideal sería seguir una misma norma y no utilizar distintas teclas. Por defecto en la interfaz se ha tratado de elegir las teclas más comunes, aunque se podría revisar, si está justificado.+The firmware can be almost completely adjusted to meet needs. Ideally, cores should follow a uniform standard regarding key use. The most common keys are selected by default, although it can be reviewed and adjusted if justified.
  
-**No me gusta la disposición de secuencias del modo SHIFT o el modo SHIFT en sí, yo lo haría de otra forma.**+**I disagree with the layout of SHIFT mode sequences, are there alternatives?**
  
-Es totalmente normal no estar de acuerdo con las secuencias del firmware oficial, cada uno puede tener sus preferencias. Se podría debatir entre todos los usuarios de la interfaz cuales son las combinaciones ideales y hacer un firmware alternativo al oficial (firmware de la comunidad), no hay problema. O bien si dispones de conocimientos de programación, modificarlo tú mismo a tu gusto ya que los fuentes están a disposición de todos ;-)+It's normal to have different preferences regarding the official firmware sequences. Users can debate and decide on the ideal combinations to develop an alternative firmware. Also, if you have programming skills, you can modify the firmware to your liking as the source codes are available to everyone.
  
-**Cuando conecto un teclado externo se repiten pulsaciones de teclas al utilizar el gamepad.**+**When I connect an external keyboard, key presses repeat when using the gamepad.**
  
-Es debido a que el teclado externo dispone de escucha activa de comandos, y ello puede interferir en la comunicación al compartir CLK/DATA del conector PS/2. Existe una solución colocando un diodo en la linea DATA con el cátodo hacia el teclado externo, para mas información:+This can happen because the external keyboard has active command listening, which can interfere with communication by sharing the CLK/DATA pins of the PS/2 connector. One solution is to place a diode on the DATA line with the cathode towards the external keyboard. For more information, visit this link:
  
 http://www.zxuno.com/forum/viewtopic.php?f=63&t=1804 http://www.zxuno.com/forum/viewtopic.php?f=63&t=1804
  
-No obstante, Joy2PS2 nació con el objetivo de que fuera totalmente prescindible un teclado externo gracias a sus atajos multicore en ZXUno, para utilizar por ejemplo en maquinas arcade tipo bartop. Sin embargo con un teclado conectado la experiencia final de usuario puede ser mejor, siendo la solución del diodo la mejor encontrada hasta el momento.+Although Joy2PS2 was designed to operate without the need for an external keyboard, especially in setups like bartop arcade machines, using a keyboard can enhance the user experience.
  
  
  
joy2ps2_en.1718818724.txt.gz · Última modificación: 2024/06/19 17:38 por spark2k06