FM OPLL test

By tenroom

Supporter (16)

tenroom's picture

23-10-2019, 18:36

Hello to all!
How can I test the operation of the OPLL FM synthesizer using only Basic and the commands for working with the IN and OUT ports? I just have to check the health of the chip, play any sound. Unfortunately, I do not know how to program OPLL.
Thanks for the help, Alex.

Login or register to post comments

By Manuel

Ascended (15756)

Manuel's picture

23-10-2019, 19:04

Which OPLL cartridge are you talking about exactly? Or is it a built-in one? (Which MSX model?)

By Giangiacomo Zaffini 2

Master (164)

Giangiacomo Zaffini 2's picture

23-10-2019, 19:39

First You can type for example this BASIC file.

or You can download and play in Your MSX one of these FM BASIC examples from Tiny-Yarou,
in the section Music programs, starting with F1 SPIRIT.

Giangiacomo

By tenroom

Supporter (16)

tenroom's picture

24-10-2019, 06:28

Manuel wrote:

Which OPLL cartridge are you talking about exactly? Or is it a built-in one? (Which MSX model?)

I do not have an MSX-MUSIC cartridge. I connected the OPLL YM2413 chip to the ports # 7C- # 7D and I want to test it by writing data through the BASIC to the registers.
In the future I plan to connect OPL2 YMF262, but I have not studied it yet and I don’t know if OPLL commands will work on OPL2.
I use a Daewoo CPC-400S computer.

By tenroom

Supporter (16)

tenroom's picture

24-10-2019, 06:49

Giangiacomo Zaffini 2 wrote:

First You can type for example this BASIC file.
or You can download and play in Your MSX one of these FM BASIC examples from Tiny-Yarou,
in the section Music programs, starting with F1 SPIRIT.
Giangiacomo

Thank you, but to use these programs you need a full MSX-MUSIC cartridge, and I only have a synthesizer chip connected.
That's why I ask about the test using BASIC and port commands for directly programming the synthesizer.

By Manuel

Ascended (15756)

Manuel's picture

24-10-2019, 08:12

What if you just try a program that uses moonblaster replayer? Or moonblaster itself. At least you can test it then.

By tenroom

Supporter (16)

tenroom's picture

24-10-2019, 09:09

Manuel wrote:

What if you just try a program that uses moonblaster replayer? Or moonblaster itself. At least you can test it then.

Unfortunately, I currently do not have the ability to download programs. I can only type them on the keyboard.
But I found on the forum a program for checking OPL3 (FM-TUNE.BAS): https://www.msx.org/forum/msx-talk/hardware/opl3-cartridge?p...
It is written for Quick Basic, but it is easy to adapt.