Core War: Ground Zero, v. 1.1

new topic     » topic index » view thread      » older message » newer message

------ =_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. blink

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

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu