Page 1 of 2

JeST - PSX to Atari JoyPad/Mouse Interface - Finished

PostPosted: Sun Mar 01, 2009 2:48 am
by techie_alison
Hello,

These are almost finished for next week, and will be going to HeavyStylus on Monday for ByteBack. :)

PDF manual attached. It's not the very final version.

http://www.flickr.com/photos/old_computers/

The features which we ended up with were quite extensive. Rather than people saying, "Can I have X button do XYZ," it can be fully reconfigured on the fly. There's about 20 or commands which are entered through the pad, just have a read of the manual.

    * Features *
    Atari style joystick emulation with thumbpad
    Atari ST mouse emulation with thumbstick and thumbpad
    Fully assignable fire buttons
    Fully assignable autofire buttons
    Fully assignable leftright buttons (e.g. HyperSports)
    FIRE1 mapped to pin-6 (left button)
    FIRE2 mapped to Pin-9 (right button)
    FIRE3 mapped to Pin-5 (middle button, 7800 FIRE2)
    Amiga 3-button mouse emulation
    Tested with Atari ST, Amiga, Commodore-64, Sinclair Spectrum
    Compatible with Atari 7800 (uses pin-5)
    Fully user configurable
    Four savable user setups
    Original 'factory' setups recoverable
    Draws 30mA 5v in operation
    Extremely small and tidy, it couldn't be smaller

This follows on from the old thread : viewtopic.php?f=15&t=15865

Re: JeST - PSX to Atari JoyPad/Mouse Interface - Finished

PostPosted: Sun Mar 01, 2009 10:28 am
by alexh
Looks very interesting.

How are they going to be sold? Bare for people to cut the end off their donor PS controllers? Or with shroud and wired into a PS extension cable?

Re: JeST - PSX to Atari JoyPad/Mouse Interface - Finished

PostPosted: Sun Mar 01, 2009 10:47 am
by teh3pwner
Ally, I have the same ultrasonic cleaner, How much did you pay for it? I payed 20€. :lol: :lol:

EDIT: Oh and what's going to be the price of JeST???

Re: JeST - PSX to Atari JoyPad/Mouse Interface - Finished

PostPosted: Sun Mar 01, 2009 12:38 pm
by rocket-dog
You are a clever rabbit Al!!!

Well done.

Re: JeST - PSX to Atari JoyPad/Mouse Interface - Finished

PostPosted: Tue Mar 03, 2009 11:25 pm
by techie_alison
Yayyyyy. Heyo you two. :) Awww thank you.

Hey teh3pwner. The ultrasonic cleaner, yeah, I picked it up for £18 or thereabouts from Aldi I think it was. It's okkkk, still not entirely sure what I think of it though. Right... JeST prices... At the moment (to keep with PeST) it's looking like £20 for the cables, £23 for the controllers, or £15 for the PCBs. Unless you supply your own controller or cable, then £17. :D That's where I'm running into problems, on the extension cables and the controllers. The PeST PS2 cables problem I've sold, although I'm now paying £3.50 each for those!!!!!!!!

The bits are all getting harder to come by. Certainly since eBay has been putting off people from selling piles of junk (of which some wasn't junk at all) on there.

Well, they're off to HeavyStylus, 8 of them. 2 controllers, 4 cables, and 2 PCBs. Went today for Byte Back in Stoke on Trent.

Final .PDF uploaded.

Re: JeST - PSX to Atari JoyPad/Mouse Interface - Finished

PostPosted: Wed Mar 04, 2009 1:30 am
by remowilliams
That is sooo very, very awesome. :D The cable/adapter is def for me, and I absolutely want one!

Re: JeST - PSX to Atari JoyPad/Mouse Interface - Finished

PostPosted: Wed Mar 04, 2009 1:47 am
by techie_alison
And you shall have one. :)

It really pleases me when it all falls into place at the very end, so thank you for the support. :cheers:

