#exult@irc.freenode.net logs for 16 Aug 2003 (GMT)

Archive Today Yesterday Tomorrow
Exult homepage


[00:08:50] --> daniel_ has joined #exult
[00:09:06] <-- daniel_ has left #exult ("Leaving")
[00:09:22] --> daniel` has joined #exult
[00:15:11] <-- Matt_O has left IRC ("Client Exiting")
[00:15:14] --> Matt_O has joined #exult
[00:53:38] <-- daniel` has left IRC ("Leaving")
[01:45:40] --> Kirben has joined #exult
[01:45:40] --- ChanServ gives channel operator status to Kirben
[03:09:04] --> daniel` has joined #exult
[03:36:38] <-- daniel` has left IRC (Read error: 104 (Connection reset by peer))
[04:01:04] --> daniel` has joined #exult
[04:15:14] <-- daniel` has left IRC ("Leaving")
[05:26:44] --> canadacow has joined #exult
[05:26:53] <canadacow> Hey there.
[05:50:02] --> daniel` has joined #exult
[05:50:13] <canadacow> hey
[05:50:24] <daniel`> hello :)
[05:50:44] <canadacow> saw the logs a few days ago about my MT-32 emulator
[05:51:06] <canadacow> so I thought I'd sit here and wait for the guys who were interested so I could get some input from them.
[05:56:38] <daniel`> haven't tried it sorry
[05:56:47] <canadacow> np
[06:08:14] <-- daniel` has left IRC ("Leaving")
[06:33:57] <-- canadacow has left #exult ()
[07:53:36] --> olivieryk has joined #exult
[13:11:15] --> canadacow has joined #exult
[13:41:54] <-- canadacow has left #exult ()
[15:18:11] --> wjp has joined #exult
[15:18:11] --- ChanServ gives channel operator status to wjp
[15:56:33] --> canadacow has joined #exult
[15:57:04] <canadacow> hello
[15:57:15] <canadacow> wjp?
[16:24:31] <wjp> hi
[16:24:55] <canadacow> have you seen the latest release 8/12/2003 of the emulator?
[16:25:11] <canadacow> I saw the conversation log and you guys having problems compiling it.
[16:25:35] <canadacow> So I made some changes so you don't have to do that everytime you want to compile the Mt-32 emulator.
[16:25:35] <wjp> I've just been away a week, so I'm a bit behind
[16:25:44] <wjp> which day's logs?
[16:25:47] <wjp> ah
[16:26:07] <wjp> ah! now I know why the name sounded familiar :-)
[16:26:18] <wjp> you were talking about the mt-32 emu :-)
[16:26:23] <canadacow> yeah
[16:26:28] <canadacow> I should have made that clear first.
[16:26:29] <canadacow> doh
[16:26:29] <canadacow> sorry
[16:26:33] <wjp> np :-)
[16:27:01] <canadacow> getting the sound right is getting increasingly more frustrating.
[16:27:09] <wjp> anyway, no, I didn't look at the 12-8 one yet
[16:27:15] <wjp> yeah... I can imagine
[16:27:30] <canadacow> With each newer version the sound comes closer and closer and its getting harder to tell whats making odd instruments play funny.
[16:27:37] <wjp> it must be really hard to handle the subjective 'bug' reports
[16:27:51] <canadacow> nah
[16:28:00] <canadacow> I wrote this emulator for myself.
[16:28:08] <canadacow> Something I had always wanted to do since I was a kid
[16:29:10] <canadacow> now if I could just enlist driver programmers to take it out of DosBox
[16:29:19] <canadacow> so it will work with ScummVM and what not
[16:29:24] <wjp> :-)
[16:29:34] <wjp> would be nice to have it in exult too :-)
[16:30:38] <canadacow> I wouldn't expect it to be too portable into exult in its current form.
[16:31:11] <canadacow> of course, the emulator will always need the PCM rom file, which is under Roland copyright
[16:31:36] <canadacow> but I'm currently in discussions with Roland to get a license to include it with my emulator.
[16:32:08] <wjp> I'm somewhat surprised they're actually discussing it :-)
[16:32:27] <wjp> most companies tend to have a "cease and desist" attitude
[16:33:04] <canadacow> yeah
[16:33:11] <canadacow> but I was premptive with them.
[16:33:23] <canadacow> I came to them and asked rather than they coming to me after the fact
[16:33:37] <canadacow> I think I'm doing a first in the abandonware/emulator world
[16:37:14] <wjp> I'm still getting some compile errors with latest dosbox cvs with the mt-32 emu included
[16:37:29] <canadacow> mind cutting and pasting them?
[16:37:38] <canadacow> I've got the source up.
[16:37:45] <canadacow> I'll fix them for you.
[16:37:45] <wjp> In file included from midi.cpp:95:
[16:37:45] <wjp> midi_mt32.h: In function `short int getSample(short int*, short int*)':
[16:37:45] <wjp> midi_mt32.h:2096: `filtcoeff' undeclared (first use this function)
[16:37:51] <wjp> In file included from midi.cpp:95:
[16:37:52] <wjp> midi_mt32.h: In member function `void MidiHandler_mt32::InitTables()':
[16:37:52] <wjp> midi_mt32.h:2598: no matching function for call to `LOG::LOG(int, const
[16:37:52] <wjp> char[32])'
[16:38:11] <wjp> (and that last one in 4 other lines too)
[16:38:12] <canadacow> oh yeah
[16:38:12] <canadacow> doh
[16:38:37] <wjp> hm
[16:38:50] <canadacow> let me send you the current WIP
[16:38:51] <wjp> midi_mt32.h: In function `bool DetectSIMD()':
[16:38:52] <wjp> midi_mt32.h:439: `_asm' undeclared (first use this function)
[16:39:07] <wjp> midi_mt32.h: At global scope:
[16:39:08] <wjp> midi_mt32.h:1102: `align' was not declared in this scope
[16:39:08] <wjp> midi_mt32.h:1102: ISO C++ forbids declaration of `__declspec' with no type
[16:39:08] <canadacow> I took those out after I saw the chat log
[16:39:19] <canadacow> The LOG errors
[16:39:21] <canadacow> Hmmm..
[16:39:28] <canadacow> You're compiling in Linux, aren't you?
[16:39:32] <wjp> yes
[16:39:38] <wjp> gcc 3.2.3
[16:39:47] <canadacow> do you know the syntax for inline assembly?
[16:39:56] <wjp> hm, sorry, time for dinner. I'll be back soon
[16:40:02] <canadacow> In Visual C++ its just __asm
[16:40:05] <canadacow> k
[16:40:07] <canadacow> see ya
[16:44:39] <olivieryk> canadacow: in gcc it's hell :(
[16:44:46] <canadacow> heh
[16:44:48] <canadacow> yeah
[16:44:51] <canadacow> I see that
[16:44:52] <olivieryk> unless you do a separate asm file
[16:45:05] <canadacow> I'm putting in defines now that comment out the inline asm code
[16:45:14] <canadacow> its just the SIMD optimized versions of the lowpass filter
[16:45:22] <olivieryk> if you want to do portable code, go for separate asm files
[16:48:10] <canadacow> not sure how to do that in Visual C
[17:02:37] <-- canadacow has left IRC (Remote closed the connection)
[17:07:44] --> canadacow has joined #exult
[17:07:54] <wjp> hi again :-)
[17:08:14] <canadacow> hey
[17:08:51] <canadacow> yeah... working with Harekiet to fix the Linux compile bugs too
[17:12:54] <wjp> inline asm in gcc isn't pretty
[17:13:28] <canadacow> yeah
[17:13:35] <canadacow> here... try this version
[17:14:08] <canadacow> sorry
[17:14:14] <canadacow> forgot to save it in VC
[17:15:17] <canadacow> let me know what other compiler errors you get
[17:15:53] <wjp> midi_mt32.h:1192: `align' was not declared in this scope
[17:15:59] <wjp> midi_mt32.h:1192: ISO C++ forbids declaration of `__declspec' with no type
[17:17:06] <wjp> __declspec is probably msvc-specific
[17:17:13] <canadacow> yeah
[17:17:24] <canadacow> forces alignment of a elements in an array
[17:18:58] <wjp> gcc does something like __attribute__ ((aligned(16)) for that, I think
[17:19:10] <canadacow> hmmm
[17:19:20] <canadacow> just remove that ___declspec
[17:19:23] <canadacow> That's all I did
[17:19:36] <canadacow> Line should just read:
[17:19:37] <canadacow> static float filtcoeff[8192][32][32];
[17:19:45] <wjp> bunch of warnings now, but no errors
[17:19:59] <canadacow> There should only be 4 warnings...
[17:20:01] <canadacow> odd
[17:20:18] <canadacow> I busted ass trying to eliminate the plethora of warnings in VC
[17:20:18] <wjp> well, 4, yes :-)
[17:20:34] <wjp> or 8, depending on the way you count
[17:21:09] <canadacow> I get 4 in VC
[18:02:48] <-- olivieryk has left IRC (Connection reset by peer)
[18:03:02] --> olivieryk has joined #exult
[18:05:16] <-- Kirben has left IRC ("System Meltdown")
[18:08:17] --> Colourless has joined #Exult
[18:08:17] --- ChanServ gives channel operator status to Colourless
[18:09:32] <Colourless> hi
[18:09:41] <canadacow> hello
[18:12:42] <wjp> hi
[18:13:17] <canadacow> lalala
[18:13:20] <canadacow> shopping time
[18:13:27] <canadacow> take care all
[18:13:32] <-- canadacow has left #exult ()
[18:13:36] <wjp> bye
[18:14:13] <wjp> did you know about the mt-32 emu canadacow wrote?
[18:14:40] <Colourless> i *know* about it. I don't know anything about it :-)
[18:16:56] <wjp> :-)
[18:23:10] <Matt_O> canadacow is the one who wrote it? cool
[18:24:08] <Matt_O> ahh too bad he left, I could've told him how to do a separate .asm file in visual c++
[19:54:58] <-- olivieryk has left IRC ()
[20:58:50] <-- wjp has left IRC (Remote closed the connection)
[21:00:08] --> wjp has joined #exult
[21:00:08] --- ChanServ gives channel operator status to wjp
[21:17:42] <-- Colourless has left IRC (Read error: 104 (Connection reset by peer))
[23:27:59] <-- wjp has left IRC ("Zzzz...")