Previous Thread
Next Thread
Print Thread
Joined: Mar 2017
Posts: 2
Z
Member
OP Offline
Member
Z
Joined: Mar 2017
Posts: 2
Hello

I'm currently using the latest version of the M1 source code as downloaded from this forum. I've successfully compiled it for Linux Mint 64-bit. I have PusleAudio disabled on my system and am using the ALSA output.

I have noticed a couple of bugs with the program. One bug is the naming of the files for the wave logging, they are out of sequence. I fixed this by a simple modification of the m1snd_run function in m1.snd.cpp. Inside the M1_CMD_SONGJMP case, I moved the line "cmd1=parm" to immediately after the call of waveLogStop instead of after WaveLogStart:


DLLEXPORT int m1snd_run(int command, int iparm)
{
.
.
.
if (b_pause)
{
flushframes = 2;
}

waveLogStop();
cmd1 = iparm;

waveLogInit(wavelog, games[curgame].zipname, iparm);
waveLogStart();

if (cur_board)
{
.
.
.
}
.
.
.
}


The second bug I am stuck on and would greatly appreciate any ideas. Approximately the first 0.4 seconds of a song are omitted. This happens with every song I have tried so far, including the songs in OutRun and Super Hang-On. The missing part is audible during normal playback and with the logged wave. The missing part can be confirmed by comparing the M1 wave log to the wave log of VGMPlay.

I tried the SDL driver, but it did not help. I haven't tried PulseAudio yet (that would require re-enabling it). Can anybody confirm this problem with their setup?

Many thanks

Joined: Mar 2017
Posts: 2
Z
Member
OP Offline
Member
Z
Joined: Mar 2017
Posts: 2
Okay, I tried PulseAudio and that didn't help.

I tried Daytona USA and that does not suffer from the problem! So, it looks like it could be something to do with the particular hardware for OutRun and Super Hang-On. They use similar hardware. I will look into it.

On a vaguely related issue, does anybody know why Magical Sound Shower sounds wrong out of VGMPlay and M1? I already know about the corrupted ROM shipped with the original game (see bottom of page: https://github.com/djyt/cannonball/wiki/Cannonball-Manual). Compared to the CD releases and the song as heard inside MAME, Magical Sound Shower from VGMPlay and M1 sounds dull and lifeless.

Many thanks.

Last edited by zenzero-2001; 03/23/17 07:06 PM.

Moderated by  R. Belmont 

Link Copied to Clipboard
Who's Online Now
2 members (John IV, mixmaster), 34 guests, and 7 robots.
Key: Admin, Global Mod, Mod
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Forum Statistics
Forums9
Topics8,974
Posts117,891
Members5,001
Most Online890
Jan 17th, 2020
Forum Host
These forums are hosted by www.retrogamesformac.com
Forum hosted by www.retrogamesformac.com