home *** CD-ROM | disk | FTP | other *** search
- $VER: SerMouse 2.21, serial mouse package (+driver) for PC mice.
-
-
- Welcome to:
-
-
-
- \ | /
-
- - The ultimate PC-Mouse package -
-
- / | \
-
-
-
- A lot of people don't like the standard Amiga mouse (and I don't blame 'm).
- And if they do like him (I like to 'personalize' my mouse) he (she?) dies
- within a short period of time. The market for specific Amiga mice is very
- small. Most people like the PC mice and trackballs. I 'm using a PC mouse
- of Q-tec, after my Amiga mouse died some years ago. To make it a bit easier
- for people to use PC mice and trackballs on the Amiga, I decided to write
- this packadge for the use of PC-mice on the Amiga. This package and the
- included software is free-ware. You may use it and copy it freely, but you
- may not modify it in any way! I'm not responsible for any damage that may
- occuur while using the software or using the descriptions in here to modify
- hardware, or anything else that might be caused by the existance of this
- package. Also, I don't guaranty any mouse or trackball to work with this
- package. There are still mice and trackballs with other protocols or
- hardware-connections.
- This package contains the following things (in this doc or the archive):
-
- * A serial mouse driver for both Microsoft mice and Mouse System mice.
-
- * A description for converting 9-pin Sub-D serial to 25-pin serial.
-
- * A description for converting 9-pin Sub-D BUS-mouse to 9-pin Amiga
- mouse.
-
- * A description for converting 9-pin Mini-Din BUS-mouse to 9-pin Amiga
- mouse.
-
-
-
- The SerialMouse-driver
- ----------------------
-
- The SerialMouse-driver is called "SerMouse" and should be included in this
- package. It can only be used with Kickstart version 2.0 or above. The
- current version is 2.21. You can start it from the command-line by typing
- "SerMouse" or from the WorkBench by double-clicking on it's icon. To
- deactivate it, just restart the program. If you want to activate it every
- time your computer is switched on, add the command in your s:user-startup
- or drag the icon to the WBStartup drawer (do not remove the DONOTWAIT
- tooltype!).
-
- You can specify the following things either as command-line argument or as
- icon tooltype:
-
-
- 3BYTES or 5BYTES
-
- This indicates the mouse-type you're using. 5BYTES is the default and most
- used type. If you've got a 3-button mouse, it's deffenetely a 5BYTES type.
- If the mouse doesn't work, just try the other type... I named the types
- by the number of bytes they sent for one event.
-
-
- DEVICE
-
- The device to be used for reading serial data. Default is the
- serial.device. SerMouse has been tested with the VECTOR Connection multi
- I/O card and it worked without any problems.
-
-
- UNIT
-
- The device-unit to be used for reading serial data. Default is unit 0.
- Also tested with the VECTOR board.
-
-
- PRIORITY
-
- This is the task-priority of the mouse-driver. The default is 20. This
- should be OK. It's the same priority as the input.device eg. the standard
- mouse.
-
-
- HARDBUTTON
-
- There are still a very few programs which hit the hardware directly in
- order to get the state of the mouse-buttons (Protracker is one of them).
- SerMouse interacts with the OS only. The mentioned bad programmed programs
- won't notice the button-press, because they don't use the OS (for that).
- When you specify the option HARDBUTTON, SerMouse will use a 'reversed'
- hardware-hit to 'emulate' the Left mouse-button. This is very bad
- programming, but there is no alternative! Use this option only if strictly
- necsecairy! Avoid pressing buttons on devices atached to game-port 0 when
- this option is active! I'm not responsible for any damage!
-
-
- The program SerMouse is (c) by me (K.P. van Beem) and is distributed as
- FreeWare. This means, you may freely use and distribute it, as long as the
- programm and this documentation is left unchanged. The source of the
- programm is available as GiftWare. Contact me if you're interested in it.
- It's partly C and partly assembler.
-
- Be sure pin 22 of the serial-port is NOT connected to any line of the
- mouse when you use a serial mouse. This will interfere with your parallel
- port.
-
-
-
- Converting 9-pin Sub-D serial to 25-pin serial
- ----------------------------------------------
-
- Most serial mice do have a 9-pin Sub-D serial connector (that's the two-row
- connector, NOT a din!). The Amiga has a 25-pin serial connector. In most
- stores, you can by adapters from 9 to 25 pins. For those who want to build
- them in stead of by them, or just want to connect a 25-pin connector
- directly to the wire, this is how you should connect it (the pin-numbers
- are normally written on the connectors):
-
-
- 9-pin 25-pin
- D-Sub D-Sub
-
- 1 <==> 8 Carrier Detect
- 2 <==> 3 Recieve
- 3 <==> 2 Transmit
- 4 <==> 20 Data Terminal Ready
- 5 <==> 7 Signal Ground
- 6 <==> 6 Data Set Ready
- 7 <==> 4 Request To Send
- 8 <==> 5 Clear To Send
-
- Do NOT connect pin 22 on the Amiga side (with pin 9 on the mouse side).
- This will interfere with the parallel port of your Amiga. This line is the
- Ring Indicator which is only used by modems (and most of the time not by
- Amiga software).
-
- And don't forget the shield-ground.
-
-
-
- Converting 9-pin Sub-D BUS-mouse to 9-pin Amiga mouse
- -----------------------------------------------------
-
- Besides serial mice, there's an other type of mouse that is used for the
- PC. Although not often these days. It's called the BUS-mouse. It's basicly
- the same mouse as the Amiga (and the Atari) is using, but differently
- wired. You can easily rewire the mouse (or make an adapter) and connect the
- mouse on the mouse-port of the Amiga, just like you do with your standard
- Amiga mouse. This way, you can use this type of mouse without a separate
- driver. This is the way I use my PC mouse on the Amiga. You should rewire
- the mouse as described below:
-
- Amiga side Mouse side
- D-Sub D-Sub
-
- 5 4 3 2 1 5 4 3 2 1
- 9 8 7 6 9 8 7 6
-
- 1 <==> 4 Vertical pulse
- 2 <==> 1 Horizontal pulse
- 3 <==> 3 Vertical pulse Qualifier
- 4 <==> 2 Horizontal pulse Qualifier
- 5 <==> 5 Midle button
- 6 <==> 6 Left button
- 7 <==> 7 +5V
- 8 <==> 8 Ground
- 9 <==> 9 Right button
-
-
-
- Converting 9-pin Mini-Din BUS-mouse to 9-pin Amiga mouse
- --------------------------------------------------------
-
- For a description of the BUS mouse, see above. Besides the Sub-D plug, most
- modern computers do have a mini-Din to connect the bus-mouse to the
- computer. Of cause, these can also be rewired. Belose is described how. I
- haven't tested this, but I took it from a German magazin.
-
- Mouse Amiga
- Mini-DIN D-SUB
-
- 1 <==> 7 +5V
- 2 <==> 2 Horizontal pulse
- 3 <==> 4 Horizontal pulse Qualifier
- 4 <==> 1 Vertical pulse
- 5 <==> 3 Vertical pulse Qualifier
- 6 <==> 6 Left button
- 7 <==> 5 Middle button
- 8 <==> 9 Right button
- 9 <==> 8 GND
-
- I'm not sure the pin-nubers are written on the Mini-Din, besides, if you
- don't make an adapter but just rewire it, you won't have the bus. So I'l
- give the numbers here. You are looking at the soldier side of the bus, so
- at the pin-side of the plug!
-
- |__|
-
- 7 8 9
- 3 4 5 6
- __ 1 2 __
- | |
-
-
-
- Changes since 2.00 (so new for 2.20)
- ------------------
-
- * Added the warning in the docs about pin 22 (ring indicator). This pin
- should NOT be connected. With some mice, it interacts with the printer
- in such a way that you won't be able to print while the mouse in
- connected.
- * Some mouse-actions involving clicking with the mouse-buttons didn't work
- as they should. This included console-clipping, drag-selecting in some
- programs, double-click and other combinations in YAK and using PowerSnap.
- This was partly coused by the input.device. It doesn't update the current
- state of the buttons the way I tell it to do. In order to work around
- this, I had to use some undocumented 'features' of the input.device. But
- don't fear. It's proven to work safe on all OS versions released up till
- now. Now the serialmouse-driver realy works as the 'normal' mouse!
-
-
- Changes since 2.20 (so new for 2.21)
- ------------------
-
- * Changed the 5BYTES routine in order to get smoother mouse-movements
- while using 3-button (5BYTES) mice.
- * Added the option HARDBUTTON, to emulate the left mousebutton for programs
- which use direct hardware-hits. Use this option only if strictly
- necsecairy! Also, see the explanation above under HARDBUTTON.
-
-
- Credits
- -------
-
- I want to thank the following people (in alphabetical order) who helped me
- with this mice stuff:
-
- Marcel Duyn, who lent me a serial mouse for testing the driver (correction
- as for version 2.20: I now bought it :-)) )
- Carsten Gerlach for finding out the couse of the serialmouse driver not
- working with commodities like Yak and PowerSnap. (Myself for finding the
- optimum solution :-)) )
- Stefan Johannesdal, who tested the 5BYTES part of the driver.
- Patrick Smith for letting me know some serial-mice do have pin 22 connected.
- Christian Stieber, who provided me with some technical info about the
- 5BYTES serial mouse protocol.
-
- For questions, suggestions or bug-reports, you can always reach me at the
- adresses below.
-
- Have fun! (Easy, 'cause you own an Amiga!)
-
-
- _ _ _
- /_) /_) __// Hobby programmer... Fido: 2:280/464.2
- / atrick van /_)eem \X/ e-mail: patrick.van.beem@aobh.xs4all.nl
-
- Postal address: Parlevinker 5
- 2152 LC Nieuw-Vennep
- The Netherlands
-
-
-
- Nice detail: The latest version of the Microsof mouse driver for windows I
- installed on my PC consumed 1.6MB of harddisk space! I think I'll stick to
- my Amiga :-))
-