Share to: share facebook share twitter share wa share telegram print page

Apple Desktop Bus

Apple Desktop Bus
The Apple Desktop Bus icon and an early Apple Desktop Bus keyboard
Type Human input device interface
Production history
Designer Apple Computer
Designed 1986; 38 years ago (1986)
Manufacturer Apple Computer Inc.
Produced 1986 to 1999
Superseded RS-422/6522 keyboard and mouse
Superseded by USB and FireWire (1998–1999)
General specifications
Hot pluggable occasional support
External yes
Pins 4
Connector Mini-DIN
Data
Data signal Bi-directional serial command stream
Bitrate 125 kbit/s maximum
(~10 kbit/s actual)
Max. devices 16 maximum
(~5 actual, 3 supported)
Protocol Serial
Pinout
Female socket from the front
Pin 1 Apple Device Bus Data
Pin 2 PSW Power on
Pin 3 +5 V +5 volts power
Pin 4 GND Ground
Same connector as S-Video

Apple Desktop Bus (ADB) is a proprietary[1] bit-serial peripheral bus connecting low-speed devices to computers. It was introduced on the Apple IIGS in 1986 as a way to support low-cost devices like keyboards and mice, enabling them to be connected together in a daisy chain without the need for hubs or other devices. Apple Desktop Bus was quickly introduced on later Macintosh models, on later models of NeXT computers, and saw some other third-party use as well. Like the similar PS/2 connector used in many PC-compatibles at the time, Apple Desktop Bus was rapidly replaced by USB as that system became popular in the late 1990s; the last external Apple Desktop Bus port on an Apple product was in 1999, though it remained as an internal-only bus on some Mac models into the 2000s.

History

AppleBus

Early during the creation of the Macintosh computer, the engineering team had selected the fairly sophisticated Zilog 8530 to supply serial communications. This was initially done to allow multiple devices to be plugged into a single port, using simple communication protocols implemented inside the 8530 to allow them to send and receive data with the host computer. The idea was to allow multiple devices to be connected to a port, eliminating the need for many different types of ports or the use of expansion slots.[2]

During development of this AppleBus system, computer networking became a vitally important feature of any computer system. With no card slots, the Macintosh was unable to easily add support for Ethernet or similar local area networking standards. Work on AppleBus was re-directed to networking purposes, and was released in 1985 as the AppleTalk system. This left the Mac with the original single-purpose mouse and keyboard ports, and no general-purpose system for low-speed devices to use.[2]

Apple Desktop Bus

The first system to use Apple Desktop Bus was the Apple IIGS of 1986. It was used on all Apple Macintosh machines starting with the Macintosh II and Macintosh SE. Apple Desktop Bus was also used on later models of NeXT computers.[3] The vast majority of Apple Desktop Bus devices are for input, including trackballs, joysticks, graphics tablets and similar devices. Special-purpose uses included software protection dongles and even the TelePort modem.

Move to USB

The first Macintosh to move on from Apple Desktop Bus was the iMac in 1998, which uses USB in its place. The last Apple computer to have an Apple Desktop Bus port is the Power Macintosh G3 (Blue and White) in 1999. PowerPC-based PowerBooks and iBooks still used the Apple Desktop Bus protocol in the internal interface with the built-in keyboard and touchpad. Subsequent models use a USB-based trackpad.

Design

Physical

In keeping with Apple's general philosophy of industrial design, Apple Desktop Bus was intended to be as simple to use as possible, [citation needed] while still being inexpensive to implement. A suitable connector was found in the 4-pin mini-DIN, which is also used for (but incompatible with) S-Video. The connectors are small, widely available, and can only be inserted the "correct way". They do not lock into position, but even with a friction fit, they are firm enough for light duties like ADB.

ADB protocol requires only a single pin for data, labeled Apple Desktop Bus. The data signal is self-clocking by sending a 0 as low for 65 microseconds and high for 35 μs, while sending a 1 uses the opposite timing.[4] It is a multi-drop open collector design with pull-ups to 5 V and uses collision detection to avoid device ID conflicts as well as clock stretching on the stop bit to indicate that a device requires a service request.[4] Two of the other pins are used for +5 V power and ground. The +5 V pin guarantees at least 500 mA, and requires devices to use only 100 mA each. ADB also includes the PSW (Power Switch) pin which is attached directly to the power supply of the host computer. This is included to allow a keypress on the keyboard to start the machine without needing the ADB software to interpret the signal. In more modern designs, an auxiliary microcontroller is always kept running, so it is economical to use a power-up command over the standard USB channel.

