Path: utzoo!utgpu!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!rutgers!ucsd!sdcc6!sdcc10!cs161agc From: cs161agc@sdcc10.ucsd.EDU (John Schultz) Newsgroups: comp.sys.amiga.tech Subject: Re: CIA Timer Example Message-ID: <41@sdcc10.ucsd.EDU> Date: 31 Dec 88 03:35:14 GMT References: <1439@percival.UUCP> <5587@cbmvax.UUCP> <38@sdcc10.ucsd.EDU> <3227@amiga.UUCP> Reply-To: cs161agc@sdcc10.ucsd.edu.UUCP (John Schultz) Distribution: na Organization: University of California, San Diego Lines: 35 In article <3227@amiga.UUCP> kodiak@tooter.UUCP (Robert Burns) writes: >In article ... (John Schultz) writes: [stuff I wrote deleted] [100% USDA Certified Flames from Bob deleted] >Unfortunately, there was no smiley face to calm me down. Ok, here's one now :-). But seriously, that code was written to be used in a *research* experiment, by *no one else*. More specifically, I was forced to steal the timer because I had no other choice. If I can't have a millisecond timer, then we can't run the experiment. I had to do whatever necessary to get that timer. Why did I steal it anyway? The hardware manual was erroneous on the system's use of the timers. Thanks to Dan Baker of CATS, I have the correct information as to which timers are available. Sorry I got you (Bob) all flustered, I should have made the intended use clearer and stated what I was doing was *totally illegal* for normal use. But by golly I needed a timer and took the one the documentation said was available. Anyway, I rewrote the code using CIA-B timer B and ran the experiment [an Amiga talking to an HP which is controling a Neuromagnetometer, making Magneto EncephaloGrams (MEG's) of human brains [live, attached to people]]. Works wonderful. And the code is now fully *legal* and multitaskable. This makes the Doctors happy, which makes Me happy. I wonder what systems programmer's brain wave's look like when they see code examples that "stab's them in the back"? Better not chance it, the temperature increase might cause the superconductors to heat up and blow out the MEG, spewing helium everywhere. We'd all talk funny for a week. Thanks Dan, Bob, for your interest, John Schultz