Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!mnetor!seismo!husc6!necntc!encore!linus!philabs!briar!mct
From: mct@briar.UUCP (Mark C. Tucker)
Newsgroups: net.sources.games
Subject: Re: bug in empire
Message-ID: <586@briar.UUCP>
Date: Tue, 30-Dec-86 09:43:29 EST
Article-I.D.: briar.586
Posted: Tue Dec 30 09:43:29 1986
Date-Received: Wed, 31-Dec-86 05:36:31 EST
References: 
Reply-To: mct@briar.philips.com.UUCP (Mark C. Tucker)
Organization: Philips Laboratories, Briarcliff Manor, NY
Lines: 21


One problem with Empire on a Sun3 starts with the fact that 

    In the function SET(),  FORTRAN expects a character, but GEN passes
	an integer.  This works on a VAX, because the lowest byte is
	the least significant.  But the sun sees an integer 33 as a
	null-byte, and confuses set.

 I fixed this problem by changing the  AREA parameter to SET to
    iiAREA, (allowing the CHARACTER AREA declaration to serve to
	declare a local variable), then tossing in a simple
	    area = char(iiarea)
	to initialize the local CHAR to the given INTEGER.

But Empire still crashes after you make a move (segmentation violation).
I suspect more CHARACTER hackery.

-- Mark Tucker