From owner-freebsd-hackers Sun Jun 4 11:18:56 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id LAA23645 for hackers-outgoing; Sun, 4 Jun 1995 11:18:56 -0700 Received: from star-gate.com (bettina.star-gate.com [204.188.121.18]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id LAA23639 for ; Sun, 4 Jun 1995 11:18:55 -0700 Received: (from hasty@localhost) by star-gate.com (8.6.11/8.6.9) id LAA00618 for hackers@freebsd.org; Sun, 4 Jun 1995 11:06:59 -0700 Date: Sun, 4 Jun 1995 11:06:59 -0700 From: Amancio Hasty Message-Id: <199506041806.LAA00618@star-gate.com> To: hackers@freebsd.org Subject: Doom & FreeBSD 2.0.5 Sender: hackers-owner@freebsd.org Precedence: bulk > Hi, > > Is the linux emulation also available to 2.0.5 (as patches) or > is it just for -current? If not, would it be difficult to integrate > into the 2.0.5 sources? >2.0.5 *IS* current. You need to get the linux libraries for whatever >program you want to run though, and compile your kernel with the >COMPAT_LINUX option. Soren Said: Look at: login.dknet.dk:pub/sos/* There is the nessesary lkm & libs, you just need the linux doom distribution (from wcarchive.cdrom.com)... --- I grabbed from freebsd.cdrom.com linux-doom-1.8.tar.gz. --- The -current code and COMPAT_LINUX breaks BSDI compatibility so from Justin Gibbs: This is a problem with COMPAT_LINUX. This fixed it for me: Index: imgact_aout.c =================================================================== RCS file: /usr/cvs/src/sys/kern/imgact_aout.c,v retrieving revision 1.13 diff -c -r1.13 imgact_aout.c *** 1.13 1995/05/30 08:05:17 --- imgact_aout.c 1995/06/03 19:40:44 *************** *** 57,66 **** /* * Linux and *BSD binaries look very much alike, * only the machine id is different: ! * 0x64 for Linux, 0x86 for *BSD. */ ! if (((a_out->a_magic >> 16) & 0xff) != 0x86) ! return -1; #endif /* COMPAT_LINUX */ /* --- 57,67 ---- /* * Linux and *BSD binaries look very much alike, * only the machine id is different: ! * 0x64 for Linux, 0x86 for *BSD, 0x00 for BSDI. */ ! if (((a_out->a_magic >> 16) & 0xff) != 0x86 && ! ((a_out->a_magic >> 16) & 0xff) != 0) ! return -1; #endif /* COMPAT_LINUX */ /* -- > Courtesy of Rod. > # 320x200 @ 70 Hz, 31.5 kHz hsync, 8:5 aspect ratio > Modeline "320x200" 12.588 320 336 384 400 200 204 205 225 Doublescan Thats a 320x200 which works great on my Actix S3 864 . Warning playing Doom can be detrimental to release schedules :) Have A Blast, Amancio