;redcode-94nop ;name c/i Test ;author NDusN ;which is how CoreWin display теsт ;strategy clear/imp + the obvious thing ;assert CORESIZE == 8000 ;This is my first program ever to get onto the 94nop hill on KotH, although with a somewhat cheaty strategy (c/i) ;and in a somewhat cheaty way (several updates to existing programs caused the 20th program's score to drop to as ;low as 118, this program was still a few points away from the 19th). ;Publishing it to make Koenigstuhl a little more lively ;The qscan is from Core Warrior #92 ;assert 1 org qscan qm equ 3722 qm2 equ 2681 qa1 equ ((qtab1-1-found)*qm2+1) qa2 equ ((qtab1-found)*qm2+1) qb1 equ ((qtab2-1-found)*qm2+1) qb2 equ ((qtab2-found)*qm2+1) qb3 equ ((qtab2+1-found)*qm2+1) qc equ ((qtab3-found)*qm2+1) dat 7, qb1 qtab2 dat 7, qb2 dat 7, qb3 step equ 1143 step2 equ 1500 boot mov 6, step2-10 mov 6, step2-10 for 3 mov 6, step2 rof jmp boot+step2+2 data dat #1200 data2 dat #20 clear spl #0, >data-10 mov data2-10, >data-10 djn.f -1, >data-10 for 27 dat 0, 0 rof lnch spl boot for 5 spl 1 rof spl 2 djn.f imp, >data add.a #step, -1 djn.f boot+step2+2, >data imp mov.i #-1, step qtab3 dat >-42, >qc for 5 dat 0, 0 rof dat 0, qa1 qtab1 dat -1, qa2 for 5 dat 0, 0 rof qscan sne found+qm*qc, found+qm*qc+qb2 seq found, found+qm+(qb2-1) jmp q1,