8BitChip Forum

Atari => Hardware => Topic started by: Anemos on 01-10-2010, 21:39:53

Title: Atari ps2/USB mouse adapter
Post by: Anemos on 01-10-2010, 21:39:53
Hello there,im searching for a good and working schematic board and HEX,for using ps2 or USB optical mouse in to the Atari.
First, i have the Wllem programmer ver. PCB5.0E ,and some PIC16F819 ,PIC16F627,(and i waiting the PIC16F84A-04/P for testing this > http://www.tgkirk.110mb.com/ps2mous.htm)
For now..
I found some diagrams for pic,s 16f627 in to the net,but dosnt working for me.
i test this > http://ps2m.sotchenko.ru/index.html
and this >  http://www.students.tut.fi/~leinone3/ps2mhiiri627/
(i thing the problems coming from the hex code,s but im not sure..)

Petari we have something good?
Title: Re: Atari ps2/USB mouse adapter
Post by: Petari on 02-10-2010, 13:21:43
I made something similar like that on first link. But for PIC clock I used simple RC.
Need to check DOCs, and where can find it.  Programmed PIC with very simple programmer, attachable on PC serial port.
Title: Re: Atari ps2/USB mouse adapter
Post by: Anemos on 02-10-2010, 13:49:23
No problem with my programmer,is very good,i have rdy write a lot eprom - bios ect.
im thiking if can be use the 16F627 for the Tom-Kirk mouse-mod with out external OSC,coz this PIC has rdy internal OSC~4mh.
(i have see amiga ps2 mouse adapter with 16f627 chip,with OUT external OSC,resistors or caps! )
pinouts is very close to 16f84A.. just need a little change to Ascci HEX code.. i cant make this.. :(
here is the pinouts
(http://img707.imageshack.us/img707/9816/pic16f627pic16f84apinou.th.jpg) (http://img707.imageshack.us/i/pic16f627pic16f84apinou.jpg/)

Uploaded with ImageShack.us (http://imageshack.us)
Title: Re: Atari ps2/USB mouse adapter
Post by: Petari on 06-10-2010, 15:15:20
I digged it out finally. Basically almost same - just RC instead resonator/crystal.
http://atari.8bitchip.info/ps2mouse_1.2.zip (http://atari.8bitchip.info/ps2mouse_1.2.zip)
Title: Re: Atari ps2/USB mouse adapter
Post by: Anemos on 07-10-2010, 00:21:35
well,i still waiting the 16F84A chip,s to try all of thats schematics..
Title: Re: Atari ps2/USB mouse adapter
Post by: 1024MAK on 09-10-2010, 16:51:19
No problem with my programmer,is very good,i have rdy write a lot eprom - bios ect.
im thiking if can be use the 16F627 for the Tom-Kirk mouse-mod with out external OSC,coz this PIC has rdy internal OSC~4mh.
(i have see amiga ps2 mouse adapter with 16f627 chip,with OUT external OSC,resistors or caps! )
pinouts is very close to 16f84A.. just need a little change to Ascci HEX code.. i cant make this.. :(
Have you downloaded the Microchip MPLAB software?
To use a different PIC chip you need to set the correct configuration bits. Pin 4 on the 16F627 would need to be configured and set-up correctly as well.
I don't think that there would be too much of a change to the PIC software program, but you would have to look at the respective datasheets to check :).
http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=1406&dDocName=en019469&part=SW007002
Title: Re: Atari ps2/USB mouse adapter
Post by: Anemos on 10-10-2010, 01:44:11
Thanks 1024MAK, i have already install the MPLAB, is free soft, but im very noob to make this work..
well,the pic,s 16f84A is on the way..  ;)
Title: Re: Atari ps2/USB mouse adapter
Post by: Anemos on 08-11-2010, 23:38:20
i have already make 2 mods of this, on with PIC16F627 and one of PIC16F84A,all working perfect!
HEX coming from aminet and here : http://ps2m.sotchenko.ru/version.html
and schematics also with a little changes ..

(http://www.flashback-computing.com/screenshots/@atari-mouse-adapter-3.jpg)

(http://www.flashback-computing.com/screenshots/Amiga-PS2-mouse-wirrless-3.jpg)
last one..
(http://www.flashback-computing.com/screenshots/@atari-mouse-adapter-1.jpg)

all boxes (cases) is made by me.. on this photo one PIC16F627(SMD solder type)  convert to a normal 19 pin base with little cables and glue..

(http://www.flashback-computing.com/screenshots/Amiga-PS2-mouse-wirrless-1.jpg)



Title: Re: Atari ps2/USB mouse adapter
Post by: MadMax2023 on 01-06-2012, 21:06:25
I have a simple usb adapter (bought on ebay) plugged in the mouse port on my falcon.
It works very well with modern usb mouse, but i don't know if there is a way to recognize the mouse wheel (with Mint).
Title: Re: Atari ps2/USB mouse adapter
Post by: paulwratt on 30-10-2012, 11:37:16
I have a simple usb adapter (bought on ebay) plugged in the mouse port on my falcon.
It works very well with modern usb mouse, but i don't know if there is a way to recognize the mouse wheel (with Mint).

in MiNT, the mouse is handled by a driver in XaAES. In the source tree it is in its own folder, which contain 2 drivers, one with and one without mouse wheel support. The "with" driver also works if mouse does not have mouse wheel.

the drivers work with some standard USB/PS2 adapters (sorry cant remember the names), and on ARAnyM. So as long as can present the "same information" at the "same place" in the "same way", it should not be hard to get yours working quickly.

there are a couple of hardware adapters which present info the same way (as emulated on ARAnyM). Somewhere in the XaAES docs, or on the SpareMiNT wiki, there is reference. From there you should be able to find the (two/2 ?)  web pages that contain the hardware projects.

The only real question is if your adapter can already pass mouse wheel info to the port.

If you can write something to show what data is coming out of the mouse port when you "do stuff", you can probably figure that out. Then it would be possible to directly change the XaAES driver to suit your adapter.

Guess that some of this info requires ability in programming. Someone could probably write a mouse tester if you cant. The port and how to access it are documented very well. Making an "in-between" driver, or "fixing" the XaAES driver source might be possible if others have the right info for you adapter.

Paul