AMOSi:Sam Swap

From Amiga Coding
Revision as of 02:45, 17 November 2007 by Spellcoder (talk | contribs) (Extracted from the AMOSPro V2.00 helpfile)
Jump to: navigation, search

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.