Hi again,
I’m here presenting two variant of the same idea. As always, I’m only giving the extracted code, but I’ll add the commented one as soon as someone asks for it.
There’s in fact two idea introduced there. One is the following trap:
Data -2. Back -1. Goto -1.
This code has the particularity of erasing all threads of any other fighter as soon as it executes it. Thus, making a lot of threads (such as the machine gun presented there https://sourceforge.net/projects/timecorewar/forums/forum/2514282/topic/5338262) isn’t such a good idea…
The other idea presented there is to use more than one thread to copy your code, which allows the second of the two to move faster than the imp!
Here are the two codes:
Goto 3. Data -8. Data 1. Add -1, -2, -2. If -3, 1, -1. Goto 2. Data 3. Goto @-1. Data 5. Data -4. Back -1. Add -3, -5, -5. Goto 1. Goto 1. Goto 36. Goto 1. Back -7. Add -9, -11, -11. Goto 1. Goto 44. Goto 55. Data -2. Back -1. Goto -1. Data -2. Back -1. Goto -1. Data -2. Back -1. Goto -1. Data -2. Back -1. Goto -1. Data -2. Back -1. Goto -1. Data -2. Back -1. Goto -1. Data -2. Back -1. Goto -1. Data -2. Back -1. Goto -1. Data -31. Data 32. Data 30. Data 0. Data 0. Cp -5, -2. Cp -4, -2. Cp @-4, @-3. Add 4, -5, -5. Add 3, -5, -5. JmpIfEqu -7, -9, 56. Goto -4. Data 3. Data -43. Data 20. Data 18. Data 0. Data 0. Cp -5, -2. Cp -4, -2. Cp @-4, @-3. Add -9, -5, -5. Add -10, -5, -5. JmpIfEqu -7, -9, 56. Goto -4. Data -54. Data 9. Data 7. Data 0. Data 0. Cp -5, -2. Cp -4, -2. Cp @-4, @-3. Add -21, -5, -5. Add -22, -5, -5. JmpIfEqu -7, -9, 56. Goto -4. Goto 3. Data -8. Data 1. Add -1, -2, -2. If -3, 1, -1. Goto 2. Data 3. Goto @-1. Data 5. Data -4. Back -1. Add -3, -5, -5. Goto 1. Goto 1. Goto 13. Goto 1. Back -7. Add -9, -11, -11. Goto 1. Goto 22. Goto 35. Data 9. Data -8. Data 46. Data 42. Data 42. Data 100. Cp -5, -3. Cp -5, -3. Cp @-5, @-4. Cp @-6, @-5. Cp @-7, @-6. Add -11, -8, -8. Add -12, -8, -8. JmpIfNotEqu -9, -8, -5. Goto 46. Data -19. Data 35. Data 42. Data 42. Data 89. Cp -5, -3. Cp -5, -3. Cp @-5, @-4. Cp @-6, @-5. Cp @-7, @-6. Add -25, -8, -8. Add -26, -8, -8. JmpIfNotEqu -9, -8, -5. Goto 46. Data -30. Data 24. Data 42. Data 42. Data 78. Cp -5, -3. Cp -5, -3. Cp @-5, @-4. Cp @-6, @-5. Cp @-7, @-6. Add -39, -8, -8. Add -40, -8, -8. JmpIfNotEqu -9, -8, -5. Goto 46. Data -2. Back -1. Goto -1. Goto -2. Goto -3. Goto -4. Goto -5. Goto -6. Goto -7. Goto -8. Goto -9.
Do not hesitate to post improvements, comments, etc.
Enjoy! Martin.
Log in to post a comment.
Hi again,
I’m here presenting two variant of the same idea. As always, I’m only giving the extracted code, but I’ll add the commented one as soon as someone asks for it.
There’s in fact two idea introduced there.
One is the following trap:
This code has the particularity of erasing all threads of any other fighter as soon as it executes it.
Thus, making a lot of threads (such as the machine gun presented there https://sourceforge.net/projects/timecorewar/forums/forum/2514282/topic/5338262) isn’t such a good idea…
The other idea presented there is to use more than one thread to copy your code, which allows the second of the two to move faster than the imp!
Here are the two codes:
Do not hesitate to post improvements, comments, etc.
Enjoy!
Martin.