[go: up one dir, main page]

Menu

#2039 Atari CX21 Keypad incompatible with real hardware

v3.7
closed-fixed
gpz
None
MacOS X
2024-06-16
2024-06-10
No

There are two incompatibilities with the CX-21 implementation in Vice compared to real hardware. I've tested it with a Video Touch Pad, which is a CX-21 in a different case. This does work with Star Raiders on the Atari 2600.

  1. The left and right columns are swapped.
  2. For the columns that are read through POTX/POTY, the keys appear pressed when not pressed and vice versa.

The Vice test program agrees with the Vice implementation and does not work on real hardware. The attached version of Joyride works with the real hardware and clearly shows the problem when run in Vice. (Select Keypad (Atari CX21) for control port 1, then press F2 and then F3 until Atari CX-21 is shown in the program.)

1 Attachments

Discussion

  • Dieter Baron

    Dieter Baron - 2024-06-13

    I've provided a fix in patch #372

     
  • gpz

    gpz - 2024-06-15

    fixed in r45189 (via #372)

     
  • gpz

    gpz - 2024-06-15
    • status: open --> closed-fixed
    • assigned_to: gpz
     
  • gpz

    gpz - 2024-06-15

    BTW are you sure the swapped columns are actually caused by wrong implementation in VICE - and not simply by messed up keymaps? eg in the german keymap it looks like the keypad is always mapped positional, even with a symbolic keymap (which is the default)

     
  • Dieter Baron

    Dieter Baron - 2024-06-16

    Yes, I'm sure:

    I've tested the Vice test program for the CX-21 with real hardware and Vice without my fix, and it worked in Vice but not on real hardware.

    I've double checked the key mapping (and even tweaked it since some keys didn't work on my keyboard).

    It now behaves consistently across all keypads in Vice with my fixes, and works with my program.

    I've verified my fixes and the implementation of my program with available real hardware, originial driver software, and documentation; for each keypad, I have at least one of the three.

     
  • gpz

    gpz - 2024-06-16

    That is good to hear, i will try to fix that test program then :)

     
  • gpz

    gpz - 2024-06-16

    I updated cx21-c64.prg in the test repo - would be great if you could check it on real hw

     

Log in to post a comment.