;redcode-94nop ;name unpitQ ;author P.Kline ;assert CORESIZE == 8000 ;kill unpitQ ;strategy vampire ;strategy smaller and with djn-resistance vboot equ (vamp+3100+201*3) first equ (-step*498) wboot equ (unpit+first+step*8) step equ (8*(10*2+1)) unpit equ (vboot+2-step) dat 0 ,0 vGo mov fang ,unpit-1 ; after qscan boot fang, vamp, wipe mov wipeg mov *wipem ,*wipeg add.a #381 ,@-1 djn wipem ,#5000 dat {wipem ,{0 wfr dat 0 ,0 for 16+wipeg dat 0 ,0 rof fang djn.a >1-first ,>first+1 dat 0 ,0 qBmb dat <-3 ,{3 null dat 0 ,0 for 59-CURLINE dat 0,0 rof qM equ (5901+1) qMod equ 4101 ptABCD equ 12 ptScan equ 17 ptDecode equ 0 ptLaunch equ 70 qStep equ (106) qA equ ((qMod*(tA-qPtr))%CORESIZE+1) qB equ ((qMod*(tB-qPtr))%CORESIZE+1) qC equ ((qMod*(tC-qPtr))%CORESIZE+1) qD equ ((qMod*(tD-qPtr))%CORESIZE+1) qE equ ((qMod*(tE-qPtr))%CORESIZE+1) qF equ ((qMod*(tF-qPtr))%CORESIZE+1) q0 equ (qPtr-5) decode mul.b *tB ,@2 sne null ,@qPtr add.ab #qStep ,qPtr add.ba qPtr ,qPtr mov qBmb ,*qPtr qPtr mov -4 ,}qM mov qBmb ,>qPtr sub.f #7 ,@-4 djn.b -4 ,#15 jmp vGo ,{1600 for ptABCD+q0 dat 0,0 rof tA spl #tE ,{qA tB spl #1 ,{qB tC spl #tF ,{qC tD spl #0 ,{qD for ptScan+q0 dat 0 ,0 rof qGo seq qPtr+qM ,qPtr+qM+qStep djn.f decode+1 ,{3000 sne qPtr+qA*qM ,qPtr+qA*qM+qStep seq