From b682f1efe3d8953d9c0a23445c6dbf808fa9b6cd Mon Sep 17 00:00:00 2001 From: Anthoine Bourgeois Date: Tue, 14 Oct 2014 23:21:09 +0200 Subject: corewars-0.9.13-r1.ebuild - add a new corewars robot - fix egamesconf - fix a crash when try to load a new robot's directory --- games-simulation/corewars/files/reroute.cw | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 games-simulation/corewars/files/reroute.cw (limited to 'games-simulation/corewars/files/reroute.cw') diff --git a/games-simulation/corewars/files/reroute.cw b/games-simulation/corewars/files/reroute.cw new file mode 100644 index 0000000..1c15271 --- /dev/null +++ b/games-simulation/corewars/files/reroute.cw @@ -0,0 +1,17 @@ +# Reroute other processes to execute my code + + Title "Reroute" + Author "Jonathan Enders " +DIA: data &DIA #DestinationIndexA for Jump-Instruction +DIB: data &DIB #DestinationIndexB for Jump-Coordinates + +S: add -2038,DIA + add -2038,DIB #Move Jump-Instruction to more + move INST,[DIA] #or less random location + move DIS,[DIB] + +E: jump S #Repeat + + +INST: jump [DIS] #Instruction to be copied to Destination +DIS: data &S #Address where other processes should jump to -- cgit v1.2.3-18-g5258