David Brant
Wed, 09 May 2007 09:13:45 -0700
----- Original Message ----- From: "Colin Piggot" <[EMAIL PROTECTED]>
To: <sam-users@nvg.ntnu.no> Sent: Wednesday, May 09, 2007 4:25 PM Subject: Re: Sound Chip
Just done some digging about with the e-tracker player.For a tune compiled at 32768 (which is where i've always compiled a tune forso it can go at the start of any page), after each call to 32774, the SAA1099's register data for the soundchip can be found at address 33747 onwards. What the player does is process all the registers, stores them at those addresses and then OUTs it all at the end and returns. So you can then read the values from 32747 to 32752 for example, and use each nibble to get the left and right volumes of channels 0 to 5. Colin ===== Quazar : Hardware, Software, Spares and Repairs for the Sam Coupe 1995-2007 - Celebrating 12 Years of developing for the Sam Coupe Website: http://www.samcoupe.com/
Guess what I had a look too. At least I got the same answer. Well the first one anyway (33747)