;redcode-94nop ;name Viva La Bomba ;author Christian Schmidt ;strategy Airbag Inc. strikes back!!! ;assert CORESIZE==8000 ;url http://www.corewar.info bStep equ 5727 bDrop equ 4853 bDist equ 1856 bcOff equ 7382 bgOff equ 17 bRun equ (bHit-bInc*bDrop) bGate equ (bClr-bgOff) bSpl equ (bHit-2*bInc)+1 bJmp equ (bHit-2*bInc)-1 bInc equ 3*bStep zero equ qbomb qtab3 equ qbomb qbomb dat >qoff, >qc2 dat 0, 0 dat 0, cGate mov cJmp, }cGate cSwtch djn -2, {cGo jmp bStep , {1 mov @0 , }-1 spl #2 , -bStep for 4 dat 0, 0 rof dat zero - 1, qa1 qtab1 dat zero - 1, qa2 bStart mov.i {0 , #0 bLoop mov bSpl , bJmp , @bPtr jmz.a bLoop , bDist+bEvac+1 , bEvac+1 for 42-18 dat 0, 0 rof qc2 equ ((1 + (qtab3-qptr)*qy) % CORESIZE) qb1 equ ((1 + (qtab2-1-qptr)*qy) % CORESIZE) qb2 equ ((1 + (qtab2-qptr)*qy) % CORESIZE) qb3 equ ((1 + (qtab2+1-qptr)*qy) % CORESIZE) qa1 equ ((1 + (qtab1-1-qptr)*qy) % CORESIZE) qa2 equ ((1 + (qtab1-qptr)*qy) % CORESIZE) qz equ 2108 qy equ 243 qgo sne qptr + qz*qc2, qptr + qz*qc2 + qb2 seq qptr, qptr + qz + (qb2-1) jmp q2,