Thread View: comp.sys.mac.programmers
1 messages
1 total messages
Started by Glenn Andreas
Thu, 07 Feb 1991 17:14
Making an ADB device
Author: Glenn Andreas
Date: Thu, 07 Feb 1991 17:14
Date: Thu, 07 Feb 1991 17:14
23 lines
1855 bytes
1855 bytes
Does anyone know where to get information on how to actually make an ADB device? The hardware ref. book shows lots of information, especially regarding timings, etc... but there really isn't a simple example of how to make an ADB device. I'm looking at making something like the "Gold Brick" device (for hooking up Nintendo devices to Macs), but simpler - i.e. it only need be able to handle a joystick (no U-Force, no PowerGlove, etc... and $195 is a bit too pricy for a joystick). I can design a circuit to read the joystick and figure out when a change in one of the buttons happens, but how to take that 8-bit data and communicate over the ADB bus is beyond me. The software seems simple enough as well - when an interrupt for that device occurs, figure out what button has changed, and then post and up or down key event from some table mapping the joystick to keys - maybe have some way to map some button to modifier keys as well. All I need how to take a register with data in it an send it off across the ADB bus. I know that ADB mice have a small, $2 microprocessor that does all the work - how hard can it be? ----------------------------------------------------------------------- Glenn Andreas Palomar Software Phone: (619) 721-7000 UUCP : glenn@palsoft.cts.com Fax : (619) 721-4758 AppleLink: palomar.dev AOL : gandreas
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads