[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Thanks....now a new problem
In article <C32y9u.Kxw@CAM.ORG> vandry@CAM.ORG (Phillip Vandry) writes:
>irsman@iastate.edu (Ian Schmidt) writes:
>
>>You should never read DOC registers in auto-increment mode. Here's an assembly
>
>Why not?
Because of the way the GLU works. When you do the first read of a DOC
register, the GLU queues up the data from the DOC, but returns garbage since
the value is still being fetched before the read executes. If you read the
register a second time within a short period of time, the data is avalible in
the GLU's cache for you to read. Hence, to read any register you must do it
twice in quick sucession, which is cumbersome at best in auto-increment mode.
--
Ian Schmidt - Two Meg Software: irsman@{iastate.edu | aol.com}
"I will choose a path that's | Author of AudioZap, MODZap, and more.
clear: I will choose free will" | Co-author of SoundConvert and DeskTracker.
- N. Peart, 1980 | Arranger of Freewill and Unbelievable for SS