From owner-freebsd-hackers Sat Nov 11 11:27:16 1995 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id LAA24473 for hackers-outgoing; Sat, 11 Nov 1995 11:27:16 -0800 Received: from rah.star-gate.com (rah.star-gate.com [204.188.121.18]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id LAA24468 for ; Sat, 11 Nov 1995 11:27:14 -0800 Received: from rah.star-gate.com (localhost [127.0.0.1]) by rah.star-gate.com (8.6.12/8.6.9) with ESMTP id LAA02635; Sat, 11 Nov 1995 11:26:39 -0800 Message-Id: <199511111926.LAA02635@rah.star-gate.com> X-Mailer: exmh version 1.6.2 7/18/95 To: kelly@fsl.noaa.gov (Sean Kelly) cc: jkh@time.cdrom.com, multimedia@star-gate.com, hackers@freebsd.org Subject: The Music of Doom ? Re: linux's xnetview and doom's sndserver In-reply-to: Your message of "Sat, 11 Nov 1995 10:12:57 MST." <9511111712.AA29544@emu.fsl.noaa.gov> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 11 Nov 1995 11:26:39 -0800 From: "Amancio Hasty Jr." Sender: owner-hackers@freebsd.org Precedence: bulk musserver is a linux program to play doom's mus files. so with the sndserver and musserver, doom will behave the same as in dos. The only caveat is that musserver does not work with the gus :( Anyone knows how to map sun-style msgsnd to our implementation? The scenario is that xdoom will be sending sun-style messages and we can't control that however we do have the sources for musserver. For instance, there in FreeBSD there is not text field in the msgbuf data structure. From musserver's playmus.c: void get_mesg(int flags) { int result; struct msgbuf *recv; int msize = 9; int done = 0; int x = 0; while (!done) { done = 1; recv = malloc(sizeof(long) + 9); result = msgrcv(qid, recv, msize, 0, flags + MSG_NOERROR); if (result > 0) { if (verbose >= 2) /* printf("ipc: errno = %d, result = %d, mtext = %s, qid = %d\n", errno, result, recv->mtext, qid);*/ switch (recv->mtext[0]) { --------- I placed the musserver sources on: rah.star-gate.com:/musserver.tar.gz Cheers, Amancio