C4P joystick project

mjmalecha
Posts: 12
Joined: Fri Oct 08, 2010 7:46 pm

C4P joystick project

Post by mjmalecha » Sun Mar 17, 2019 1:05 pm

Some assistance please. I am attempting to get a joystick working with my C4P. But no luck so far. I found an article that advised how to re wire an Atari joystick. I also have the A15 board schematic. It appears that the computer uses pins 1-6 in this order; 1 - GND, 2 - down, 3- left, 4-right, 5- up, 6- button. If that is not correct please advise. In the manual it provides poke/peek commands - but when I peek 57088 and do the ADD (not really understanding that part, but regardless. I cannot get a successful PEEK to verify joystick position. When I move the joystick, it puts various letters on the screen like its acting as a keyboard. (if inserted in joystick A port it locks up the computer and I need to reboot. So in effect (unless I right a basic program) I cannot even do the PEEK, because moving the joystick puts characters on the screen. I did write a program, but the value in PEEK 57088 never changes from 1. (joystick A) or 0 (joystick B) regardless of joystick position. If anyone has experience with this, would sincerely appreciate some help. There is not much of anything written online about the joysticks. Thank you, Mike

waltermixxx
Posts: 118
Joined: Sun Feb 03, 2019 10:31 pm

Re: C4P joystick project

Post by waltermixxx » Sun Mar 17, 2019 5:11 pm

any chance you can provide a link to the article you are working from?
just so anyone reading might be on the same page? as well as a link to the
schematic for the A15 :) It might help anyone willing to take the time,
and have a C4P :)

Cheers.
Turning into quite an OSI Junkie (HTFDTH?) Superboard II REV B-40K, 9600b, HC-05 Bluetooth, Superboard II Rev D, C4P rebuild- 502, 542c, 540B. :)

mjmalecha
Posts: 12
Joined: Fri Oct 08, 2010 7:46 pm

Re: C4P joystick project

Post by mjmalecha » Sun Mar 17, 2019 10:04 pm

Absolutely. I just have a hard copy, but I will scan it and attach. The schematic is from Dave's OSI page, in the list of boards the A15 is one of them, click on it and it's the schematic. Mike

mjmalecha
Posts: 12
Joined: Fri Oct 08, 2010 7:46 pm

Re: C4P joystick project

Post by mjmalecha » Sun Mar 17, 2019 10:11 pm

Here is the article describing how to modify the Atari joystick. Note the suggested jumper on the A15 board is likely because in an original Atari joystick, pin 5 is not wired, but if you wire a new cable/connector on the joystick - you should not have to modify inside the computer but just move 8 to 5. However, I do not have it working yet, so.......
Scan 1.jpeg
joystick conversion
Scan 1.jpeg (177.98 KiB) Viewed 2083 times

waltermixxx
Posts: 118
Joined: Sun Feb 03, 2019 10:31 pm

Re: C4P joystick project

Post by waltermixxx » Mon Mar 18, 2019 12:29 pm

i mentioned this thread to Steve Gray who says he has the A15 board,
and is using it with an Atari Joystick, hopefully he will respond soon,
with his experience getting it to work :)
Turning into quite an OSI Junkie (HTFDTH?) Superboard II REV B-40K, 9600b, HC-05 Bluetooth, Superboard II Rev D, C4P rebuild- 502, 542c, 540B. :)

Steve Gray
Posts: 283
Joined: Mon Oct 06, 2008 1:54 pm
Location: Markham, Ontario, Canada
Contact:

Re: C4P joystick project

Post by Steve Gray » Tue Mar 19, 2019 1:03 am

More like "used it with"... It's only been 35 years ;-)
I basically compared the OSI pinout to the Atari pinout and rewired it to match. It's a bit of a mess.
DSC08519-P50.jpg
DSC08519-P50.jpg (289.17 KiB) Viewed 2064 times
DSC08517-P50.jpg
DSC08517-P50.jpg (199.97 KiB) Viewed 2064 times
C4P working, C1P working. 600D Replica working, C4P+D&N floppy not working. 505 board, 610 board, Mittendorf board, TOSIE hacker board need testing, PicoDOS disk untested.

mjmalecha
Posts: 12
Joined: Fri Oct 08, 2010 7:46 pm

Re: C4P joystick project

Post by mjmalecha » Tue Mar 19, 2019 1:23 am

Thanks Steve, I appreciate you sharing this. Question - it appears all of your rewiring is involving the two post closest to the J11 (keyboard connector) - on your 2nd photo they would be the bottom two, in all the C4P manuals I have seen, the joystick ports are the top two - the two that you did not appear to rewire. Is this something I should investigate? is it possible the joysticks are the lower two ports? not J5 & J6? thanks. Mike

Steve Gray
Posts: 283
Joined: Mon Oct 06, 2008 1:54 pm
Location: Markham, Ontario, Canada
Contact:

Re: C4P joystick project

Post by Steve Gray » Tue Mar 19, 2019 1:54 am

You got me there... I don't know why i picked those two... perhaps to keep the ability to use OSI joysticks should the need arise.

I can look to see if i have any notes, but it would probably be easy enough to just look at the a15 schematics and the c4p manual to figure it out again.
C4P working, C1P working. 600D Replica working, C4P+D&N floppy not working. 505 board, 610 board, Mittendorf board, TOSIE hacker board need testing, PicoDOS disk untested.

mjmalecha
Posts: 12
Joined: Fri Oct 08, 2010 7:46 pm

Re: C4P joystick project

Post by mjmalecha » Tue Mar 19, 2019 1:57 am

Thanks, that what I have done, but as you can see from my initial post, its not working, so I have to roll up my sleeves and get in and get dirty! I appreciate your comments. Thanks!

mjmalecha
Posts: 12
Joined: Fri Oct 08, 2010 7:46 pm

Re: C4P joystick project

Post by mjmalecha » Fri Mar 29, 2019 4:42 pm

Can someone advise if it is normal to see characters produced on the screen when moving the joystick? I assume this is not correct and indicates a wiring/routing error, but confirmation would be helpful. Thanks! Mike

Post Reply