Author Topic: Amstrad CPC Joystick Port, bidirectional?  (Read 1119 times)

0 Members and 1 Guest are viewing this topic.

Offline zhulien

  • 464 Plus
  • *****
  • Posts: 417
  • Country: au
    • 8bitology
  • Liked: 196
  • Likes Given: 113
Amstrad CPC Joystick Port, bidirectional?
« on: 05:00, 05 August 17 »
the CPC Wiki mentions the CPC Joystick Port in a couple of places as being bidirectional.  does anyone have examples of using it for I/O?

Offline angelcaio

  • CPC664
  • ***
  • Posts: 104
  • Country: es
  • AMSTRAD CPC-464
  • Liked: 32
  • Likes Given: 21
Amstrad CPC Joystick Port, bidirectional?
« Reply #1 on: 08:21, 05 August 17 »
the CPC Wiki mentions the CPC Joystick Port in a couple of places as being bidirectional.  does anyone have examples of using it for I/O?

The joystick and the audio jack connectors are adjacent in the CPC. I think that the output refers to the audio and the input to the joystick port

https://goo.gl/images/kaB1YZ

Enviado desde mi iPad utilizando Tapatalk
« Last Edit: 08:31, 05 August 17 by angelcaio »

Offline dragon

  • 6128 Plus
  • ******
  • Posts: 1.366
  • Country: es
  • Liked: 564
  • Likes Given: 480
Re: Amstrad CPC Joystick Port, bidirectional?
« Reply #2 on: 09:16, 05 August 17 »
the CPC Wiki mentions the CPC Joystick Port in a couple of places as being bidirectional.  does anyone have examples of using it for I/O?


It need a loader and aditional hardware. In 1989 Codemasters made a CD with 30 games, that connect to sound jack. Unfortunly. The cpc versiĆ³n, never arrive to the shops. It only exist in form of prototype.


http://www.cpcwiki.eu/index.php/Codemasters_CD

Offline zhulien

  • 464 Plus
  • *****
  • Posts: 417
  • Country: au
    • 8bitology
  • Liked: 196
  • Likes Given: 113
Re: Amstrad CPC Joystick Port, bidirectional?
« Reply #3 on: 09:52, 05 August 17 »
I am wondering if there is a way to use atarivox on cpc normal joystick port. Seems everywhere says the cpc joystick ports are atari compatible (meaning compatible to what an atari joystick port does) as opposed to works with some atari joystick port peripherals namely joysticks only.

Offline arnoldemu

  • Supporter
  • 6128 Plus
  • *
  • Posts: 5.332
  • Country: gb
    • Unofficial Amstrad WWW Resource
  • Liked: 2251
  • Likes Given: 3477
Re: Amstrad CPC Joystick Port, bidirectional?
« Reply #4 on: 19:54, 05 August 17 »
I am wondering if there is a way to use atarivox on cpc normal joystick port. Seems everywhere says the cpc joystick ports are atari compatible (meaning compatible to what an atari joystick port does) as opposed to works with some atari joystick port peripherals namely joysticks only.
You will need to get the power from somewhere else because the joystick ports don't have power on them.

I'm not sure if the joystick ports ARE bi-directional. In fact on Plus I would say they are definitely not (because it's got the diodes).

The joysticks are connected to the AY via the keyboard matrix and the AY port can be set to output.
But i've no idea what will actually happen if you try to drive the joystick like this.

I would happily write a test for it, but I'm not going to test it ;)
My games. My Games
My website with coding examples: Unofficial Amstrad WWW Resource

Offline gerald

  • Supporter
  • 6128 Plus
  • *
  • Posts: 1.395
  • Liked: 984
  • Likes Given: 247
Re: Amstrad CPC Joystick Port, bidirectional?
« Reply #5 on: 22:55, 05 August 17 »
You will need to get the power from somewhere else because the joystick ports don't have power on them.

I'm not sure if the joystick ports ARE bi-directional. In fact on Plus I would say they are definitely not (because it's got the diodes).

The joysticks are connected to the AY via the keyboard matrix and the AY port can be set to output.
But i've no idea what will actually happen if you try to drive the joystick like this.

Tobruk 1942 used the joystick port to connect 2 CPC for 2 player game, but I never tried this.
I am just wondering how they manage to avoid keypress screwing up the communication.