Page 1 of 1

C64 Joystick Issue

Posted: Fri Oct 22, 2021 4:34 pm
by RiotRay
Hi!

Until recently everything worked fine here with the c64 mister core. Just now I noticed that I can't "swap" the joystick ports. I have just one joystick connected to mister and it seemts that it will always register as joystick in port 2 of the c64. I've tried to connect an aditional joystick, but after that swapping the joystick in the core menu meant, that the new joystick now plugs in port 2 of the c64.
I want my joystick to be plugged into port 1!

What am I doing wrong here??
thx

Re: C64 Joystick Issue

Posted: Sat Oct 23, 2021 10:23 am
by yellperil
I am having the same issue.

It appears the latest core [C64_20211020.rbf] is broken.

The previous core works just fine.
https://github.com/MiSTer-devel/C64_MiS ... 210803.rbf

Re: C64 Joystick Issue

Posted: Sat Oct 23, 2021 8:31 pm
by CeeDeeVee
Yes it appears that the latest core has broken the joystick. However, I only have an issue when running .prg on the c64 .crt seem to work still (although I needed to re-define buttons for it. This has me intrigued as I've written a c64 program in machine code just to read the joystick port and it somehow doesn't work when loaded as a .prg (the program runs and all other elements, custom chars, sprites and sounds work -just nothing on the joystick port) but somehow is fine when loaded from a .crt! When this gets fixed I really want to know how that was possible...

Re: C64 Joystick Issue

Posted: Sun Oct 24, 2021 6:14 am
by CeeDeeVee
Who else is having this issue?

Re: C64 Joystick Issue

Posted: Sun Oct 24, 2021 11:06 am
by Braini
I do, in a way, or another one related to Joysticks with the C64 core.
Got my Mister set up this week and fought with the Joystick in the C64 core yesterday until I saw your comment.

The behavior on my side was that in whatever way I tried to configure the Joystick/the buttons (also with keyboard emulation) the games seemed to pause (really strange, just everything except the sound pauses) when I tried to move to the right, i.e. pressed the right d-pad button.
In other cores (SNES, Minimig) it worked totally fine.

I wasn't sure what to make of it and was not able to fix it until I reverted to the core from August you posted above, now works fine.

Re: C64 Joystick Issue

Posted: Sun Oct 24, 2021 9:39 pm
by shertz
I am also having joystick issues . Some games work Most don't.

Re: C64 Joystick Issue

Posted: Mon Oct 25, 2021 11:23 am
by Chris23235
The issue seems to be solved:
Sorgelig wrote: Mon Oct 25, 2021 11:12 am C64:
It seems I/O ports are used in prohibited modes where output pins with active drivers for 1 are driving low by either disk (Transwarp loader) or by joysticks (some games). I wonder how many CIA/VIA chips got broken because of that? Anyway, this release keeps workaround for Transwarp and reverts changes of other CIA ports to allow reading output pins states and fix joysticks for games using CIA in prohibited mode.

Re: C64 Joystick Issue

Posted: Mon Oct 25, 2021 12:03 pm
by Braini
It is, thanks a lot!

Re: C64 Joystick Issue

Posted: Sun Jan 16, 2022 10:05 pm
by SpoonyUK
Thanks for that link to previous c64 core, been having a nightmare with the new core. certain games pausing, joystick acting weird on core and on osd. gone back to the one mentioned above and all problems have gone.