;redcode-94 verbose ;name Heart of Gold 1.1 ;author Stefan Foerster ;contact foerster@a-city.de ;url http://home.a-city.de/stefan.foerster ;version 1.1 ;date Apr 2, 2001 ;strategy not given ;assert 1 org start ; ********* ; constants ; ********* BOOTPOS equ (initsilk+(CORESIZE/2)) SPTR0 equ (silk1+(CORESIZE/4)) SPTR1 equ ((789*CORESIZE)/8000) SPTR2 equ ((1357*CORESIZE)/8000) GATE equ (start-MINDISTANCE) I_SBOOT equ 2 I_RSILK equ 7 I_PARAS equ 3 I_SILK equ (4+I_SBOOT+I_RSILK+I_PARAS) I_BOOT equ (2+I_SILK) ; ************************************ ; boot code [I_BOOT=2+I_SILK=18 instr] ; ************************************ start mov.i initsilk+I_SILK-1, BOOTPOS+I_SILK-1 nn for I_SILK-1 mov.i {start, SPTR1 cpy1 mov.i }silk1, >silk1 cpy2 mov.i {silk1, {silk2 separate djn.b silk2, #1 to_parasite spl psearch silk2 spl SPTR2+I_RSILK+I_PARAS,