Date: Sat, 11 Nov 1995 11:26:39 -0800 From: "Amancio Hasty Jr." <hasty@rah.star-gate.com> 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 Message-ID: <199511111926.LAA02635@rah.star-gate.com> In-Reply-To: Your message of "Sat, 11 Nov 1995 10:12:57 MST." <9511111712.AA29544@emu.fsl.noaa.gov>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199511111926.LAA02635>