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:

У Вікіпедії є статті про інших людей із прізвищем Химинець. Химинець Василь ВасильовичХиминець Василь Васильович Народився 13 листопада 1970(1970-11-13) (53 роки)с. Кибляри Ужгородський район, Закарпатська область, Українська РСР, СРСРГромадянство  СРСР→ УкраїнаНаціональн...

 

 

Bagian dari seriGereja Katolik menurut negara Afrika Afrika Selatan Afrika Tengah Aljazair Angola Benin Botswana Burkina Faso Burundi Chad Eritrea Eswatini Etiopia Gabon Gambia Ghana Guinea Guinea-Bissau Guinea Khatulistiwa Jibuti Kamerun Kenya Komoro Lesotho Liberia Libya Madagaskar Malawi Mali Maroko Mauritania Mauritius Mesir Mozambik Namibia Niger Nigeria Pantai Gading Republik Demokratik Kongo Republik Kongo Rwanda Sao Tome dan Principe Senegal Seychelles Sierra Leone Somalia Somaliland ...

 

 

Bagian dari seri tentangBuddhisme SejarahPenyebaran Sejarah Garis waktu Sidang Buddhis Jalur Sutra Benua Asia Tenggara Asia Timur Asia Tengah Timur Tengah Dunia Barat Australia Oseania Amerika Eropa Afrika Populasi signifikan Tiongkok Thailand Jepang Myanmar Sri Lanka Vietnam Kamboja Korea Taiwan India Malaysia Laos Indonesia Amerika Serikat Singapura AliranTradisi Buddhisme prasektarian Aliran Buddhis awal Mahāsāṃghika Sthaviravāda Aliran kontemporer Theravāda Mahāyāna Vajrayāna Kon...

Pour les articles homonymes, voir Vignes. Jules VignesLibération, « Organe d'Éducation Libertaire », numéro 3 de décembre 1927.BiographieNaissance 13 avril 1884ToulouseDécès 28 mars 1970 (à 85 ans)5e arrondissement de LyonNom de naissance Jules Émile VignesNationalité françaiseActivités Journaliste, syndicaliste, idistemodifier - modifier le code - modifier Wikidata Jules Vignes, Toulouse, 13 avril 1884 - Lyon, 28 mars 1970, est un propagandiste anarchiste, et «&...

 

 

Bupati Timor Tengah UtaraLambang Timor Tengah UtaraPetahanaJuandi Davidsejak 26 Februari 2021Masa jabatan5 tahunDibentuk1958Pejabat pertamaPetrus Canisius Tarcisius SalassaSitus webhttps://ttukab.go.id Berikut daftar Bupati Timor Tengah Utara dari masa ke masa: No. Potret Nama(Masa Hidup) Mulai Menjabat Selesai Menjabat Prd. Jabatan Sebelumnya Wakil Bupati Ket. M.E.Ngefak 1 Januari 1957 20 Desember 1958 Sekretaris Daerah Timor dan Kepulauan SK Gubernur Nusa Tenggara No.494/UP.3/3/41 M.E....

 

 

Legislative election in Arizona 2014 Arizona Senate election ← 2012 November 4, 2014 2016 → All 30 seats of the Arizona Senate16 seats needed for a majority   Majority party Minority party   Leader Andy Biggs Katie Hobbs Party Republican Democratic Leader's seat 12th 24th Seats before 17 13 Seats after 17 13 Seat change Results:     Democratic hold      Republican hold Senate President before...

Football tournamentThe Custodian of the Two Holy Mosques' CupOrganising bodySaudi Arabia Football Federation (SAFF)Founded1957; 67 years ago (1957)RegionSaudi ArabiaNumber of teams32Qualifier forAFC Champions League 2International cup(s)AFC Champions League 2Current championsAl-Hilal (10th title)Most successful club(s)Al-Ahli (13 titles)Television broadcastersShahid / SSC 2023–24 King Cup The King Cup (sometimes spelled King's Cup),[1] officially known as The Custo...

 

 

This article is about the TV channel partially owned by AEG. For their ticketing platform, see AXS (company). American specialty television channel Television channel AXS TVCountryUnited StatesBroadcast areaNationwideHeadquartersDenver, Colorado(with offices in Dallas and Los Angeles)ProgrammingLanguage(s)EnglishPicture format1080i (HDTV)480i (SDTV)OwnershipOwnerAXS TV, LLC(Anthem Sports & Entertainment[majority owner]2929 EntertainmentAEG)Sister channelsHDNet MoviesPursuit ChannelGameTV ...

 

 

Ruinas ArruìnasKomuneComune di RuinasLokasi Ruinas di Provinsi OristanoNegaraItaliaWilayah SardiniaProvinsiOristano (OR)Pemerintahan • Wali kotaEster TattiLuas • Total30,46 km2 (11,76 sq mi)Ketinggian359 m (1,178 ft)Populasi (2016) • Total667[1]Zona waktuUTC+1 (CET) • Musim panas (DST)UTC+2 (CEST)Kode pos09085Kode area telepon0783Situs webhttp://www.comuneruinas.it Ruinas (bahasa Sardinia: Arruìnas) adalah...

Masjid Sultan Syarif HasyimAgamaAfiliasiIslamLokasiLokasiKabupaten Siak, Riau, IndonesiaArsitekturTipeMasjid Masjid Sultan Syarif Hasyim merupakan sebuah masjid yang terletak di Kabupaten Siak, Indonesia. Lima kubah besar yang didominasi warna baru dipadu kuning terlihat sangat mencolok. Model kubah tersebut banyak dipakai oleh masjid-masjid besar di Provinsi Riau. Terdapat juga nmenara di salah satu sudut pintu masuk area masjid. Pintu tersebut pun cukup unik karena langsung terhubung dengan...

 

 

