new Music Tool Software from Programming Terrace Wiki (BouKiCHi I guess)

By giangiacomo.zaffini

Champion (267)

giangiacomo.zaffini's picture

01-02-2016, 19:41

In the last days, Programming Terrace Wiki (BouKiCHi I guess)
developped a dual YM2413 (OPLL) player because he/they wanted to.
Starting with a
PAC TEST
then building a complete MML music toolchain
starting with compiling two (or three?) .MUS (MLL) files for MGSDRV and translating into .NLG format and muxing .NLG YM2413 streams
and preparing a MSX player for it, this called
NLGZ for MSX
I think it is worth a look/dive into it, I tried something on both openMSX and real MSX and even though I didn't understood everything because I really can't read Japanese (only Google translate), I could play demo songs. Pretty amazing! :evil:

Login or register to post comments

By Grauw

Ascended (10605)

Grauw's picture

01-02-2016, 20:14

How is he addressing two OPLLs at the same time? Normally they’re on the same I/O ports so you can’t address them separately, and I don’t think it can be achieved easily by using the enable bit on the internal MSX-MUSIC either. Does he use a modified FM-PAC on different I/O ports for the second OPLL?

By giangiacomo.zaffini

Champion (267)

giangiacomo.zaffini's picture

01-02-2016, 21:00

Well, I will look into the source code (there're source files for everything) for an answer. I don't know at the moment. Tongue

By giangiacomo.zaffini

Champion (267)

giangiacomo.zaffini's picture

01-02-2016, 23:40

Update - for the internal YM2413, if there is any (MSX2+ onward), or for first of the two external FMPACs, it uses I/O ports 7CH for address register port mapped and 7DH for data register port mapped; for second YM2413, being a FMPAC, it uses alternative memory addresses 7FF4H for address memory mapped register and 7FF5H for data memory mapped register.
It manages primary and secondary slots information variables for both YM2314 peripherals, in order to visit them when they need to be fed, I'm not able to understand this part beyond.
Does it make sense? Tongue
I've a FMPAC for testing with real hardware but its audio path is broken, I don't know. So I listened to demo songs only on openMSX. There's a very huge song allegedly built (actually for a double YM2413 custom board) but it doesn't load because of RAM pages limitations.

By Grauw

Ascended (10605)

Grauw's picture

01-02-2016, 23:44

Ah, interesting, I did not know about the ability to access it via memory mapped I/O! That’s pretty cool, I wonder why they even bothered with the I/O ports then. I guess the FM-PAC clones don’t support it. Looks like I need to get me an original FM-PAC sometime Smile.