Re: JeST - PSX to Atari JoyPad/Mouse Interface - Finished

PostPosted: Wed Mar 04, 2009 6:24 am
by DarkLord
techie_alison wrote:And you shall have one. :)

It really pleases me when it all falls into place at the very end, so thank you for the support. :cheers:


Put me down for one too! :)

Re: JeST - PSX to Atari JoyPad/Mouse Interface - Finished

PostPosted: Wed Mar 04, 2009 4:41 pm
by teh3pwner
1 cable adapter form me, please. :lol: :lol: :lol: :lol:

Re: JeST - PSX to Atari JoyPad/Mouse Interface - Finished

PostPosted: Wed Mar 04, 2009 4:54 pm
by techie_alison
Okies. Excellent!! :-)

I've just ordered another 5 PSX extension cables to tide me over, so it'll be timed in with those. :)

Re: JeST - PSX to Atari JoyPad/Mouse Interface - Finished

PostPosted: Wed Mar 04, 2009 8:40 pm
by Mug UK
Will upload some pics & videos of JeST running on Heavy Stylus' machine whilst I'm at Byte Back this coming weekend (and buying one of the devices for my own use afterwards!) :)

Re: JeST - PSX to Atari JoyPad/Mouse Interface - Finished

PostPosted: Wed Mar 04, 2009 9:17 pm
by alexh
If I bought a cable... could you use a 9-way D-Sub with no hood/shroud connectors (the wings with the screw holes)? The current batch would not fit in an Amiga A600 as the ports are too close together.

I dunno if you can even get them.

P.S. You tried it with any wireless controller receivers?

Re: JeST - PSX to Atari JoyPad/Mouse Interface - Finished

PostPosted: Wed Mar 04, 2009 9:23 pm
by techie_alison
I await with bated breath.

Finishing them and getting them off to HeavyStylus was the first part, but now I'm looking forward to next week now... The weekend just gone I did three all nighters until 6am.

I have another 4 PSX Controllers, and another 5 Extension Cables on order to cover any orders that come in in the immediate future. Also quite well stocked up on the parts for PeST too, bought 20 PS2 extension cables, and am continually picking up the MS Wheel Mice when I see them, about 5 at the moment.

So there we are. :)

Regarding the DSub and the A600. There is no hood on these, but I can imagine the wings would be a problem. Just bend them back. You have to be careful here, as that's where the two parts of DTypes are held together, with a circular lip on the holes.

I'll have a look at doing a couple without wings, as I may be able to solder then together along the top and bottom. :) Trouble there is that solder doesn't take well to the alloy that they're made of, but I have a massively hot desoldering iron here which may do it (haven't used it for that).

Re: JeST - PSX to Atari JoyPad/Mouse Interface - Finished

PostPosted: Wed Mar 04, 2009 9:28 pm
by alexh
http://www.dealextreme.com/details.dx/sku.12816

Put me down for a cable without wings :)

I dont suppose you've got a Amiga CD32 do you? It has a pad which has lots of extra buttons and it would be cool if JeST could be made to work as a CD32 replacement pad too.

http://aminet.net/package/docs/hard/appe_v32.lha

Re: JeST - PSX to Atari JoyPad/Mouse Interface - Finished

PostPosted: Wed Mar 04, 2009 10:17 pm
by techie_alison
Here we go. :)

I don't know about the Amiga 32. So long as it follows the pinouts it'll work, if it doesn't it won't. ;-) Leave that one with me. The primary requirement is +5v on pin-7 and GND on pin-8.

Cable WITHOUT wings will be an extra £1, as everyone will be wanting one otherwise, and muggins here has to sit there with a metal file scuffing her acrylic nails (at £40 a set!). :wink:

Re: JeST - PSX to Atari JoyPad/Mouse Interface - Finished

PostPosted: Wed Mar 04, 2009 10:27 pm
by techie_alison
Amiga CD32. Maybe...........

http://gerdkautzmann.de/cd32gamepad/cd32gamepad.html