Untuk lagu yang dinyanyikan ulang sekaligus diterjemahkan ke dalam Bahasa Indonesia oleh JKT48 dan dirilis pada tahun 2023, lihat Ponytail dan Shu-shu (versi 2023). Ponytail to ShushuSampul Tipe A menampilkan Atsuko Maeda, Jurina Matsui (SKE48), Yuko Oshima, Minami Takahashi, dan Mayu Watanabe.Singel oleh AKB48dari album Koko ni Ita KotoSisi-BNusumareta KuchibiruBoku no YellMajijo Teppen BluesDirilis26 Mei 2010 (2010-05-26)FormatCD Singel, unduh digitalGenreJ-popDurasi4:29LabelKing Recor...

 

 

American film production company Plan B Entertainment, Inc.Company typeDivisionIndustryMotion pictures, EntertainmentPredecessorBrad Grey PicturesFoundedNovember 2, 2001; 22 years ago (2001-11-02)Founders Brad Pitt Brad Grey Kristin Hahn Jennifer Aniston Headquarters9150 Wilshire BoulevardBeverly Hills, California, U.S.Key people Brad Pitt (CEO) Dede Gardner (Co-President) Jeremy Kleiner (Co-President) Products Film Television films Television shows ParentMediawan (60%) Plan...

City in Georgia, United StatesHamilton, GeorgiaCityHamilton, GeorgiaMotto: The heart of Harris County[1]Location in Harris County and the state of GeorgiaCoordinates: 32°45′53″N 84°52′23″W / 32.76472°N 84.87306°W / 32.76472; -84.87306CountryUnited StatesStateGeorgiaCountyHarrisNamed forPaul HamiltonArea[2] • Total3.41 sq mi (8.84 km2) • Land3.41 sq mi (8.84 km2) • Water0...

 

 

习近平 习近平自2012年出任中共中央总书记成为最高领导人期间,因其废除国家主席任期限制、开启总书记第三任期、集权统治、公共政策与理念、知识水平和自述经历等争议,被中国大陸及其他地区的民众以其争议事件、个人特征及姓名谐音创作负面称呼,用以恶搞、讽刺或批评习近平。对习近平的相关负面称呼在互联网上已经形成了一种活跃、独特的辱包亚文化。 权力�...

 

 

NGC 4346   الكوكبة السلوقيان[1]  رمز الفهرس NGC 4346 (الفهرس العام الجديد)MCG+08-23-016 (فهرس المجرات الموروفولوجي)PGC 40228 (فهرس المجرات الرئيسية)UGC 7463 (فهرس أوبسالا العام)2MASX J12232794+4659379 (Two Micron All-Sky Survey, Extended source catalogue)SDSS J122327.95+465937.6 (مسح سلون الرقمي للسماء)UZC J122328.0+465938 (فهرس زفيكي المحدّ�...

Name for valley commonly used in Ireland, Scotland and the Isle of Man This article is about the geographical feature. For other uses, see Glen (disambiguation). Glendun, one of the Glens of Antrim in Northern Ireland A glen is a valley, typically one that is long and bounded by gently sloped concave sides, unlike a ravine, which is deep and bounded by steep slopes. The word is Goidelic in origin: gleann in Irish and Scottish Gaelic, glion in Manx. The designation glen also occurs often in pl...

 

 

2007 Jamaican general election ← 2002 3 September 2007 2011 → All 60 seats in the House of RepresentativesTurnout61.46% ( 2.40pp)   First party Second party   Leader Bruce Golding Portia Simpson-Miller Party JLP PNP Last election 47.38%, 26 seats 52.09%, 34 seats Seats won 32 28 Seat change 6 6 Popular vote 410,438 405,293 Percentage 50.27% 49.64% Swing 2.89pp 2.45pp Prime Minister before election Portia Simpson-Miller PNP Prime Minister af...

 

 

Elections in Bulacan 2022 Bulacan gubernatorial election ← 2019 May 9, 2022 2025 → Registered2,007,523Turnout80.62%   Nominee Daniel Fernando Wilhelmino Sy-Alvarado Party NUP PDP–Laban Running mate Alex Castro Jonjon Mendoza Popular vote 987,160 586,650 Percentage 61% 36.25% Shaded breakdown of the city/municipality results. Darker shaded cities/municipalities indicate a larger margin-of-victory of the winning candidate. Governor before election Daniel F...

Voce principale: Associazione Calcio Siena. AC SienaStagione 1992-1993Sport calcio Squadra Siena Allenatore Luciano Vescovi, poi Giulio Pelati Presidente Dott. Max Paganini Serie C116º[1] Maggiori presenzeCampionato: Chiodini (30) Miglior marcatoreCampionato: Coppola e Lapini (4) StadioArtemio Franchi 1991-1992 1993-1994 Si invita a seguire il modello di voce Questa voce raccoglie le informazioni riguardanti l'Associazione Calcio Siena nelle competizioni ufficiali della stagion...

 

 

This article does not cite any sources. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed.Find sources: Black and White 2008 Italian film – news · newspapers · books · scholar · JSTOR (June 2020) (Learn how and when to remove this message) 2008 Italian filmBlack and WhiteTheatrical release posterItalianBianco e nero Directed byCristina ComenciniWritten byCristina ComenciniGiu...