Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!rutgers!im4u!swrinde!petro!tness1!mechjgh From: mechjgh@tness1.UUCP (8753) Newsgroups: comp.unix.questions,rec.games.chess Subject: The Game of Chess - Summary Message-ID: <183@tness1.UUCP> Date: Tue, 21-Apr-87 22:48:15 EST Article-I.D.: tness1.183 Posted: Tue Apr 21 22:48:15 1987 Date-Received: Sat, 25-Apr-87 00:08:26 EST Organization: Southwestern Bell, Texas Lines: 118 Keywords: chess source code Xref: mnetor comp.unix.questions:2016 rec.games.chess:156 I thought I would post a summary of the responses to the questions about the availability of source code for chess on VAXen. If your response isn't here, I didn't get it. Thanks to all. (P.S. I didn't get any source code, but the last posting about Ken Thompson getting busted for taking chess to Russia I found interesting). Greg Hackney ------- from ihnp4!sun!gorodish!guy (Guy Harris) > Does anyone know why AT&T neglected to port the game of chess to > VAXs when they released System 5 Unix ? Why System V? The first VAX UNIX release from AT&T was UNIX 32/V, from which 4BSD developed, and System III came out after that. 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.) > Does anyone have the source code to chess ? Grab a PDP-11 V7, S3, or maybe S5 tape, and start from there. Make sure you have a PDP-11 instruction set description handy, and maybe a VAX one if you decide to rewrite the stuff in VAX assembler.... ------- from seismo.CSS.GOV!rick (Rick Adams) Here is an ls -l of a V7 /usr/src/games/chess: total 60 1 -rw-r--r-- 1 bin sys 512 Apr 22 1986 README 2 -rwxr-xr-x 1 bin sys 2048 Apr 22 1986 agen.c 4 -rw-r--r-- 1 bin sys 3584 Apr 22 1986 att.s 3 -rw-r--r-- 1 bin sys 2560 Apr 22 1986 bgen.s 2 -rw-r--r-- 1 bin sys 2048 Apr 22 1986 bheur.c 3 -rw-r--r-- 1 bin sys 2560 Apr 22 1986 bmove.s 1 -rw-r--r-- 1 bin sys 1024 Apr 22 1986 book.c 2 -rw-r--r-- 1 bin sys 2048 Apr 22 1986 bplay.c 2 -rw-r--r-- 1 bin sys 2048 Apr 22 1986 ctrl.s 1 -rw-r--r-- 1 bin sys 1024 Apr 22 1986 data.c 2 -rw-r--r-- 1 bin sys 2048 Apr 22 1986 init.c 3 -rw-r--r-- 1 bin sys 3072 Apr 22 1986 io.c 3 -rw-r--r-- 1 bin sys 2560 Apr 22 1986 makefile 2 -rw-r--r-- 1 bin sys 1536 Apr 22 1986 mater.c 1 -rw-r--r-- 1 bin sys 1024 Apr 22 1986 old.h 4 -rw-r--r-- 1 bin sys 4096 Apr 22 1986 pio.c 3 -rw-r--r-- 1 bin sys 3072 Apr 22 1986 play.c 2 -rw-r--r-- 1 bin sys 1536 Apr 22 1986 qsort.s 1 -rw-r--r-- 1 bin sys 1024 Apr 22 1986 savres.c 2 -rw-r--r-- 1 bin sys 1536 Apr 22 1986 setup.c 2 -rw-r--r-- 1 bin sys 1536 Apr 22 1986 stat.c 3 -rw-r--r-- 1 bin sys 3072 Apr 22 1986 stdin.c 3 -rw-r--r-- 1 bin sys 2560 Apr 22 1986 wgen.s 3 -rw-r--r-- 1 bin sys 2560 Apr 22 1986 wheur.c 3 -rw-r--r-- 1 bin sys 2560 Apr 22 1986 wmove.s 2 -rw-r--r-- 1 bin sys 2048 Apr 22 1986 wplay.c ------- from jle Greg, I'd be REAL interested if you find/hear about the source to chess... Joe Leonard ------- from ihnp4!pegasus!hansen < Does anyone know why AT&T neglected to port the game of chess to < VAXs when they released System 5 Unix ? Because it was written in PDP-11 assembly language. < Does anyone have the source code to chess ? Not for that one. However, the GNU project has one available, I believe. Tony Hansen ihnp4!pegasus!hansen ------- from ihnp4!decwrl!granite!aps (Armando P. Stettner) Maybe it is because half of the chess program was in assembly for a PDP-11 and was therefore not very portable. aps. ------- from ihnp4!pruxd!ga (Greg Astfalk) My understanding is that the chess program in earlier versions of Unix was in fact written in PDP 11/70 assembler. I was lead to believe it was never re-written in C. I also asked around about any public domain chess program and concluded, after expending very little effort, that there is none. If you get more info I would appreciate being told about it. ------- from ihnp4!anvil!bob Chess was written in PDP11 assembly (I've seen the code but no longer have it) and ran on the VAX in PDP11 machine emulation mode. I believe it's shipped with 4.2BSD. I guess AT&T didn't consider it worth the trouble. Also, they may be worried about export problems. K. Thompson/Bell Labs got hit with a fine for trying to bring their Chess computer board to Russia for a tournament! Bob Toxen -------