Editing
Bus mouse
From Deskthority Wiki
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{TODO diagram|reason=9-pin D-sub diagram is missing}} A '''bus mouse''' is a [[mouse]] (or [[trackball]]) which provides readings of its [[rotary encoder]]'s and buttons switches on dedicated lines to its host at logic levels. Bus mice were often shipped with a computer or with an expansion card; Thus, "bus mouse" is a ''class'' of device, not a single standard. This is the simplest class of interface, and all variants are considered obsolete, now being used almost exclusively by retro-computing enthusiasts. The term as such is most associated with [[IBM Personal Computer|IBM-compatible PCs]]. Bus mice were contemporary with and competed with [[Serial_interface#PC_mouse|serial mice]]. Once Microsoft had made its implementation: [[#Microsoft InPort|InPort]], the term was increasingly used for that specifically. Use of bus mice on PC's fell with the adoption of IBM's [[PS/2]] mouse port. == Electronics == Buttons are often simply shorted to ground when pressed, with pull-up resistors on the host side. Button input often needs to be [[debouncing|debounced]], which because buttons are few and wired direct (there is no [[keyboard matrix|button matrix]]) is typically done through a low-pass filter for each input on the host side. An [[Opto-mechanical sensor|opto-mechanical mouse sensor]] contains a mouse ball and an optomechanical [[rotary encoder]] on each axis (X and Y). Each encoder produces a "quadrature code" (also called 2-bit Gray code, or "pulse trains") on a pair of lines, which is filtered to logic levels, often by a pair of schmitt triggers in the mouse. In the pinouts below, the lines have been named (XA,XB) and (YA,YB) so that when moving (moving right/down) the sequence for a pair of inputs is: (0,0), (1,0), (1,1), (0,1). The quadrature code sequence for decreasing value (moving left/up) is in the opposite order. <!-- Only Commodore Amiga and Archimedes docs have described which pin in a pair is leading. For PC-98, I found a good third-party doc, albeit in Japanese. Amiga docs specifies that increasing Y is down, while Acorn's that increasing Y is up. Apple, Atari and Commodore signals have been corroborated by diffing versions of Retronic Design's source code. The other interfaces' A/B order are direct from documentation without any interpretation. --> In several implementations (Archimedes, Atari ST, NeXT non-ADB), the mouse is connected to the keyboard and quadrature code is interpreted by the keyboard's [[Keyboard controller|microcontroller]], which in turn presents mouse input intermixed with keyboard input to the host over a type of serial protocol. On some machines, the ports were also used for game controllers (Apple IIc, Atari ST, Commodore Amiga). == 8 pin mini-DIN == <table align="right"> <tr><td align="center"> [[File:MiniDIN-8 Connector Pinout.svg|thumb|170px|center|View of 8-pin mini-DIN socket]] </td></tr> <tr><td> {|class="wikitable" align="right" ! NeXT pin<ref>Asterontech—[http://www.asterontech.com/Asterontech/trackman_next_mod.html Logitech TrackMan T-PA1-9MD Bus Mouse to NeXT non-ADB]. Retrieved 2019-04-11</ref> ! Assignment |- | 1 || +5V |- | 2 || XA |- | 3 || XB |- | 4 || YA |- | 5 || YB |- | 6 || Right button |- | 7 || Left button |- | 8 || Signal ground |- | Shell || Chassis ground |- |} </td></tr> </table> === NeXT (non-ADB) === The mouse shipped with the "NeXT Cube" was a bus mouse which plugged into the [[NeXT non-ADB|keyboard]]. The keyboard was plugged into the monitor screen, and used a proprietary serial protocol. The monitor in turn was plugged into the computer. {{-}} == 9-pin mini-DIN == <table align="right"> <tr><td align="center"> [[File:MiniDIN-9 Connector Pinout.svg|thumb|170px|center|View of 9-pin mini-DIN socket]] </td></tr> <tr><td> {|class="wikitable sortable" ! Microsoft !! Archimedes !! Assignment |- | 1 | 6 | +5V |- | 2 | 5 | XA |- | 3 | 1 | XB |- | 4 | 9 | YA |- | 5 | 7 | YB |- | 6 | 2 | Left button |- | 7 | 3 | Middle button |- | 8 | 8 | Right button |- | 9 | 4 | Signal ground |- | Shell | Shell | Chassis ground |} </td></tr></table> === Acorn Archimedes === Mice shipped with the [[Acorn Archimedes]] home/office computers. <ref>Documentation for [https://www.waitingforfriday.com/?p=827 SmallyMouse2 – Universal USB to Quadrature Mouse Adapter]</ref> <ref>Chris's Acorn—[http://chrisacorns.computinghistory.org.uk/docs/Acorn/Manuals/Acorn_A3000TRM.pdf Acorn Archimedes 500 series, Acorn R200 series Service Manual]. Retrieved 2019-04-12</ref> === Microsoft InPort === Microsoft mice could come bundled with an InPort<sup>TM</sup> ISA card to be installed in the PC. Rumour has it that the chip on Microsoft's InPort card could be reconfigured for other types of peripherals, but no product other than mouse is known. Many third-party peripherals were sold with just a Microsoft-compatible "Bus mouse" connector. NEC PC-98xx series computers use Microsoft's pinout<ref>http://nkmm.org/yagura/lib/</ref> {{-}} == 9-pin D-sub, female plug == {|class="wikitable sortable" align="right" ! Atari !! Amstrad !! Commodore !! Assignment |- | 2 | 1 | 2 | XA |- | 1 | 2 | 4 | XB |- | 3 | 4 | 1 | YA |- | 4 | 3 | 3 | YB |- | 5 | n/a | 5 | Middle button |- | 6 | 6 | 6 | Left button |- | 7 | 7 | 7 | +5V |- | 8 | 8 | 8 | Signal ground |- | 9 | 9 | 9 | Right button |- | n/a | n/a | Shell | Chassis ground |} Female DE-9 plug, male socket. Must not be confused with a 9-pin [[Serial interface|serial port]]. Serial mice' plugs tend to have thumbscrews, but on the Amiga, Atari and Amstrad, the cable's plugs did not, and some ports did not fit those plugs either. Some third-party mice were made both for the Commodore Amiga and Atari ST, with a switch to select which system it was used with. The Commodore Amiga and Atari ST mouse ports were also used for game controllers, and have thus inherited much of the [[Atari interface#Atari joysticks|Atari joystick]] pinout. Amstrad PCs however, have separate mouse and [[Atari interface#Amstrad|joystick ports]] that are ''not'' compatible with one-another. ===Atari ST=== The Atari ST has two DE-9 controller ports, the first for a mouse (or joystick) and the second only for a [[Atari interface#Atari joysticks|joystick]]). Both were interpreted by the keyboard's microcontroller. The left mouse button is the same as the first joystick Fire button, and the right mouse button is wired to the second port's joystick-Fire button input. ===Atari PC=== Atari PC's have a Atari ST-compatible mouse port on the motherboard.<ref name="ataripcom">Atari PC Owner's manual [http://www.ataripc.net/files/documents/archives/ownersmanual/Atari%20PC%20Owners%20Manual%20-%20English.pdf Scan on ataripc.net]. Page 65. Dated 1987. Retrieved 2019-03-24</ref>. The Atari PC supported also a third mouse button, but were shipped with the same two-button mouse as the Atari ST, only relabelled from "STM1" to "PCM1". <ref name="ataripcnetpc3">AtariPC.net—[http://www.ataripc.net/pc3-8088/ PC3 8088]. Retrieved 2019-03-24</ref>. ===Amstrad PC=== The Amstrad bus mouse port was on the motherboards of Amstrad PC-1512<ref name="amstradpc1512">[http://www.seasip.info/AmstradXT/1512tech/section1.html Amstrad PC1512 Technical Reference Manual]. Copy on John Elliott's homepage, retrieved 2019-03-29</ref> ,PC-1640<ref name="amstradpc1640">[http://www.seasip.info/AmstradXT/1640tech/section1.html AMSTRAD PC1640 TECHNICAL MANUAL]. Copy on John Elliott'shomepage, retrieved 2019-03-29</ref> and Sinclair PC-200<ref name="sinclairpc200">The Vintage Computer Club Malta—[https://web.computersmuseum.com/collection/sinclair/sinclair-pc-200/ SINCLAIR PC 200]. Retrieved 2019-03-26</ref> (made by Amstrad). A curious detail is that the two mouse buttons' lines were fed over the keyboard cable to the keyboard and reported by it as key codes. ===Commodore Amiga=== [[Commodore Amiga]] with AmigaOS were shipped with a two-button mouse. Commodore made a three-button mouse only for the Amiga 3000UX that ran Amiga [[UNIX]] but many third-party Amiga mice also came with middle-button. On the Amiga, quadrature signals are interpreted by circuitry in its custom chipset, with mouse support for both of its control ports. A second Amiga mouse is used only in some two-player games, but the second port's circuitry could also be used for rotary controllers such as steering wheels. In the late 1990s, there appeared third-party Amiga mice with [[scroll wheel]]s and up to five buttons. A special driver and utility are required to use them. Pin 5, which is analogue-capable (originally for [[Atari interface#Paddles|paddle controllers]]) is used to send this input as varying current. The third mouse-button is represented differently than earlier.<ref name="micromysv3">Micromys.de—[http://micromys.de/Amiga_devel.htm Micromys support page - Amiga mouse mode with wheel support]. Dated 2000. Retrieved 2019-03-24</ref> ===Commodore PC=== The Commodore PC-1, PC-10-III, PC-20-III, PC-30 and Colt have a single Amiga-compatible bus mouse port on the motherboard.<ref>Ancient Electronics blog—[https://ancientelectronics.wordpress.com/2015/06/17/commodore-colt-commodore-pc10-iii-pc20-iii/ Commodore Colt (Commodore PC10-III, PC20-III)]</ref><ref>The 8-bit Guy on Youtube—[https://www.youtube.com/watch?v=e63XWCW2ADY Commodore History Part 6 - The PC Compatibles]. Posted 2019-06-02</ref> {{-}} == 9-pin D-sub, male plug== Male DE-9 plug, female socket. {|class="wikitable sortable" align="right" ! Apple pin !! PC-98 pin !! Assignment |- | 1 || n/a || Chassis ground |- | 2 || 1 || +5 VDC |- | 3 || 9 || Signal ground |- | 4 || 2 || XA |- | 5 || 3 || XB |- | n/a || 8 || Right Button |- | 7 || 6 || Left/Button |- | 8 || 5 || YB |- | 9 || 4 || YA |- |} ===Apple=== Apple shipped bus mice with the Apple Lisa, the original Macintosh 128, Macintosh 512 and Macintosh Plus. There was also an expansion "Mouse Card" for the Apple II line. The Apple IIc has mouse hardware support built in, where the same port is also used to connect game controllers (whereas on other Apple II computers, mouse and game port would be separate). <ref>Pinouts.ru—[http://old.pinouts.ru/Inputs/MacMouse_pinout.shtml Macintosh Mouse pinout]. Dated 2017-05-30. Retrieved 2019-04-11</ref> === NEC PC-98 === Two mouse buttons are supported. <ref>[http://www.suwa-koubou.jp/micom/USBtoPC98/usbtopc98.html USBマウス・USBキーボードをPC-9801に接続する変換器の製作] ("Production of converter to connect USB mouse and USB keyboard to PC-9801"). Dated 2017-09-10. Retrieved 2019-04-12</ref> The pin numbering is the same as for [[#Microsoft InPort|9-pin mini-DIN]]. {{-}} ==Adaptors== === Bus mouse to serial port === * An adaptor from InPort to DB-25 [[serial interface|serial port]] was bundled with some variants of the "Dove bar" [[Microsoft mouse (3rd gen)|Microsoft Mouse]]. === Bus mouse to USB === * '''GuilleAcoustic''' made a bus mouse to [[USB]] adaptor, based on a [[Arduino Pro Micro|Pro Micro]] and Arduino programming environment.([https://deskthority.net/viewtopic.php?f=3&t=9874 Deskthority thread]), ([https://geekhack.org/index.php?topic=68612 Geekhack thread] ). Originally for Microsoft InPort but has later been modified by to work with an Apple [https://geekhack.org/index.php?topic=74340 M0100 mouse adapter] by '''Yoe''' on Geekhack. * [https://www.tinkerboy.xyz/product/tinkerboy-m0100-mouse-to-usb-converter/ tinkeryBOY M0100 Mouse to USB Converter]. Commercial adapter for Apple bus mice. * [https://www.retronicdesign.com/en Retronic Design] sells a microcontroller adaptor for devices with female and male DE-9 plug, with free schema and firmwares (.hex files and source code) for many different devices, including Apple, Amiga and Atari mice, plus game controllers. * [http://2600-daptor.com/ 2600-daptor]. Supports a large number of devices with female DE-9 port, including Amiga and Atari ST mice. Uses DIP switches or auto-detect if holding down first button when connecting. === PS/2 to vintage computer === * [http://amigakit.amiga.store/product_info.php?products_id=88 Cocolino PS/2 Mouse Adapter] for the Amiga. It has support for scroll wheel, third, fourth and fifth buttons (driver required). * [http://electronica4u.com/ Electronica4u]]'s ''Jerry'' and ''Jerry+'' adaptors for using a PS/2 mouse with USB connector with an Amiga or Atari ST. Jerry+ has a passthrough for a joystick. Usually sold on eBay. === USB to vintage computer === * [https://www.waitingforfriday.com/?p=827 SmallyMouse2 – Universal USB to Quadrature Mouse Adapter]. Based on an Atmel microcontroller. Free schema and firmware. ==External links== * [https://en.wikipedia.org/wiki/Bus_mouse Bus mouse] on Wikipedia * [http://www.oldmouse.com/miscellanea/PCconnectors.shtml PC Mouse Connectors and Adapters] on OldMouse.com ==References== <references/> [[Category:Pointing device terms]] [[Category:Pointing device protocols and interfaces]]
Summary:
Please note that all contributions to Deskthority Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Project:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Templates used on this page:
Template:-
(
edit
)
Template:Dbanner
(
edit
)
Template:TODO diagram
(
edit
)
Navigation menu
Page actions
Page
Discussion
Read
Edit
Edit source
History
Page actions
Page
Discussion
More
Tools
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Navigation
Main page
Deskthority forum
Support Deskthority
Search
Main categories
Guides
Keyboards
Keyboard switches
Keycaps
Keyboard modding
Pointing devices
Brands & companies
Group buys
Other topics
Wiki info & links
Recent changes
Random page
All pages
Deskthority wiki help
MediaWiki help
Tools
What links here
Related changes
Special pages
Page information