VGMPlay for MSX

Page 27/28
20 | 21 | 22 | 23 | 24 | 25 | 26 | | 28

By Parn

Master (223)

Parn's picture

17-11-2017, 10:07

Grauw wrote:

A little aside, Chris Covell released a PC-Engine SCC music disk with several Konami SCC songs converted to the PC-Engine’s sound chip (which is quite similar). Some nice technical details here!

This is really awesome, thanks for the heads up!

By Avkooi

Resident (42)

Avkooi's picture

18-11-2017, 01:53

What a great piece of software this is! I recently took the (really easy when you know how to do it ;-) effort to compile the latest version myself and it's well worth the time. Fantastic to have the ability to listen to all these great PC-88 and PC-98 tunes! I can really recommend the Scheme and Snatcher soundtracks for YM2608 with the latest build of VGMPlay.

@Grauw, it took me a little longer to compile because I didn't know I had to download your other libraries, neonlib and gunzip if I remember correctly, to compile VGMPlay. And are there any PCM files working yet on OPL4? Thanks for all your time you put in this fantastic player!

By Grauw

Enlighted (6414)

Grauw's picture

18-11-2017, 11:43

Hey avkooi, thanks! I like that people take the effort to manually compile it Smile. I tried to make it easy. About neonlib and gunzip, when you clone the repository with Mercurial they are pulled in automatically, but I guess when you download the zips from bitbucket they’re not included. I’ll add a note to the readme to clarify this.

As for OPL4 PCM playback, it depends on the memory layout. YRW801 + RAM like used on MSX should work fine, but ROMs (up to 4 MB) only work for the first 128 waves, and only as much as fits in the sample memory of the MoonSound. As a space saving measure, VGM includes only sample blocks which are used, in the future I want to use this information to tightly pack them to better fit our sample memory and 128 waves, but it isn’t implemented yet.

By Parn

Master (223)

Parn's picture

25-11-2017, 21:16

@Grauw, I finally got around to further testing of the FM Sound Stereo issue with VGMPlay. It turns out I was mistaken: VGMPlay really detected the FM Sound Stereo, as it should. I ripped the ROM and I can confirm it is different from any other MSX-Music ROMs I could find. It didn't seem too different, though, and it has the APRLOPLL magic string, which it shouldn't, but that's par for the course with FM clone cartridges.

I created an extension for OpenMSX using the FM Sound Stereo ROM, and it worked like it should. In other words, it behaved just like any other MSX-Music cartridge, and VGMPlay detected it and played OPLL sound correctly. The only thing that comes to mind is that the cartridge has some behaviour still unemulated by OpenMSX, since the ROM is the same, but I'm not sure. If you want to take a look at the ROM, I can share it with you, but I believe it won't be too useful at this point.

I was really hoping it was just a matter of buggy detection, or some weirdness in the ROM preventing it to be correctly detected, but it seems not to be the case. I'm at a loss.

By Manuel

Ascended (13565)

Manuel's picture

26-11-2017, 09:14

So, VGMPLAY detects the cartridge and shows it on screen, but no sound can be heard from the cartridge?

By Grauw

Enlighted (6414)

Grauw's picture

26-11-2017, 21:29

@Parn The Panasoft FM-PAC has an enable flag in a memory-mapped I/O address, which needs to be flipped for it to sound. The algorithm that the MSX Datapack describes first searches for APRLOPLL (internal OPL), and if that is found it assumes it’s an internal MSX-MUSIC and does not flip the enable flag. Otherwise, it searches for the OPLL string and if found it assumes it’s an external FM-PAC and does flip the enable flag.

Pretty much all FM-PAC clones use a ROM with the APRLOPLL string and do not have the enable flag (to save cost), the only one I’m aware of that does is the one in the Carnivore, but that one uses the FM-PAC ROM whose ID string is correct (I believe PAC2OPLL). However, if the FM Sound Stereo does have the enable flag, but also uses the APRLOPLL string in the ROM, there is a problem.

You could try to remove the check for the internal MSX-Music; in MSXMusic_Enable and MSXMusic_Disable (src/drivers/MSXMusic.asm), comment out the “ret nz”, see if that helps…

By Parn

Master (223)

Parn's picture

27-11-2017, 10:04

@Manuel: Exactly! Weird, and I tried with both the same cartridge and a different computer, and another cartridge of the same type on the same computer.

@Grauw: I was thinking something along those lines, but I'm still unsure because it seems to work fine with everything else. Clearly more testing is in order. I will try removing the check for the internal MSX-Music tonight. I'll also try some other stuff I have in mind. Thanks!

By Pencioner

Champion (260)

Pencioner's picture

28-11-2017, 12:47

Grauw wrote:

But, check these threads for some off-line frequency conversion tools made by MaliceX:

VGM OPN clock converter+note rescaler
VGM OPM clock converter+note rescaler

I'm listening to all tunes downloaded from vgmrips and i've found (finally) a rip which needs clock rescaling - Cuarto game for X68000 - so i was going to try those. But unfortunately i can't download any of files from both topics from dropbox - dp says there are no such file. Anyway, if you have them handly - could you send files to me? (source code too if available). My email is dedoogun :@: gmail :.: com

By Pencioner

Champion (260)

Pencioner's picture

01-12-2017, 00:05

I seem to find the problematic track in Space Manbow vgm rip. Namely 2nd track: Beyond the darkness 2 (Opening 2). So, when i play it with MFR SCC+ it is all fine. When i play it with real SCC (regular flashrom) everything is fine too while the tune plays. But afterwards, the SCC no more recognized. Player do not see SCC any more and play only PSG part. It reproduces very well every time, no intermittance. Moreover, it even shouldn't play to the end for this to happen. I press space at the very beginning of tune and it quits, and after that SCC no more detected.

By Grauw

Enlighted (6414)

Grauw's picture

01-12-2017, 01:07

Hey Pencioner, can reproduce (but not in the emulator Crying), will investigate!

Page 27/28
20 | 21 | 22 | 23 | 24 | 25 | 26 | | 28
My MSX profile