The decoding transceiver ASIC as well as associated patents were controlled by Apple; this required vendors to work with Apple. In the Macintosh SE, the Apple Desktop Bus is implemented in an Apple-branded Microchip PIC16CR54 microcontroller.

ADB is implemented in an early Microchip PIC microcontroller in the Macintosh SE.

Communication

The Apple Desktop Bus system is based around the devices having the ability to decode a single number (the address) and being able to hold several small bits of data (their registers). All traffic on the bus is driven by the host computer, which sends out commands to read or write data: devices are not allowed to use the bus unless the computer first requests it.

These requests take the form of single-byte strings. The upper four bits contain the address, the ID of one of the devices on the chain. The four bits allow for up to 16 devices on a single bus. The next two bits specify one of four commands, and the final two bits indicate one of four registers. The commands are:

  • talk - tells the selected device to send the contents of a register to the computer
  • listen - tells the device to set the register to the following value
  • flush - clear the contents of a selected register
  • reset - tell all devices on the bus to reset

For instance, if the mouse is known to be at address $D, the computer will periodically send out a 1-byte message on the bus that looks something like:

1101 11 00

This says that device $D (1101) should talk (11) and return the contents of register zero (00). To a mouse this means "tell me the latest position changes". Registers can contain between two and eight bytes. Register zero is generally the primary communications channel. Registers one and two are undefined, and are generally intended to allow 3rd party developers to store configuration information. Register three always contains device identification information.

Enumeration and identification

The addresses and enumeration of the devices are set to default values when reset. For instance, all keyboards are set to $2, and all mice to $3. When the machine is first powered on, the ADB device driver will send out talk commands asking each of these known default addresses, in turn, for the contents of register three. If no response comes from a particular address, the computer marks it dead and doesn't bother polling it later.

If a device does respond, it does so by saying it is moving to a new randomly selected higher address. The computer then responds by sending another command to that new address, asking the device to move to yet another new address. Once this completes, that device is marked live, and the system continues polling it in the future. Once all of the devices are enumerated in this fashion, the bus is ready to be used.

Although it was not common, it is possible for the Apple Desktop Bus to have more than one device of the same sort plugged in — two graphics tablets or software copy protection dongles, for instance. In this case when it asks for devices on that default address, both will respond and a collision could occur. The devices include a small bit of timing that allows them to avoid this problem. After receiving a message from the host, the devices wait a short random time before responding, and then only do so after "snooping" the bus to make sure it was not busy.

With two dongles plugged in, for instance, when the bus is first setting up and queries that address, one of them will be the first to respond due to the random wait timer. The other will notice the bus was busy and not respond. The host will then send out another message to that original address, but since one device has moved to a new address, only the other will then respond. This process continues until no one responds to the request on the original address, meaning there are no more devices of that type to enumerate.

Data rates on the bus are theoretically as high as 125 kbit/s. However, the actual speed is at best half that, due to there being only one pin being shared between the computer and devices, and in practice, throughput is even less, as the entire system was driven by how fast the computer polls the bus. The classic Mac OS is not particularly well suited to this task, and the bus often gets bogged down at about 10 kbit/s. Early Teleport modems running at 2400 bit/s have no problems using Apple Desktop Bus, but later models were forced to move to the more expensive RS-422 ports as speeds moved to 14.4 kbit/s and higher.

Problems

While Mini-DIN connectors cannot be plugged in the "wrong way", it is possible to have trouble finding the right way without looking inside the circular connector's shroud. Apple attempted to help by using U-shaped soft plastic grips around the connectors to key both plugs and sockets so the flat side has a specific relation to the shell keyway, but this feature was ignored by some third-party manufacturers. Additionally, there are four ways to orient the receiving socket on a device such as a keyboard; various Apple keyboards use at least three of these possible orientations.

