Welcome, Guest. Please login or register.

Author Topic: Amiga 4000T Mouse Troubles  (Read 2638 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline AppleIIGuyTopic starter

  • Jr. Member
  • **
  • Join Date: Sep 2005
  • Posts: 52
  • Country: us
  • Gender: Male
    • Show only replies by AppleIIGuy
Amiga 4000T Mouse Troubles
« on: June 07, 2013, 12:05:55 AM »
So i was installing a HxC Floppy in my A4000T... And the mounting holes seemed a little bigget than the normal mounting hole size.. sooo a screw dropped into the case from the floppy and now my mouse doesn't work (When i move the mouse it doesnt move but it acts like im pressing buttons). Mouse & Joystick have +5 V. Joystick port works fine in Amiga analyzer. I also had to remove my Buddha because It would yellow screen if it is inserted. So I belive the Buddha is goners but I would like to get my mouse back.
 

Offline amiman99

Re: Amiga 4000T Mouse Troubles
« Reply #1 on: June 07, 2013, 03:32:45 AM »
So, why you tried to install something on a live system? You're asking for trouble.
Anyway, as a workaround, you could use temporarily a serial mouse until you fix what ever you broke. You'll need a driver in a WB Startup folder and a 9-25 pin converter for your serial port.
I did that on my A3000 when I lost my mouse do to someone damaging one of the ICs.
Looks like mouse movements are controlled by PAULA, maybe you can replace that and see if it works.
A500 KS 2.1, 1MB Chip, 68000
A600 KS 3.1, 2MB Chip, ACA630 32MB RAM
A1000 KS 1.3, 8MB RAM
A1200 KS 3.1, Blizzard IV 50MHz 64MB RAM
A2000 KS 2.1, 68030 25MHz, 6MB RAM
A3000 KS 3.1, 68030 25MHz, 16MB RAM
A4000 KS 3.0, 68040 25MHz, 16MB RAM
CDTV KS 3.1, 4MB RAM
CD32
(AROS BOX) Dead :(
 

Offline Castellen

Re: Amiga 4000T Mouse Troubles
« Reply #2 on: June 07, 2013, 07:27:48 AM »
The quadrature mouse movement data is read by a 74HC166 parallel to serial shift register which is U541 in the A4000T or U975 in the A4000D.  This shift register is read by U450/Lisa.  Replace the 74HC166 and it'll probably be fine.  It's a SO16 package.

If you have left/right buttons, it indicates these lines are being correctly read by the analogue to digital converters in Paula.  You need to double check that you have +5V between the mouse port pin 7 and ground if you're still having problems.

I've wrtten an article on the same thing here if you need more detail.
« Last Edit: June 07, 2013, 07:32:04 AM by Castellen »
 

Offline AppleIIGuyTopic starter

  • Jr. Member
  • **
  • Join Date: Sep 2005
  • Posts: 52
  • Country: us
  • Gender: Male
    • Show only replies by AppleIIGuy
Re: Amiga 4000T Mouse Troubles
« Reply #3 on: June 07, 2013, 10:44:11 AM »
Quote from: amiman99;737081
So, why you tried to install something on a live system? You're asking for trouble.
Anyway, as a workaround, you could use temporarily a serial mouse until you fix what ever you broke. You'll need a driver in a WB Startup folder and a 9-25 pin converter for your serial port.
I did that on my A3000 when I lost my mouse do to someone damaging one of the ICs.
Looks like mouse movements are controlled by PAULA, maybe you can replace that and see if it works.


The system was off when I installed the SD Floppy. The screw fell out afterwards.
 

Offline AppleIIGuyTopic starter

  • Jr. Member
  • **
  • Join Date: Sep 2005
  • Posts: 52
  • Country: us
  • Gender: Male
    • Show only replies by AppleIIGuy
Re: Amiga 4000T Mouse Troubles
« Reply #4 on: June 07, 2013, 10:46:17 AM »
Castellen Mouse buttons do not work when pressed. When you attempt to move the mouse then it acts like i was pressing buttons. I do have +5 volts on the mouse / game port
 

Offline amiman99

Re: Amiga 4000T Mouse Troubles
« Reply #5 on: June 07, 2013, 03:57:44 PM »
Castellen was right about the movement, pins 1-4 go to the 74hc166, which you said that joysticks movements are working. Have you tried to play a game?
The Buttons 2 and 3 on the mouse go to PAULA on both ports.
Button 1 on joy/mouse go to CIA U550

Maybe your mouse is not working, did you try another one?
A500 KS 2.1, 1MB Chip, 68000
A600 KS 3.1, 2MB Chip, ACA630 32MB RAM
A1000 KS 1.3, 8MB RAM
A1200 KS 3.1, Blizzard IV 50MHz 64MB RAM
A2000 KS 2.1, 68030 25MHz, 6MB RAM
A3000 KS 3.1, 68030 25MHz, 16MB RAM
A4000 KS 3.0, 68040 25MHz, 16MB RAM
CDTV KS 3.1, 4MB RAM
CD32
(AROS BOX) Dead :(
 

Offline Castellen

Re: Amiga 4000T Mouse Troubles
« Reply #6 on: June 07, 2013, 09:47:37 PM »
Quote from: AppleIIGuy;737064
When i move the mouse it doesnt move but it acts like im pressing buttons


Quote from: AppleIIGuy;737064
Mouse buttons do not work when pressed.


OK, so in summary neither movement or button presses are working, but when you attempt movement then you get the same behaviour as when the buttons are pressed.  i.e. objects underneath the pointer get selected or the top menu gets selected.  It's even more unusual that movements could be triggering left/right button presses.

It's unusual that both the movement and button presses are affected as these functions are handled by completely separate function blocks on the main board.

The buttons don't require any 5V on the mouse port to operate, they simply pull the relevant lines to ground/0V.  So it maybe worthwhile checking you have a valid ground on pin 8 pf the mouse port.  You should measure less than 1-2 Ohms from pin 8 to the chassis or general ground on the main board.

Trying another mouse is a good suggestion too.  Also make sure the front panel key switch is in the run position, but this will only affect mouse movement and not button presses.  Check the mouse port ribbon cables are plugged into the main board correctly and not offset by one row or anything silly.

See if the joystick port is working or has the same problem.  Use one of the many applications from Aminet for this, e.g. JoytestMUI.

If you have any test instruments, you can see if there is quadrature data at the input of U541 (pins 2, 3, 4, 5).  A4000T schematic of this here.  My paper copies of this are hard to read, but the circuit is practically identical that of the A4000D.

Likewise, the button inputs are easy enough to test.  Pin 36 on Paula should go from 5V to near 0V for a right mouse button press and pin 10 on U350 should go from 5V to near 0V for a left mouse button press.
 

Offline Amiga_CDTV

  • VIP / Donor - Lifetime Member
  • Full Member
  • ***
  • Join Date: Apr 2010
  • Posts: 110
    • Show only replies by Amiga_CDTV
Re: Amiga 4000T Mouse Troubles
« Reply #7 on: June 07, 2013, 09:54:32 PM »
Quote from: Castellen;737146
A4000T schematic of this here.  My paper copies of this are hard to read, but the circuit is practically identical that of the A4000D.


Better, re-drawn schematic in here.
Commodore KIM-1, PET-2001, CBM 8032, CBM 8050, CBM 8250LP, D9060, VIC-20, C64, C64c, 1541, 1541-II, 1571, 1581,
Amiga A1000, A1060 Sidecar, A500, CDTV, CD32, 1084S, A1200, A1200 Magic Pack from Petro, ex-custom-case A3000T (now a complete A3000T), repaired A4000T and looking for more :)
 

Offline Castellen

Re: Amiga 4000T Mouse Troubles
« Reply #8 on: June 07, 2013, 10:28:48 PM »
Many thanks for the reference, I wasn't aware someone has recently re-drawn most of the original C= schematics.  They've made a superb job.
 

Offline AppleIIGuyTopic starter

  • Jr. Member
  • **
  • Join Date: Sep 2005
  • Posts: 52
  • Country: us
  • Gender: Male
    • Show only replies by AppleIIGuy
Re: Amiga 4000T Mouse Troubles
« Reply #9 on: June 08, 2013, 05:02:17 AM »
Ok in Amiga Advanced Analyzer
Port 0 (Mouse):
Pin 1: Up (Lights Up But cannot move mouse cursor Up)
Pin 2: Down (Lights Up But cannot move mouse cursor Down)
Pin 3: Left (Does not light up But mouse cursor does move left/right)
Pin 4: Right (Works)
Pin 5: Fire2 (Do not have 3 button joystick)
Pin 6: Fire0 (Works)
Pin 7: +5v (Measured 4.8v)
Pin 8: Gnd
Pin 9: Fire1 (Works)

With mouse in Port 1 All pins activate
With Joystick in Port 0 All pins activate except Left

Port 1:
Pin 1: Up (Works)
Pin 2: Down (Works)
Pin 3: Left (Works)
Pin 4: Right (Works)
Pin 5: Fire2 (Do not have 3 button joystick)
Pin 6: Fire0 (Works)
Pin 7: +5v (Measured 4.8v)
Pin 8: Gnd
Pin 9: Fire1 (Works)
 

Offline ElPolloDiabl

  • Hero Member
  • *****
  • Join Date: May 2009
  • Posts: 1702
    • Show only replies by ElPolloDiabl
Re: Amiga 4000T Mouse Troubles
« Reply #10 on: June 08, 2013, 06:51:04 AM »
Did you remove the screw? I had bits of solder or screws loose. As soon as I removed them the machine worked fine.
If there was a short circuit it must have been somewhere where there is high voltage going through.
Check all connectors etc. before you start going over which chip might have failed.
Go Go Gadget Signature!
 

Offline Castellen

Re: Amiga 4000T Mouse Troubles
« Reply #11 on: June 08, 2013, 06:52:53 AM »
Quote from: AppleIIGuy;737186
Ok in Amiga Advanced Analyzer
Port 0 (Mouse):
Pin 1: Up (Lights Up But cannot move mouse cursor Up)
Pin 2: Down (Lights Up But cannot move mouse cursor Down)
Pin 3: Left (Does not light up But mouse cursor does move left/right)
Pin 4: Right (Works)
Pin 5: Fire2 (Do not have 3 button joystick)


I'm not familiar with that analyser software, but it appears that there is certainly a problem regarding the movement as you already know, though the left/right mouse buttons are working correctly.

Replace the 74HC166 shift register as discussed earlier in the thread and this is likely to fix your issue.
 

Offline AppleIIGuyTopic starter

  • Jr. Member
  • **
  • Join Date: Sep 2005
  • Posts: 52
  • Country: us
  • Gender: Male
    • Show only replies by AppleIIGuy
Re: Amiga 4000T Mouse Troubles
« Reply #12 on: June 08, 2013, 08:41:59 AM »
will update after i get the parts thanks for the help it is appreciated.