From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paul Nasrat Subject: ELKS port of Adventure - help needed :) Date: Tue, 10 Dec 2002 13:07:28 +0000 Sender: linux-8086-owner@vger.kernel.org Message-ID: <20021210130728.GA12336@raq465.uk2net.com> Mime-Version: 1.0 Return-path: Content-Disposition: inline List-Id: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-8086@vger.kernel.org I grabbed the src of adventure wget -r -l 1 -nH --cut-dirs=5 \ http://www.cise.ufl.edu/class/cop4600/minix/src/commands/advent/ make clean to get rid of the binaries. I've fixed up the make file which compiles. (patch below) Install the dat files to /usr/lib/advent and use elksemu to run adventure [paul@bender advent]$ file advent advent: Linux-8086 executable not stripped [paul@bender advent]$ ./advent ... The game will accept y/n for the first input for instructions but the word processing is b0rked. > north I didn't understand the word "north" I imagine it's something fixable in the src's, I'd like to get it running though as I'm going to a lan party with only an 8086 laptop to take :) Any adventure hackers got any clue Paul --- Makefile.old 1997-09-22 15:46:59.000000000 +0100 +++ Makefile 2002-12-10 12:35:50.000000000 +0000 @@ -9,10 +9,11 @@ # # On Minix, use '-m' in CFLAGS and '-i' in LDFLAGS. -CC = mcc -CFLAGS = -D_POSIX_SOURCE +CC = bcc +GCC = gcc +LD = ld86 +CFLAGS = -0 LDFLAGS = -GCC = /usr/local/bin/gcc OBJS = advent.o database.o english.o initial.o itverb.o score.o\ travel.o turn.o utility.o verb.o vocab.o @@ -22,7 +23,7 @@ all: $(DAT) advent advent: $(OBJS) - $(CC) $(LDFLAGS) -o advent -S 16kw $(OBJS) + $(CC) $(LDFLAGS) -o advent $(OBJS) setup: setup.c advent.h $(GCC) -o setup setup.c