Difference between revisions of "AMOSi:Sam Swap"

From Amiga Coding
Jump to: navigation, search
m (1 revision(s))
 
(Extracted from the AMOSPro V2.00 helpfile)
(No difference)

Revision as of 02:45, 17 November 2007

an example can be found on AMOSPro_Examples:Examples/H-7/Help_74.AMOS


Initialises double buffered sample playing. The actual swapping will only occur when the sample has been totally played through the speaker.


Sam Swap Voices To address,length

voice is a bit pattern to define the voices to be affected,just like the SAM RAW instruction.


address is the address of the next section of your sample to play. This must be in chip memory.


length is the number of bytes to be played.