Core War: Ground Zero, v. 1.1
- Posted by Roderick Jackson <rjackson at CSIWEB.COM> Sep 01, 1999
- 539 views
------ =_NextPart_000_01BEF46B.D97A46E0 Well all, it's here. Honestly, I've had a nerve-wracking week-and-a-half. But despite the lack of time (and having to spend most of yesterday working on my car, abominable things that they are,) I still stayed up last night to finish this for today. Why? Because we like you. The SPL (Split) and SLT (skip-if-less-than) instructions have been implemented and tested. And, thanks to Eu's elegant design, there's no arbitrary limit to the number of threads a warrior program can have running. Attatched is the CW program itself, COREWAR.EX, and a fairly dumb warrior program, SPLIT.CW, to illustrate the instruction. All it does is copy itself 20 addresses forward, start executing the copy as a new thread, then have the current thread continually loop with a JMP 0. Naturally, as new copies split off, the warrior gets slower and slower. Due to the previously mentioned lack of time, I have not yet cleaned up the code that much. A zipped re-release (v. 1.2) that will be cleaner, packaged with updated documentation, more example warrior programs, and detailed specs for those writing compilers, should be released Friday or Saturday. Rob, again I'm going to have to ask that this not be posted to the contributions page yet, since I want to put everything together first. I just wanted to get this out to the interested members of the list so they could test it and make use of it. Rod ------ =_NextPart_000_01BEF46B.D97A46E0