Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!lll-crg!nike!ucbcad!ucbvax!mitlns!tether From: tether@mitlns ("STEPHEN_TETHER") Newsgroups: net.micro.atari16 Subject: XBIOS dosound function Message-ID: <8608050045.AA00397@ucbvax.Berkeley.EDU> Date: Tue, 5-Aug-86 06:57:04 EDT Article-I.D.: ucbvax.8608050045.AA00397 Posted: Tue Aug 5 06:57:04 1986 Date-Received: Tue, 5-Aug-86 23:25:42 EDT Sender: daemon@ucbvax.BERKELEY.EDU Reply-To: "STEPHEN_TETHER" Organization: The ARPA Internet Lines: 29 In-Reply-To: <244@inuxj.UUCP> from Ron Wolenty According to Abacus' "ST Internals", dosound takes a single longword argument which is a pointer to an array of sound commands: Command byte (hex) Function ------------------ --------------------------------------------------- 00-0F Load the sound-chip register 00-0F. Followed by the byte to load. 80 Load temporary register (kept by XBIOS). Followed by the byte to load. 81 Loop. Followed by a sound-chip register number, a step value (signed byte), and a final value (signed byte). Executes as follows: for temporary := temporary to final by step do register := temporary. 82-FF Delay/halt. Followed by a byte giving the number of system timer ticks to pause, 0 to halt sound processing. A system timer tick is usually 20ms. Steve Tether TETHER@MITLNS.MIT.EDU TETHER@MITLNS.BITNET satether on BIX ------