Core Wars Pro Instruction ------------------------- Your task in this game is to write a program (virus) that will fight against the other ones. Of course it is supposed to win! You have a special language called 'Redcode' and 10 instructions that you are able to use. Such a 'warrior' you can save on the disk in two ways: -source code (you can edit it anytime, etc.) -compiled code (the program is ready to fight). Other Rules: ------------ -The war is played in the computer's memory (numbered from 0 to 7999). -Addresses 3999 and 4000 are the same! -In every turn only one instruction out of each program is being executed. -Every byte that's situated in the game area is composed of 3 parts: -order's code -argument a -argument b -Arguments might be labels,still (whole numbers from -7999 to 7999) and expressions. Redcode Language Instructions: ------------------------------ CODE INSTRUCTION ARGUMENT ITS MEANING 0 DAT B You can't execute this instruction, any try to do this will destroy the whole prog. 1 MOV A B Send contents of cell A to B 2 ADD A B Add arg. A to B and put its result in arg's B area. 3 SUB A B Substract arg. A from B and put its result in arg.'s B area. 4 JMP A Jump where A will show. 5 JMZ A B Jump, but only when B is equal to 0 (zero). 6 DJZ A B Jump, but only when B is bigger than 0 (zero). 8 CMP A B Compare A with B and if the arguments are different,skip the next instruction, then. 9 SPL A When this inst is found, the program gets parted into 2 programs, working alone. If you wanna win, both parts ought to be detected and destroyed! 10 PCT A The cell that A pointed out is protected! When tried to destroy, it does, but after the 2nd attack after the 1st, only the 'protected status' gets removed! These are all the instuctions that you might use. How to handle the program: -------------------------- You can use either Commodore mouse (1351) in the port 1 or joystick in port 2. in the main menu you can choose: *EDITOR* After picking up this option the editor part gets loaded. You can choose, then: -LOAD SOURCE TEXT -SAVE SOURCE TEXT -REDCODE EDITOR (you enter the editor, pressing run/stop makes you go back to the menu) -COMPILE (you can compile your source code,then it's ready to fight) -MENU -DIR *TRACE* You can trace your program while its works. The available options are: -DIRECTORY -LOAD FIGHTER (you load a compiled prog) -TRACE -BACK TO MENU *WAR* This window looks exactly the same as the previous one. the only difference is: -LOAD FIGHTER (you load two fighters, yours one and the other you want to fight with). Also trace option is shown as -WAR-. When chooing it,the fight begins. Every coloured point on the screen shows one instruction. Later on horizontal lines are seen... built out of the points! The rest of the available commands are: -DIRECTORY -DOS COMMAND No comment about these. And that's it. Enjoy playing this game (if you ever do, what I doubt, :-)). NOTE Coding by Syllinor of Faces Instruction translated and written in by Maja of F4CG A bit cut off logo by Therion of F4CG Musician unknown