VGMPlay for MSX

Page 12/56
5 | 6 | 7 | 8 | 9 | 10 | 11 | | 13 | 14 | 15 | 16 | 17

Par Grauw

Ascended (10821)

Portrait de Grauw

24-12-2015, 22:07

Made a video: VGMPlay for MSX, Ys II (X1 Turbo, OPM + PSG)

Playing three songs from Ys II for the X1 Turbo on the MSX. Recorded straight from the Yamaha SFG-01 FM Sound Synthesizer Unit (YM2151 OPM) and the internal AY-3-8910 PSG.

Also, you may notice that it is playing VGZ files :).

By the way, prior to recording I slightly modded my Yamaha SFG-01 to not output mono sound to the MSX, so I could properly mix the mono PSG and stereo OPM sound. There was an airwire between the stereo and MSX outputs so I didn’t need to cut any traces, just desoldered the wire. While opening it up, I noticed a previous owner seems to have been in there before and added a little upgrade daughterboard with the SFG-05 ROM… Nice!

Par Grauw

Ascended (10821)

Portrait de Grauw

24-12-2015, 22:59

The music of Ys II for X1 Turbo is quite identical to the PC-88 version by the way.

The PC-88 uses an YM2203 OPN which is essentially a cut-down OPM (mono, and three 4-op FM channels in stead of 8) with an integrated PSG. So it doesn’t use the OPM to its full potential as 5 of the eight OPM channels are not used :). On the plus side, you do get nice stereo!

In the future I would like to try to emulate the OPN on the OPM and PSG, they’re quire comparable and the OPM only lacks 1 feature which is hopefully not used too much.

Par syn

Prophet (2135)

Portrait de syn

25-12-2015, 00:38

Nice

Par JohnHassink

Ambassador (5684)

Portrait de JohnHassink

25-12-2015, 04:34

I'm... speechless.

Par giangiacomo.zaffini

Champion (267)

Portrait de giangiacomo.zaffini

25-12-2015, 12:07

Wonderful! One step beyond the rest, Grauw!

Taken from a thousand questions I would like to ask: is SSG to PSG conversion an automatic one?

Par l_oliveira

Hero (534)

Portrait de l_oliveira

25-12-2015, 13:08

PSG and SSG are just two names for the same thing.
PSG is often used also to name the Texas instruments sound generator chip (Digital Complex Sound Generator or DCSG for short) SN76489.

The original way General Instruments called it's AY-3-8910 was "PSG". Yamaha used to call it's variant "SSG", I believe that was because "PSG" was actually trademarked at the time.

This wikipedia page explains a bit of the confusion:

https://en.wikipedia.org/wiki/Programmable_sound_generator

Par Grauw

Ascended (10821)

Portrait de Grauw

26-12-2015, 01:07

To expand a bit on l_oliveira’s explanation;

The Yamaha YM2149 SSG is a Yamaha clone of the General Instrument AY-3-8910 PSG. Some MSX machines use the PSG others use the SSG (often built-in to the MSX-Engine). The only real difference is that the envelope generator of the SSG has twice the resolution of the PSG, but in terms of control they are identical. The VGM files contain information which variation of the PSG is used, so this is what I display, but otherwise I do not treat them differently.

Par Pac

Scribe (7104)

Portrait de Pac

26-12-2015, 11:42

Just out of curiosity, is this little difference big enough to notice something playing the same music in both chips?

Par l_oliveira

Hero (534)

Portrait de l_oliveira

26-12-2015, 13:53

Apparently, only if the music uses a lot of envelopes, you will notice because envelopes behave differently (higher resolution on volume transitions for envelope generator, there's twice as many on the YM2149 as the AY-3-8910) on the Yamaha chip.

That might not even matter much on slower computers like the MSX but on computers like the Atari ST (which uses a faster 68000 CPU and has timers) higher resolution envelopes would be a big thing.

Btw, the Turbo-R has a Toshiba chip engine and that has a AY-3-8910 equivalent inside, not a YM2149 equivalent. So even though the Turbo-R has timers and a fast CPU, it has the old AY in it instead of the YM.

Par Grauw

Ascended (10821)

Portrait de Grauw

27-12-2015, 02:51

On machines with V9938 VDPs I implemented a 300 Hz timer using line interrupts. This means the VGM playback is timed more accurately on MSX2, MSX2+, and a few MSX1 machines.

With this, I also removed the automatic switch to 60Hz and the /5 option to manually select 50 Hz, because there’s no longer a need for it.

Page 12/56
5 | 6 | 7 | 8 | 9 | 10 | 11 | | 13 | 14 | 15 | 16 | 17