;There may still be some bugs in this. ;It's also kinda complicated. Key lines are chg and dec ORG s step EQU 3039 gate: data: spl.a #0,$step+pos pos: add.ab #step,#2*step kill: mov.i $bomb,>data s: jmz.f @0,@pos ck: slt.b $pos,#btm-gate+1 chg: mov.i @s,@kill j: jmn.b $pos,$pos mov.f $inc,>j dec: djn.f