~============================================================================ ~STATUS Hex Address = $95FF Decimal Address = 38399 ~============================================================================ ~ ~ The Status address holds a 0 when the Note Engine is NOT playing. Issuing ~ a START Call begins a song and returns control to the Basic program. ~ ~ PEEK the Status address to see if a song is still being played& so that it ~ doesn't execute any program steps not wanted before the song is over. ~ ~ Example% ~ ~ 10 SG$ = "/WAVE/SONG.SWF&" % CALL NL % CALL NS ~ ~ 20 IF PEEK (38399) < > 0 THEN 20 ~ ~ 30 {Another code line to be executed AFTER the song is finished} ENDLINE