Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!tut.cis.ohio-state.edu!sei.cmu.edu!fs7.ece.cmu.edu!o.gp.cs.cmu.edu!andrew.cmu.edu!gd1a+ From: gd1a+@andrew.cmu.edu (Glen M. Devries) Newsgroups: comp.sys.mac.programmer Subject: Wierd ADB stuff and THINK C Message-ID: Date: 20 Mar 91 19:19:54 GMT Organization: Carnegie Mellon, Pittsburgh, PA Lines: 13 I have a short routine which should toggle the scroll lock light on an Apple Extended Keyboard II. I followed the procedure outlined in the DTS Q&A stack, read the appropriate register, alter the last three bits and send it back. I am using THINK C 4.0.2. Here's the problem: If I use the debugger and step through the procedure it works beautifully. If I try to run it without the debugger or if I compile it, it ceases to function. Any insight would be appreciated. -Glen gd1a+@andrew.cmu.edu