Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!motown!mergvax!inthap!polyof!john From: john@polyof.UUCP Newsgroups: comp.unix.questions,rec.games.chess Subject: Re: The Game of Chess - Summary Message-ID: <237@polyof.UUCP> Date: Thu, 7-May-87 17:45:36 EDT Article-I.D.: polyof.237 Posted: Thu May 7 17:45:36 1987 Date-Received: Sat, 9-May-87 06:38:37 EDT References: <183@tness1.UUCP> Organization: Polytechnic Inst. of NY, Farmingdale NY Lines: 36 Keywords: chess source code Xref: utgpu comp.unix.questions:1959 rec.games.chess:159 Summary: chess source, from V7 pdp11 In article <183@tness1.UUCP>, mechjgh@tness1.UUCP (8753) writes: > > Does anyone know why AT&T neglected to port the game of chess to > > VAXs when they released System 5 Unix ? > Most likely, the reason why they didn't port it is that there are > large chunks of PDP-11 assembly-language code in it, and nobody felt > like rewriting it. (Note that while it does run under VAX 4BSD, it > does so in PDP-11 compatibility mode.) I did in fact re-write the assembly code in C and I do have it running on our Gould PN6000, and our Vax 780, and Apollo's. It works just fine, and makes the same mistakes as the V7 one did in assembler. (IE it doesnt recognize a "check" by a pawn all the time. Anyway, awhile ago I posted a thing saying that if anyone wanted chess (as with empire), send me a copy of their unix version 6/7 source license, along with a SAST, and Ill send you a copy. No binary licenses accepted, no system 3-5, or BSD licenses. Only version 6/7. (IE if you already have source for the chess, I can give you what you already have + the new code.... I can't just post it, cause the algorithms are exactly the same as those in the *.s files.) PS if I compile the C code (which essentially is alot of multi-line #defines in place of the assembler subroutine calls), chess runs about 10-20% slower; not a bad price to pay for portability. You can always cc -S and doctor your machines assembler code yourself. John Buck Polytechnic Univ. Route 110 Farmingdale, NY 11735 (516-454-5191) decvax!rti!polyof!john philabs!polycatt!polyof!john trixie!polyof!john