by techknight » 30 Mar 2012, 02:08
MidnightCommando wrote:BTW - has anyone looked at the Keyboard Babel project for ADB -> PS/2 conversion to implement in a microcontroller of some description?
As i mentioned in the other thread, i posted my simple PS/2 mouse reader for the Atmel AVR series for peeps to look at. PS/2 protocol is really easy. The ADB is a little less easy, its seems to use Manchester encoding, but they dont come outright and say that it IS Manchester encoding in the apple specs, and the reason for that is because true Manchester performs a transition at the center of the bit period. While the apple version of Manchester, doesnt do that. it is offset by their own timing specifications.
I found an Embedded C implementation of the ADB protocol for a ADB to USB adapter code at the SE/ARM project site. I was briefly looking over it, but i am totally lost because i dont understand embedded C operators and how they work together in the same line of code.
Main PC: Intel core I7 920, MSI x58 platinum, Radeon4850
PB: tibook G4, ibook G4, Lombard, 160, 165, 180, Duo 2300x2, Duo 270c x2, 520cPPC, 3400c, 1400c
Desktop: G3AIO, 5260/100 x2, SE, SE/30, 512k, plus, LCIII, 7100, iMac G5 iSight, 6400/225