Home
JAQForum Ver 20.06
Log In or Join  
Active Topics
Local Time 18:04 29 Apr 2024 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : Come in and find out

     Page 3 of 3    
Author Message
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 5730
Posted: 08:57pm 09 Nov 2022
Copy link to clipboard 
Print this post

Nope, I've not done a v2.0 yet. Things have been very busy on the domestic front for some time now - and I still have the bathroom walls to finish off and the floor to sort out!
Mick

Zilog Inside! nascom.info for Nascom & Gemini
Preliminary MMBasic docs & my PCB designs
 
thwill

Guru

Joined: 16/09/2019
Location: United Kingdom
Posts: 3845
Posted: 09:07pm 09 Nov 2022
Copy link to clipboard 
Print this post

  thwill said  Those are not the raw NES serial values, the "ctrl" library maps the outputs of all controllers onto the wider range of outputs returned by "Wii Classic Controller" as that is the one standard that the MMBasic manuals document.

     2048 = Button A
     2176 = Button A + Up


This even tells us what the hardware issue probably is, if these are being read when the test program is configured to read ports A & B as Atari joysticks and no Atari joysticks are connected then pins GP14, GP15 and GP28 are all shorted to ground.

Best wishes,

Tom
Game*Mite, CMM2 Welcome Tape, Creaky old text adventures
 
thwill

Guru

Joined: 16/09/2019
Location: United Kingdom
Posts: 3845
Posted: 09:34pm 09 Nov 2022
Copy link to clipboard 
Print this post

Mick,

Looking at the 2.0 schematic, where is the pull-up resistor on GP28 when attaching an Atari joystick to port B ?

Best wishes,

Tom
Edited 2022-11-10 07:35 by thwill
Game*Mite, CMM2 Welcome Tape, Creaky old text adventures
 
Turbo46

Guru

Joined: 24/12/2017
Location: Australia
Posts: 1593
Posted: 09:57pm 09 Nov 2022
Copy link to clipboard 
Print this post




Looks like it depends on LB1 whether it's pullup or down.

Bill
Keep safe. Live long and prosper.
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 5730
Posted: 10:21pm 09 Nov 2022
Copy link to clipboard 
Print this post

That's correct, Bill. Set it to UP and it will pull GP28 up. With link LB3 closed pin 1 is also pulled up, so it becomes the Atari joystick UP pin.

In theory anyway...  :)
Mick

Zilog Inside! nascom.info for Nascom & Gemini
Preliminary MMBasic docs & my PCB designs
 
thwill

Guru

Joined: 16/09/2019
Location: United Kingdom
Posts: 3845
Posted: 11:04pm 09 Nov 2022
Copy link to clipboard 
Print this post

Ah, I was only looking at the GP28 on the DB9 connector part of the schematic.

Anyway that probably answers why Martin is getting the unexpected Atari UP on port B, the jumpers are set wrong.

That just leaves both ports unexpectedly reporting Atari A/FIRE. Martin, I'm wondering if you've systematically installed the wrong resistors or capacitors connected to both GP14 & GP15 (pin 6 on the DB9s). These are also the 3V3 supply pins when using NES controllers so that would explain why they aren't working either.

Best wishes,

Tom
Edited 2022-11-10 09:07 by thwill
Game*Mite, CMM2 Welcome Tape, Creaky old text adventures
 
Turbo46

Guru

Joined: 24/12/2017
Location: Australia
Posts: 1593
Posted: 04:58am 10 Nov 2022
Copy link to clipboard 
Print this post

The CMM2 version worked for me with the joystick and the keyboard.

The Nuncuk didn't though, then I realized that it's not yet supported.

My brain kept expecting the green dot to go left when I operated the 'left' control instead it was just changing the direction that it was facing. Maybe something on the green dot could indicate which direction it was pointing might help?

Bill
Keep safe. Live long and prosper.
 
Martin H.

Guru

Joined: 04/06/2022
Location: Germany
Posts: 902
Posted: 07:00am 10 Nov 2022
Copy link to clipboard 
Print this post

Thank you for your Help Mick, Bill and Tom
very Helpfull.
This limits the area for troubleshooting.
I'll have a look at this later, since I am currently in the office.

Thanks
Mart!n
'no comment
 
Martin H.

Guru

Joined: 04/06/2022
Location: Germany
Posts: 902
Posted: 02:53pm 11 Nov 2022
Copy link to clipboard 
Print this post

  thwill said  

Try this test program: ctrl-test-pmvga.zip

Best wishes,

Tom

so, NES @ B Atari @ A both ok...
I missed 2 150R Resistors under the Pico, so it wasn't obvious  
Thank you all for your Support.
Edited 2022-11-12 00:54 by Martin H.
'no comment
 
     Page 3 of 3    
Print this page


To reply to this topic, you need to log in.

© JAQ Software 2024