I don't know. There's limited information out there. JeST outputs 3 fire buttons, on pin-5, pin-6, and pin-9.

I need detailed information on the port. I can do it, and with the current JeST PCB (it was designed to cater for the 9-pin Dtype Atari 1980's style ports anyway). It would definitely need a rewrite of the button code in JeST.

That looks like some kind of serialised standard, I don't know. Need DETAILED information.

Right. I can do it!! BUT, I definitely need a CD32 controller to compare against on a logic analyser. And preferably a CD32 with a game that uses all 7 buttons (not essential to have the CD32, but preferable).

It should be noted that the CD32 should NOT be plugged into an ST in Joystick mode, as it outputs on pin-6 (correction : pin-5) which is reserved on the ST. I encountered this when developing JeST, hence why the Atari 7800 mode/pin-6 has to be specifically set by a command.

I can also greatly enhance the documentation of the CD32 controller, with timing information, and LA screen dumps. There's just so little information out there.

PSX has a total of 10 buttons (not including up down left right, or the thumbsticks).

Correction. I'd need BOTH a CD32 and the controller. Just been reading up. It depends how fast the thing is clocked as to whether I can do it or not. 74ls165 is rated upto 25Mhz, which is fast for serial. I would have expected it to be something like 4,800 or 9,600. Certainly slow. The CD32 itself controls the CLK line on pin-6.

http://ac.dcti.iscte.pt/AC-2008-09/Recu ... 65rev5.pdf

Re: JeST - PSX to Atari JoyPad/Mouse Interface - Finished

PostPosted: Fri Mar 06, 2009 2:50 pm
by techie_alison
The five PSX extension cables have arrived. Now for the four PSX controllers. Then we're organised.

Can't wait to hear how you all get on this weekend. You've got the pinouts... so should have an idea of what they can be plugged into. No MSXs, no Amstrads, Sinclair Spectrums need +5v injected on pin-7.

Regarding the CD32, it is entirely achievable, but the clock rate is the crucial bit. If it's polling say 30-times a second then that's fine, but if it sits on a bus where it polls continually then there will be no time to do the PSX processing.

http://www.logicsays.com/projects/jest.htm

Re: JeST - PSX to Atari JoyPad/Mouse Interface - Finished

PostPosted: Fri Mar 06, 2009 7:00 pm
by Mug UK
Joy .. hoping to pick mine up tomorrow @ Byte Back (and have a nosey at Heavy Stylus' new project for the ST).

Re: JeST - PSX to Atari JoyPad/Mouse Interface - Finished

PostPosted: Fri Mar 06, 2009 7:54 pm
by krupkaj
techie_alison wrote:It should be noted that the CD32 should NOT be plugged into an ST in Joystick mode, as it outputs on pin-6 which is reserved on the ST. I encountered this when developing JeST, hence why the Atari 7800 mode/pin-6 has to be specifically set by a command.

pin 6? I though the pins 5 and 9 in joystick connector and pin 5 in mouse/joy connector are reserved some way. As pin 6 is fire/left mouse button and 9 is right mouse button on the ST.

There is 5V via pull-up resistor connected to the pin 6 in Atari 7800. When the button is pressed TIA can read it on its analog inputs. The 5V is missing in Atari 2600 and 8bit computer line, so it is not possible to read the buttons separately on these machines.

I would like to know how are these pins at ST side reserved. Is possible to use it some way?
BTW has anybody got schematics of ST keyboard? I cannot find it.

Re: JeST - PSX to Atari JoyPad/Mouse Interface - Finished

PostPosted: Fri Mar 06, 2009 8:42 pm
by techie_alison
No, the CD32 controller uses 5, 6, and 9. It's an 11 button interface, hence serialised. The buttons are loaded into a parallel buffer and rotated out.

The ST maintains about 2.5v on pin-5. If this is pulled to 5v then the ST no longer accepts input.

JeST accommodates the Atari 7800, and the Amiga 3-button mouse. By default pin-6 is disabled, and you have to specifically enable it.

Pin-6 and pin-9 are enabled by default with the 'factory' setups.

It's all in the manual. :wink: Only ONE person has downloaded it! You can program ANY of the buttons to pin-5, pin-6, or pin-9. If you wanted then you can could have every button on the controller activate (pull low) 5, 6, and 9.

This is because EVERYONE wanted something, and wanted different buttons to do different things. So rather than running about like a headless chicken, I gave THEM the ability to set it up however they want.

They can also save upto 4 different setups too. It is entirely their choice.

:)

Re: JeST - PSX to Atari JoyPad/Mouse Interface - Finished

PostPosted: Fri Mar 06, 2009 9:20 pm
by techie_alison
Now I'm getting confused!! :D

MOUSE/JOY0
Pin 5 - N/C
Pin 6 - FIRE/LEFT BUTTON
Pin 9 - JOY1/RIGHT BUTTON

JOY1
Pin 5 - RESERVED
PIN 6 - FIRE
PIN 9 - N/C

Atari 7800
Pin 5 - RIGHT BUTTON
Pin 9 - LEFT BUTTON


On the ST, pin-5 of JOY1 connections to VCC via a 10K, and also to pin-8 or the IC SOCKET. And the 74LS244.

Suffice to say... Don't enable the Atari 7800 pin-5 on an ST! :wink:

Re: JeST - PSX to Atari JoyPad/Mouse Interface - Finished

PostPosted: Fri Mar 06, 2009 9:26 pm
by krupkaj
techie_alison wrote:No, the CD32 controller uses 5, 6, and 9. It's an 11 button interface, hence serialised. The buttons are loaded into a parallel buffer and rotated out.

Yes, I understood that from the page you linked.
techie_alison wrote:The ST maintains about 2.5v on pin-6. If this is pulled to 5v then the ST no longer accepts input.

aha, that's interesting.

And do you know something about the pins 5 and 9 (joystick input) and 5 (mouse/joystick) on the ST? There is written in the ST manual they are reserved. But are they unconnected or are they connected some way to Hitachi keyboard CPU and can by used some way? As I wrote I haven't the keyboard schematics. But maybe this discussion does not belong to this thread anymore. :)

techie_alison wrote:It's all in the manual. :wink: Only ONE person has downloaded it! You can program ANY of the buttons to pin-5, pin-6, or pin-9. If you wanted then you can could have every button on the controller activate (pull low) 5, 6, and 9.

That was probably me :wink:

Re: JeST - PSX to Atari JoyPad/Mouse Interface - Finished

PostPosted: Fri Mar 06, 2009 10:36 pm
by techie_alison
I think I may have marked it incorrectly in the manual...

Phew. Was ok. Have marked pin-5 as RESERVED in the ST pinouts though.

I have the schematics here of the keyboard. I'll scan them in and send them to you, likely late tonight or tomorrow (have to install XP on a machine to use it, as running Linux here).

:D

It was my fault for creating the confusion a few posts back when meaning pin-5 and writing pin-6. All I can tell you is that if pin-5 is pulled high then the joysticks stop being read. So, when NOT enabled with JeST, pin-5 is configured as an input (as opposed to an output) and allowed to float.

Re: JeST - PSX to Atari JoyPad/Mouse Interface - Finished

PostPosted: Sat Mar 07, 2009 6:36 am
by DarkLord
That was probably me :wink:


Now dang it, I don't care what that counter is showing, I've
downloaded it too! :)

Re: JeST - PSX to Atari JoyPad/Mouse Interface - Finished

PostPosted: Tue Mar 10, 2009 12:59 am
by techie_alison
Here's the keyboard schematic as promised. :)

http://www.flickr.com/photos/old_comput ... 6/sizes/o/

There's also a 2nd schematic too;

http://www.flickr.com/photos/old_comput ... 3/sizes/o/