Menu

#929 x64dtv remembers not Userport Joystick adapter

v3.6
closed-fixed
nobody
None
x64dtv
2021-12-30
2017-08-24
MIRKOSOFT
No

I was configuring x64dtv and set Userport joystick adapter to Hummer, then selected joystick and saved settings. When I tried to verify after new x64dtv start, adapter remembers not - maybe it is only visible status and really works, but I'm writing about it as bug 'cause long time has same problem x128 with network settings...
Miro

Discussion

  • compyx

    compyx - 2017-08-25

    Confirmed, the dropdown list is empty when restarting. Appears to work on SDL2 (linux) and Gtk2. This will have to wait until the Gtk3 UI advances to the point where the dialog/widget for those settings is being implemented.

     
  • compyx

    compyx - 2018-05-06

    What exactly is this bug about? I can't set the userport joystick adapter in either Gtk2 or Gtk3 to Hummer. And I get a warning:
    Warning - Trying to read value from unknown resource 'UserportJoyType'
    However setting the userport joystick to 'numpad', 'keyset A/B' or 'Analog 0-5' works fine.

     
  • gpz

    gpz - 2018-05-06

    perhaps it is about i/o extensions->hummer adc?

     
  • compyx

    compyx - 2018-05-06

    I suspect it is, but even when I enable 'Hummer ADC', I don't see any 'Hummer' in any list of adapters/joysticks. Not in Gtk2 or Gtk3. So does the Hummer provide some kind of joystick interface? In that case the list of joystick devices/adapters needs to be updated depending on the 'HummerADC' resource.

     
  • gpz

    gpz - 2018-05-06

    iirc the hummer had a steering wheel, and it was connected to the userport. but i have no idea how it works exactly or how it is emulated

     
    • MIRKOSOFT

      MIRKOSOFT - 2018-05-06

      I tested longer time not nightly builds, so it's valid at least month ago, maybe it was solved yet.
      If not I wrote what I tried,
      Miro

       

      Last edit: gpz 2020-10-11
  • Greg King

    Greg King - 2018-05-07

    Racing games need a way for us to tell a car when to go and when to stop. The Hummer DTV must have digital input controls for that.

    The WinVICE UI merges the "enable userport joysticks" toggle into the "adapter type" combobox (the x64dtv choices are "no adapter" and "Hummer adapter").

    User-port code was factored out into its own directory. The init. code knows that the x64dtv supports only one type of joystick adapter; therefore, the UserportJoyType resource isn't defined. (But, that code doesn't know that the CBM5x0 and VSID don't support any adapters.)

    Some UI code knows; but, still doesn't act properly. For example, the GTK3 x64dtv doesn't show the "adapter type" combobox -- but, it creates that box anyway (which looks for the resource)!

    The simplest fix -- for all UIs -- is to define that resource regardless of the emulated machine; and, make the HUMMER be its default.

     
  • compyx

    compyx - 2018-05-07

    Seems to me the easiest way to 'fix' this is to provide a separate UI for the Hummer controlport/userport settings, since the Hummer doesn't seem to provide useable control ports on its board. There seems to be a way to hack the board to provide a userport joystick, but this requires hacking the hardware, patching the Kernal AND patching the software to use that userport joystick.

    So unless someone can provide me with some actual patched software and a hacked Kernal, I suggest we treat the Hummer as a completely different DTV, not just a 'model' change.

     
  • gpz

    gpz - 2018-05-08

    uh, the hummer is definately a dtv "model", its really just he exact same SoC with some steering wheel connected to its "userport".

     
  • gpz

    gpz - 2020-10-12

    It should at least save and remeber the resources correctly now.
    The adapter combobox is still whack though - gotta find out what happened to the "hummer" entry

     
  • gpz

    gpz - 2020-10-13

    i am closing this, please reopen when the original issue persists.

    the "hummer joystick" vs "dtv joystick" vs "userport joystick adapter" mess has been noted in the wiki, we'll have to look at this later. it should all work now, albeit a bit weird to set up.

     
  • gpz

    gpz - 2020-10-13
    • status: open --> closed-fixed
     

Log in to post a comment.