Perchlorate flash powder can accelerate to 1,500 m/s in large volumes, which is already a detonation, albeit a small one; these are bombs. Ammonal could be detonated with similar success (incidentally, it's cheaper; ammonium nitrate is much cheaper than potassium perchlorate, and safer). Legally, the two are identical.