JetSetIlly Posted April 8, 2022 Author Share Posted April 8, 2022 2 hours ago, johnnywc said: That is correct. INPT0 and INPT1 should be high when a gamepad is connected to the left port and INPT2 and INPT3 should be high when a gamepad is connected to the right port. (same as paddles) At least that how it works on my 4-switch and the Sega gamepads I have tested with. I may be wrong, but I believe the issue is what Gopher2600 sets INPT0 bit 7 to high on startup when a gamepad is connected. (at least this is what Stella does) You're right. I'm using the Qix demo you released last year to test. I see the Quadtari message when the gamepad is attached. So I've changed the code so that INPT0 is high in addition to INPT1 and Qix says it detects the Gamepad. I wonder why INPT0 is high though? Is that because there's a third button that can be used? 2 hours ago, johnnywc said: Right now all there is the FAQ unfortunately, but I do have a controller tester app that can detect what controller is connected to each port, including JOYSTICK, GAMEPAD, QUADTARI and SAVEKEY. It shows basically how to switch between reading controller 1 and 2 and controllers 3 and 4. (it uses the DUMP_PORTS bit 7 of VBLANK to enable a multiplexer on the QT to determine which controllers to read). I had a technical discussion with Thomas J. when he developed the support for Stella; I'll dig it up and send it your way if you think it's something you'll want to add to Gopher some time in the future. I'll take a look at the Quadtari this weekend. Could you send me the tester app? That would be useful. Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.