[comp.sys.mac.programmer] Wierd ADB stuff and THINK C

gd1a+@andrew.cmu.edu (Glen M. Devries) (03/21/91)

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