Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main Page
Community Portal
Village Pump
Recent Changes
Upload File
Help
Help Contents
Editing Guide
Repair Guide Template
Sandbox
Browse Wiki
๐ Service Manuals
๐ Schematics
๐ Apple
๐ฎ Nintendo
๐ Sega
โก Troubleshooting
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Apple Desktop Bus
(section)
Page
Discussion
English
Read
Edit
Edit source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
Edit source
View history
General
What links here
Related changes
Page information
Appearance
move to sidebar
hide
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!
== Technical Specifications == === Physical Interface === {| class="wikitable" style="width:60%; text-align:center;" |+'''ADB Connector Pinout (Mini-DIN 4)''' ! Pin !! Signal !! Description !! Specifications |- | 1 || ADB Data || Bidirectional serial data || Open collector, 5V pull-up |- | 2 || PSW || Power switch || Direct connection to power supply |- | 3 || +5V || Power supply || 500mA total, 100mA per device max |- | 4 || GND || Ground reference || Common ground |} The connector is physically identical to the 4-pin mini-DIN used for S-Video, leading to potential confusion. However, pins 1 and 2 are bridged in some S-Video cables, which can cause catastrophic damage if used with ADB devices. === Electrical Characteristics === * '''Bus topology:''' Multi-drop, daisy-chain capable * '''Signal type:''' Open collector with 5V pull-up resistors * '''Logic levels:''' TTL compatible (0V = low, 5V = high) * '''Cable length:''' Maximum 5 meters total bus length * '''Power distribution:''' 500mA at 5V total available * '''Device power limit:''' 100mA per device maximum === Protocol Specifications === ==== Bit Encoding ==== ADB uses self-clocking duty-cycle modulation where each bit period is 100ฮผs: * '''Logic 0:''' 65ฮผs low, 35ฮผs high * '''Logic 1:''' 35ฮผs low, 65ฮผs high * '''Start bit:''' Always logic 1 * '''Stop bit:''' Always logic 0 ==== Transaction Structure ==== Each ADB transaction consists of: # '''Attention signal:''' Host pulls bus low for 800ฮผs # '''Sync signal:''' Bus high for 70ฮผs # '''Command byte:''' 8 bits transmitted by host # '''Stop bit:''' Logic 0 # '''Service Request window:''' 65-300ฮผs (device can assert SRQ) # '''Stop-to-start time (Tlt):''' 140-260ฮผs bus high # '''Data transfer:''' 2-8 bytes (if applicable) ==== Command Format ==== Commands are 8 bits structured as: * '''Bits 7-4:''' Device address (0-15) * '''Bits 3-2:''' Command type * '''Bits 1-0:''' Register number {| class="wikitable" style="width:70%; text-align:center;" |+'''ADB Command Types''' ! Command !! Binary !! Description !! Action |- | SendReset || 00 || System reset || All devices reset to default state |- | Flush || 01 || Flush device || Clear device buffer for specified register |- | Reserved || 10 || Reserved || Not used |- | Reserved || 11 || Reserved || Not used |- | Listen || 10 || Write to device || Host sends data to device register |- | Talk || 11 || Read from device || Device sends register contents to host |} === Device Registers === Each ADB device implements four registers: {| class="wikitable" style="width:80%; text-align:center;" |+'''Standard ADB Register Definitions''' ! Register !! Purpose !! Size !! Description |- | 0 || Device data || 2-8 bytes || Primary data (keyboard keys, mouse movement) |- | 1 || Device-specific || Variable || Extended features or configuration |- | 2 || Device-specific || Variable || Additional features (e.g., keyboard LEDs) |- | 3 || Status/Command || 2 bytes || Device ID, address, and handler ID |} ==== Register 3 Format ==== Register 3 contains device identification and configuration: * '''Bits 15-8:''' Exceptional event flags (device-specific) * '''Bits 7-0:''' Device handler ID * '''Bits 11-8:''' Device address (when read) * '''Service Request Enable:''' Bit 13
Summary:
Please note that all contributions to RetroTechCollection 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
RetroTechCollection:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Search
Search
Editing
Apple Desktop Bus
(section)
Add topic