The mini-DIN connector is only rated for 400 insertions and it is easy to bend a pin if not inserted with caution; in addition, the socket can become loose, resulting in intermittent function.

Some Apple Desktop Bus devices lack a pass-through connector, making it impossible to daisy-chain more than one such device at a time without obscure splitter units. Few mice or trackballs have them.

In spite of being electrically unsafe for hot-swapping on all but a few machines, ADB has all the basic capabilities needed for hot-swapping (like modern buses) implemented in its software and hardware. On practically all original Apple Desktop Bus systems, it is not safe to plug a device once the system is powered on. This can cause the opening of a soldered-in fuse on the motherboard. If brought to an authorised dealer, this can result in a motherboard swap at a significant expense. The simpler alternative is to obtain a fuse at a nominal cost and wire it in parallel across the open motherboard fuse (not necessarily requiring soldering).

Patents

  • 4,875,158 Ashkin; Peter B. (Los Gatos, CA), Clark; Michael (Glendale, CA)
  • 4,910,655 Ashkin; Peter B. (Los Gatos, CA), Clark; Michael (Glendale, CA)
  • 4,912,627 Ashkin; Peter B. (Los Gatos, CA), Clark; Michael (Glendale, CA)
  • 4,918,598 Ashkin; Peter B. (Los Gatos, CA), Clark; Michael (Glendale, CA)
  • 5,128,677 Donovan; Paul M. (Santa Clara, CA), Caruso; Michael P. (Sudbury, MA)
  • 5,175,750 Donovan; Paul M. (Santa Clara, CA), Caruso; Michael P. (Sudbury, MA)
  • 5,828,857 Scalise; Albert M. (San Jose, CA)

See also

References

  1. ^ "ADB - The Untold Story: Space Aliens Ate My Mouse", "Licensing" section Archived December 27, 2016, at the Wayback Machine; see also this page's Patent section.
  2. ^ a b Oppenheimer, Alan (January 2004). "A History of Macintosh Networking". MacWorld Expo. Archived from the original on October 16, 2006.
  3. ^ ""NetBSD/next68k: Frequently Asked Questions "". Archived from the original on October 29, 2013. Retrieved October 25, 2013.
  4. ^ a b Apple Computer, Inc (1990). "Guide to Macintosh Family Hardware, second edition". p. 317-320. ISBN 0-201-52405-8.

Read other articles:

Berbagai jenis jarum rajut Orang sedang merajut memakai dua jarum rajut. Jarum rajut atau hakpen adalah alat yang dipakai sewaktu merajut benang dengan tangan untuk menghasilkan kain rajutan. Bentuknya yang paling umum berupa batang panjang yang meruncing pada salah satu ujungnya, tetapi tidak seruncing jarum jahit. Jarum jenis ini dipergunakan dalam merajut dengan teknik kniitting. Jarum untuk merenda yang memiliki pengait pada ujungnya disebut disebut jarum renda (hakpen). Jarum jenis ini dipe…

Arif Satria Rektor Institut Pertanian BogorMasa jabatan2017–2022MenteriMuhadjir EffendyNadiem Makarim PendahuluProf. Dr. Ir. Herry Suhardiyanto, M.ScPenggantiPetahanaMasa jabatan2023–2028MenteriNadiem Makarim PendahuluPetahanaPenggantiPetahana Informasi pribadiAlma materInstitut Pertanian BogorUniversitas KagoshimaPekerjaanAkademisiSunting kotak info • L • B Prof. Arif Satria, S.P., M.Si., Ph.D (lahir 17 September 1971) adalah seorang akademisi yang berasal dari Indonesia. Ia t…

This article needs additional citations for verification. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed.Find sources: Massachusetts Appellate Tax Board – news · newspapers · books · scholar · JSTOR (July 2012) (Learn how and when to remove this template message) The Massachusetts Appellate Tax Board (ATB) is a quasi-judicial agency within the Commonwealth of Massachusetts' Office…

