Welcome, Guest. Please login or register.

Author Topic: CDTV mouse protocoll?  (Read 5441 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline freqmaxTopic starter

  • Hero Member
  • *****
  • Join Date: Mar 2006
  • Posts: 2179
    • Show all replies
CDTV mouse protocoll?
« on: December 21, 2011, 08:28:41 PM »
What protocol does the CDTV mouse really use?, it seems to be a real oddball..

This is what I could find out:

Mouse (4 pin mini-DIN):

cdtv.org.uk: Commodore CDTV Expansion Ports Explained from link at abime.net
Pin Signal
 1 GND
 2 GND
 3 PRDT (Mouse Data?)
 4 +5V
 

Offline freqmaxTopic starter

  • Hero Member
  • *****
  • Join Date: Mar 2006
  • Posts: 2179
    • Show all replies
Re: CDTV mouse protocoll?
« Reply #1 on: December 21, 2011, 10:34:35 PM »
One use logic analyzer and some brains, it usually gives the answer.

But one need equipment to rig it. And then to export the data. Any takers? ;)
 

Offline freqmaxTopic starter

  • Hero Member
  • *****
  • Join Date: Mar 2006
  • Posts: 2179
    • Show all replies
Re: CDTV mouse protocoll?
« Reply #2 on: December 22, 2011, 01:48:12 AM »
Seems even the "The Amiga Developer CD" assumes the mouse is a 9-pin device 8 Interface Hardware / Controller Port Interface ;)

CDTV is an oddball ;)
 

Offline freqmaxTopic starter

  • Hero Member
  • *****
  • Join Date: Mar 2006
  • Posts: 2179
    • Show all replies
Re: CDTV mouse protocoll?
« Reply #3 on: December 22, 2011, 03:33:22 AM »
http://amiga-manuals.xiik.net/hardware/

The "CDTV - CD-1253 - Mouse - Manual-DE.rar" only tells you where to plug in the mouse in essence..
« Last Edit: December 22, 2011, 04:32:27 AM by freqmax »
 

Offline freqmaxTopic starter

  • Hero Member
  • *****
  • Join Date: Mar 2006
  • Posts: 2179
    • Show all replies
Re: CDTV mouse protocoll?
« Reply #4 on: December 22, 2011, 01:55:21 PM »
Sounds plausible. Guess only soldering & programming remains then ;)
 

Offline freqmaxTopic starter

  • Hero Member
  • *****
  • Join Date: Mar 2006
  • Posts: 2179
    • Show all replies
Re: CDTV mouse protocoll?
« Reply #5 on: December 22, 2011, 10:44:40 PM »
Nothing like "move mouse" keys on the remote control ?
Otherwise.. send random bits until you get some response.
 

Offline freqmaxTopic starter

  • Hero Member
  • *****
  • Join Date: Mar 2006
  • Posts: 2179
    • Show all replies
Re: CDTV mouse protocoll?
« Reply #6 on: December 23, 2011, 03:18:54 PM »
This is how the remote looks like:

Vesalia.de - CDTV Remote Control


And this seems to be the protocol then ;)

YahooGroups: chameleon_64 ยท Turbo Chameleon 64: CDTV Infrared Remote Codes
"This is what I think, as the serial codes from IR, Keyboard and Mouse are all handled by the same MCU in the CDTV. My guess is the codes are all the same :)"

"Ofcourse I know the codes as I made the receiver code on the Chameleon. The carrier is indeed 40 Khz and the remote uses something that looks like morse-code. The codes are 12 bits long but are send twice with the second copy all bits are flipped. This is verification that the code is correctly received.

Code starts with 9 ms transmission (at 40Khz) then a pauze of 4.5. Followed by pulse (400 us) + either short or long pause, then another pulse + either short or long pause etc 24 times. Then one pulse extra at the end.

Pulses are about 400 us long (0.4 ms). Short pauses are 0.4 ms as well. Long pauses are 1.200 ms (1200 us).

When key is held it sends repeat codes every 60 milliseconds. 9 ms pulse followed by 2.1 ms pauze and then the 0.4 ms end pulse.

The codes are as follows (remember to invert long and short and send then again before sending the end bit of 0.4 ms).

1  SSSS_SSSS_SSSL

2  SSSS_SSLS_SSSL

3  SSSS_SSSL_SSSL

4  SSSS_SSSS_LSSL

5  SSSS_SSLS_LSSL

6  SSSS_SSSL_LSSL

7  SSSS_SSSS_SLSL

8  SSSS_SSLS_SLSL

9  SSSS_SSSL_SLSL

0  SSSS_SSLL_LSSL

escape  SSSS_SSLL_SSSL

enter  SSSS_SSLL_SLSL

genlock  SSSS_SSLS_SSLS

cd/tv  SSSS_SSSS_SSLS

power  SSSS_SSSL_SSLS

rew  SSSS_SSLL_SSLS

play/pause  SSSS_SSSS_LSLS

ff  SSSS_SSSL_LSLS

stop  SSSS_SSLS_LSLS

vol up  SSSS_SSSS_SLLS

vol down  SSSS_SSLL_LSLS

Mouse A  SSSS_LSSS_SSSS

Mouse B  SSSS_SLSS_SSSS

Mouse A+B  SSSS_LLSS_SSSS

Mouse Up  SSSS_SSLS_SSSS

Mouse Right  SSSS_SSSS_SLSS

Mouse Down  SSSS_SSSL_SSSS

Mouse Left  SSSS_SSSS_LSSS

Joy A  LSSS_LSSS_SSSS
"