Town in Rhode Island, United StatesScituate, Rhode IslandTown SealLocation in Providence County and the state of Rhode Island.Coordinates: 41°47′N 71°37′W / 41.783°N 71.617°W / 41.783; -71.617CountryUnited StatesStateRhode IslandCountyProvidenceIncorporated1731Government • TypeTown commission • Town CouncilTheresa Yeaw (R)David A. D'Agostino (R)Michael Marcello (R)James Brady Jr. (R)Abbie Groves (R)Gary Grande (R)Tim McCormick (R)Area …

Judgement of the High Court of Australia This article includes a list of general references, but it lacks sufficient corresponding inline citations. Please help to improve this article by introducing more precise citations. (January 2018) (Learn how and when to remove this template message) Bolton v MadsenCourtHigh Court of AustraliaDecided6 June 1963Citation(s)[1963] HCA 16, (1963) 110 CLR 264Case historyAppealed fromMagistrates Court (Qld)Court membershipJudge(s) sitting…

Mihara-ku in the city Mihara-ku (美原区) is a ward of the city of Sakai in Osaka Prefecture, Japan. The ward has an area of 13.24 km² and a population of 39,230. The population density is 2,960 per square kilometer. The wards of Sakai were established when Sakai became a city designated by government ordinance on April 1, 2006. This ward includes the former town of Mihara, which joined Sakai by merger on February 1, 2005. Sources This article incorporates material from 美原区 (Mihara…

باب الفرج (حلب)   تقديم البلد سوريا  مدينة حلب  إحداثيات 36°12′14″N 37°09′09″E / 36.20388889°N 37.1525°E / 36.20388889; 37.1525  الموقع الجغرافي تعديل مصدري - تعديل   36°12′14″N 37°9′9″E / 36.20389°N 37.15250°E / 36.20389; 37.15250 باب الفرج تظهر في الصورة ساعة باب الفرج باب الفرج يقع ف…

Pengerjaan Pertahanan Venesia antara abad ke-16 dan ke-17: Stato da Terra – barat Stato da MarSitus Warisan Dunia UNESCO Pengerjaan Pertahanan Venesia antara abad ke-16 dan ke-17: Stato da Terra – barat Stato da Mar adalah denominasi resmi yang diberikan oleh UNESCO untuk enam tembok pertahanan yang dibangun oleh Republik Venesia di domain utamanya (Stato da Terra) dan teritorialnya yang terbentang di sepanjang pantai Laut Adriatik (Stato da Mar). Properti Situs Gambar Lokasi Kota Benteng Be…

Amerika SerikatJulukanYanks, The Stars & Stripes (Bintang & Garis)[1]The Red, White and Blue (Merah, Putih dan Biru)[2]AsosiasiFederasi Sepak Bola Amerika Serikat (USSF)KonfederasiCONCACAF (Amerika Utara, Tengah, dan Karibia)Sub-konfederasiNAFU (Amerika Utara)Pelatih Gregg Berhalter[3]KaptenChristian PulisicPenampilan terbanyakCobi Jones (164)Pencetak gol terbanyakLandon Donovan & Clint Dempsey (57)Stadion kandangBervariasi (sesuai kebutuhan)Peringkat FIFATerk…

The Inn redirects here. For the non-profit organization, see Interfaith Nutrition Network. American TV series or program Do Not DisturbIntertitleAlso known asThe InnGenreSituation comedyCreated byAbraham HigginbothamDeveloped byPaul YoungPeter PrincipatoStarringJerry O'ConnellJesse Tyler FergusonJolene PurdyMolly StantonDave FrancoNiecy NashComposerPaul BuckleyCountry of originUnited StatesOriginal languageEnglishNo. of seasons1No. of episodes5 (2 unaired)ProductionExecutive producersBrian Dobbi…

† Человек прямоходящий Научная классификация Домен:ЭукариотыЦарство:ЖивотныеПодцарство:ЭуметазоиБез ранга:Двусторонне-симметричныеБез ранга:ВторичноротыеТип:ХордовыеПодтип:ПозвоночныеИнфратип:ЧелюстноротыеНадкласс:ЧетвероногиеКлада:АмниотыКлада:СинапсидыКл…

Pour les articles homonymes, voir Cinq-Mars. Éphémérides Mars 1er 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31         5 février 5 avril Chronologies thématiques Croisades Ferroviaires Sports Disney Anarchisme Catholicisme Abréviations / Voir aussi (° 1852) = né en 1852 († 1885) = mort en 1885 a.s. = calendrier julien n.s. = calendrier grégorien Calendrier Calendrier perpétuel Liste de calendriers Naissances du jour modifier Le…

Minister of Road Transport and Highways of India Nitin GadkariGadkari in 2023Minister of Road Transport and HighwaysIncumbentAssumed office 26 May 2014PresidentPranab MukherjeeRam Nath KovindDroupadi MurmuPrime MinisterNarendra ModiPreceded byOscar FernandesMinister of Micro, Small and Medium EnterprisesIn office30 May 2019 – 7 July 2021PresidentRam Nath KovindPrime MinisterNarendra ModiPreceded byGiriraj SinghSucceeded byNarayan RaneMinister of ShippingIn office26 May 2014 …

Cultural grooming practice This article needs additional citations for verification. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed.Find sources: Leg shaving – news · newspapers · books · scholar · JSTOR (July 2011) (Learn how and when to remove this message) Woman shaving her legs Leg shaving is the practice of removing leg hair by shaving the hair off using a razor or electric s…

Daftar Penghargaan Rihanna Rihanna saat di Red Carpet American Music Awards 2009 Penghargaan Menang Nominasi American Music Awards 4 4 Barbados Music Awards 33 43 BET Awards 2 8 Billboard Awards 15 15 BRIT Awards 1 3 ECHO Awards 0 3 Grammy Awards 4 15 International Dance Music Awards 1 2 Japan Gold Disc Award 1 1 Juno Awards 1 1 MOBO Awards 2 4 MTV Africa Music Awards 0 2 MTV Australia Awards 1 3 MTV Europe Music Awards 2 11 MTV Video Music Awards 2 6 MTV Video Music Awards Latin America 1 5 MTV…

Incidental music composed by Ludwig van Beethoven for Johann Wolfgang von Goethe's 1787 play Count of Egmont Overture from Egmont (9:01) Problems playing this file? See media help. Egmont, Op. 84 by Ludwig van Beethoven, is a set of incidental music pieces for the 1787 play of the same name by Johann Wolfgang von Goethe.[1] It consists of an overture followed by a sequence of nine pieces for soprano, male narrator, and full symphony orchestra. The male narrator is optional; he is not use…

National supreme court This article needs additional citations for verification. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed.Find sources: Supreme Court of Belarus – news · newspapers · books · scholar · JSTOR (January 2021) (Learn how and when to remove this message) Supreme Court of the Republic of BelarusВярхоўны суд Рэспублікі БеларусьВерхо…

City in Alaska, United States City in Alaska, United StatesBethel, Alaska MamterilleqOrutsaraqCityAerial view of Bethel on the Kuskokwim RiverLocation of Bethel within the state of AlaskaCoordinates: 60°47′32″N 161°45′21″W / 60.79222°N 161.75583°W / 60.79222; -161.75583CountryUnited StatesStateAlaskaBoroughUnorganizedCensus AreaBethelANCSA regional corporationCalistaIncorporatedAugust 1957[1]Government[4][5] • TypeCouncil–…

Jœuf Église Notre-Dame-de-Franchepré. Héraldique Administration Pays France Région Grand Est Département Meurthe-et-Moselle Arrondissement Briey Intercommunalité Communauté de communes Orne Lorraine Confluences Maire Mandat André Corzani 2020-2026 Code postal 54240 Code commune 54280 Démographie Gentilé Joviciens[1] Populationmunicipale 6 560 hab. (2021 ) Densité 2 063 hab./km2 Géographie Coordonnées 49° 13′ 50″ nord, 6° 00′ 35…

Gouvernement René Viviani (2) Troisième République Carte postale reproduisant les portraits photographiques des membres du gouvernement de la Défense nationale. Données clés Président de la République Raymond Poincaré Président du Conseil René Viviani Formation 26 août 1914 Fin 29 octobre 1915 Durée 1 an, 2 mois et 3 jours Composition initiale Coalition Union sacrée(PRS - PRRRS - SFIO - RI - PRD - FR) Représentation Chambre des députés 601  /  601 René …

Kembali kehalaman sebelumnya