IBM Music Feature Card/Yamaha FB-01

Developer's Forum, for discussion of bugs, code, and other developmental aspects of DOSBox.

IBM Music Feature Card/Yamaha FB-01

Postby ih8registrations » 2005-7-29 @ 17:09

This post is me gathering info.

In the beginning: 1984
sfg-01, using a ym2151, was made as an ad on module for the yamaha yis-503(msx).
later integrated into the cx5m(msx1) and cx7m(msx2).
then a sfg-05, still using a ym2151.

The predecesor: 1984
soon to follow was the sfg-05 unit 2, using the ym2164, ym2151 with midi input.

The stand alone: 1985
fb-01 midi module, sfg-05 unit 2 with a lot more default instruments(240 vs 46).

The pc version: 1987
ibm music feature card, basically a fb-01 on a card /w 300+ default
instruments vs fb-01's 240(or is it just refering to fb-01's 240+96 user?)

info gleaned from pic of the IMFC:
nec
d4364c-15l (x2) 64k(8Kx8) sram
d71055c (x2) parallel interface 8255
d71051c serial 8251 uart
d70008ac-6 z80 6mhz

yamaha
ym2164 4op fm

toshiba
tmp82c51ap-2 usart

jumpers
irq 2-7
unidentified (x2)

crystal
4mhz

http://crossfire-designs.de/index.php?l ... nard&num=3
http://www.rgp.nl/cx5m/techn.htm
http://www.vorc.org/text/column/hally/y ... tml#YM21xx
http://members.chello.nl/h.otten/fronthw.htm
http://www.yamaha.co.jp/manual/english/result.php
http://ftp.funet.fi/pub/msx/mirrors/msx2.com/vortexion/
Last edited by ih8registrations on 2005-8-01 @ 07:01, edited 2 times in total.
ih8registrations
Oldbie
 
Posts: 931
Joined: 2003-7-25 @ 17:20

Re: IBM Music Feature Card/Yamaha FB-01

Postby HunterZ » 2005-7-30 @ 01:01

Interesting. I know that Yamaha FM chips are widely used in old arcade machines as well - any info on those? Some cross-correlation of chip names with OPL2/3/4 model names may be meaningful as well.
You're perfect, yes it's true...but without me, you're only you.
User avatar
HunterZ
l33t++
 
Posts: 6073
Joined: 2003-1-31 @ 19:04
Location: Seattle

Re: IBM Music Feature Card/Yamaha FB-01

Postby ih8registrations » 2005-7-30 @ 07:29

MAME has who uses what for what it emulates. If you check the links, vorc.org does chip name to #.
ih8registrations
Oldbie
 
Posts: 931
Joined: 2003-7-25 @ 17:20

Re: IBM Music Feature Card/Yamaha FB-01

Postby ih8registrations » 2008-9-21 @ 01:23

Here's an almost IMFC/FB-01 emulation.

VOPM, a VST plugin, which emulates the YM2151, which is a YM2164 minus multi-timbre(multiple instruments/patches at once so it will definitely sound poorer unless the song is rather simple, which isn't so uncommon.) It has a GM preset which I believe it loads by default but you can manually load it in case otherwise.

file:///C:/Documents%20and%20Settings/Administrator/Desktop/VOPM017_WIN/VOPM/VOPM.html

Here's a free VST host to run the free VST plugin:

http://www.hermannseib.com/english/vsthost.htm
http://www.hermannseib.com/english/savihost.htm

And you need a free virtual MIDI device to redirect DOSBOX output to the VST host running VOPM.

http://www.nerds.de/en/loopbe1.html

There's a couple others but this is the only one I could get to work on 64bit windows. I'd prefer HUBI'S MIDI LOOPBACK if I could get it to work since it gives eight virtual loopback devices instead of a measly one so I could chain the freeverb VST onto the backend of VOPM, but in the meantime I'll live with loopbe.

Copy savihost.exe to the vopm dir and rename it to vopm.exe, then run it. Select loopbe as the midi playback device in windows sound and audio devices control panel, and in vsthost/savihost, loopbe as the midi input device and your audio card as the wave output port. Vsthost probably works but I haven't gotten it going yet, so I'm guessing I'm missing a step with it. Run DOSBOX as normal with a game configured for MIDI.

There's a commercial app, FM7/8, that emulates a DX21, which uses the YM2164, keyboard version of the FB-01 module/IMFC sound card, but if I were going to spend money, I'd get an FB-01 off ebay for $20.

Found this: http://home.cogeco.ca/~smccabe17/ which is another vst but not precompiled, just source, of a Korg DS8 but just drums. DS8 is also a YM2164 synth.
Last edited by ih8registrations on 2008-9-21 @ 03:21, edited 7 times in total.
ih8registrations
Oldbie
 
Posts: 931
Joined: 2003-7-25 @ 17:20

Re: IBM Music Feature Card/Yamaha FB-01

Postby Great Hierophant » 2008-9-21 @ 01:45

ih8registrations wrote:Here's an almost IMFC/FB-01 emulation.

VOPM, a VST plugin, which emulates the YM2151, which is a YM2164 minus multi-timbre(multiple instruments/patches at once so it will definitely sound poorer unless the song is rather simple, which isn't soo uncommon.) It has a GM preset which I believe it loads by default but you can manually load it in case otherwise.

file:///C:/Documents%20and%20Settings/Administrator/Desktop/VOPM017_WIN/VOPM/VOPM.html

Here's a free VST host to run the free VST plugin:

http://www.hermannseib.com/english/vsthost.htm
http://www.hermannseib.com/english/savihost.htm

And you need a free virtual MIDI device to redirect DOSBOX output to the VST host running VOPM.

http://www.nerds.de/en/loopbe1.html

There's a couple others but this is the only one I could get to work on 64bit windows. I'd prefer HUBI'S MIDI LOOPBACK if I could get it to work since it gives eight virtual loopback devices instead of a measly one so I could chain the freeverb VST onto the backend of VOPM, but in the meantime I'll live with loopbe.

Select loopbe as the midi playback device in the control panel,
and in vsthost/savihost(I've been using savi,) loopbe as the midi input device and your audio card as the wave output port. Copy savihost.exe to the vopm dir and rename it to vopm.exe. Vsthost probably works but I haven't gotten it going yet, so I'm guessing I'm missing a step with it.

There's a commercial app, FM7/8, that emulates a DX21, which uses the YM2164, keyboard version of the FB-01 module/IMFC sound card, but if I were going to spend money, I'd get an FB-01 off ebay for $20.

Found this: http://home.cogeco.ca/~smccabe17/ which is another vst but not precompiled, just source, of a Korg DS8 or just DS8 drums, don't know for sure. DS8 is also a YM2164 synth.


Quite interesting, however DOSBox does not emulate the IMFC and as far as the FB-01 is can only be used with generic midi applications. I await the day you can use an FB-01 with Sierra's SCI games.
User avatar
Great Hierophant
l33t
 
Posts: 2361
Joined: 2003-4-27 @ 08:20

Re: IBM Music Feature Card/Yamaha FB-01

Postby ih8registrations » 2008-9-21 @ 02:04

However? That DOSBox doesn't emulate the IMFC is a known quantity, hence this thread. So far as I can tell, the only difference between the IMFC and FB-01 is external module vs internal ISA card, but functionally the same. They look to be General MIDI devices or able to be set with a GM patch set like the YM2151 so the FB-01 can be used as such if the SCI game has the option or similar, the music just won't be tuned or customized for the FB-01.

Redirecting the IMFC ports to MIDI, with possibly a little bit of reformatting or deconstructing of what's passed aka partial emulation, with a FB-01 or YM2164 softsynth hooked up should result in IMFC emulation with playback via IMFC drivers/selecting IMFC in the game.
ih8registrations
Oldbie
 
Posts: 931
Joined: 2003-7-25 @ 17:20

Re: IBM Music Feature Card/Yamaha FB-01

Postby ih8registrations » 2008-9-23 @ 04:44

Hah, vogons is quick to be cataloged on google; this thread is the first hit searching for "Sierra SCI fb-01 yamaha":)

http://www.google.com/search?hl=en&clie ... ha&spell=1


From the same search, SCI MIDI drivers:
http://sierra.voyd.net/
http://www.rarefied.org/sci/drivers.html
http://www.queststudios.com/quest/Utilities.html

FB01KING.ZIP is a TSR, with the source, that "converts" an IMFC to an FB-01. http://cd.textfiles.com/swextrav1993/disk4/pcspkr/
ih8registrations
Oldbie
 
Posts: 931
Joined: 2003-7-25 @ 17:20

Re: IBM Music Feature Card/Yamaha FB-01

Postby ih8registrations » 2008-9-23 @ 11:32

Damn, dead links; a guy had desoldered and dumped his FB-01 ROM, posting it along with some pictures, of the guts of the FB-01 I would gather. A needed ingredient for emulation. Unsurpisingly, like the IMFC, the FB-01's controller is a z80.

http://209.85.165.104/search?q=cache:4S ... +fb-01+z80

FB-01 service manual that has schematics, diagram, and a parts list. Yes, IMFC has the same guts as the FB-01.
http://www.loscha.com/ybb/index.html
Last edited by ih8registrations on 2008-9-24 @ 01:24, edited 3 times in total.
ih8registrations
Oldbie
 
Posts: 931
Joined: 2003-7-25 @ 17:20

Re: IBM Music Feature Card/Yamaha FB-01

Postby ih8registrations » 2008-9-23 @ 17:10

And courtesy of Cloudschatze, IMFC and FB01 SCI drivers, among many others!
Attachments
sierrautil.zip
(516.04 KiB) Downloaded 784 times
ih8registrations
Oldbie
 
Posts: 931
Joined: 2003-7-25 @ 17:20

Re: IBM Music Feature Card/Yamaha FB-01

Postby ih8registrations » 2008-9-23 @ 17:29

Attached is a self extracting com file repackaged as a rar file of source code for programming the fb01 and imfc! Found at http://cd.textfiles.com/pslmonthly25/wo ... /mus_midi/ mfc.com

Combined with the open source sci drivers, new FB-01 and IMFC open SCI drivers could be made.
Attachments
MFC.rar
(32.63 KiB) Downloaded 717 times
ih8registrations
Oldbie
 
Posts: 931
Joined: 2003-7-25 @ 17:20

Re: IBM Music Feature Card/Yamaha FB-01

Postby ih8registrations » 2008-9-24 @ 05:29

I still wonder if the IMFC had an expanded patch set, as there's quite a few references to it having 300+ built in. The FB-01 has 240 + 96 user; that's 336 total, but to say 300+ "built in" implies to me preset instruments in ROM. Don't you still have an IMFC Great Hierophant? How many non programmed instruments does yours have? 240 or more?

Old review says it's 336 total like the FB-01: http://209.85.165.104/search?q=cache:Fr ... =firefox-a

another review: http://www.jstor.org/pss/3398095

and again, 336 total:
http://209.85.165.104/search?q=cache:y2 ... =firefox-a

from sierra help files:
http://209.85.165.104/search?q=cache:GN ... =firefox-a

I think that's conclusive enough that the IMFC is the same as the FB-01, 240 + 96 user.

Of course, I'd forgotten we had this discussion before:)
ih8registrations
Oldbie
 
Posts: 931
Joined: 2003-7-25 @ 17:20

Re: IBM Music Feature Card/Yamaha FB-01

Postby Great Hierophant » 2008-9-24 @ 15:45

Sierra's SCI0 and certain SCI1 games support the IMFC/FB-01 natively supported these devices, not as generic Midi devices. Since the IMFC is so rare, I would suggest concentrating on getting an external FB-01 (which is not so rare) to work with DOSBox. As far as I know, DOSBox will still not work properly with Sierra's MPU-401 FB-01 driver.
User avatar
Great Hierophant
l33t
 
Posts: 2361
Joined: 2003-4-27 @ 08:20

Re: IBM Music Feature Card/Yamaha FB-01

Postby Cloudschatze » 2008-9-25 @ 00:02

Great Hierophant wrote:As far as I know, DOSBox will still not work properly with Sierra's MPU-401 FB-01 driver.


I'm not familiar with how DOSBox handles MIDI, but for anyone curious about what Great Hierophant is referring to, take a look at the attached SysEx "dumps" from Quest for Glory I. The first was sent using an actual MPU-401, and the second, with DOSBox, through an M-Audio MIDISport Uno. The discrepancy in filesizes alone ought to suggest that something is wrong.

Can you find Waldo?
Attachments
QG1MPU.txt
Rename to .syx
(12.15 KiB) Downloaded 594 times
QG1DBX.txt
Rename to .syx
(1.01 KiB) Downloaded 580 times
User avatar
Cloudschatze
Oldbie
 
Posts: 983
Joined: 2005-6-16 @ 14:32

Re: IBM Music Feature Card/Yamaha FB-01

Postby ih8registrations » 2008-9-25 @ 00:59

Is that in intelligent or uart mode in DOSBOX? And can you post the output from the mode you haven't already posted? And you need to run it on the same MPU.
Last edited by ih8registrations on 2008-9-25 @ 01:33, edited 1 time in total.
ih8registrations
Oldbie
 
Posts: 931
Joined: 2003-7-25 @ 17:20

Re: IBM Music Feature Card/Yamaha FB-01

Postby Cloudschatze » 2008-9-25 @ 01:33

All of Sierra's SCI0 MIDI drivers (MPU-based) leave the MPU-401 in intelligent mode. I'm not skilled enough to modify the drivers to do otherwise, so what you see is what you get. :)

Likewise, I also had DOSBox configured for intelligent mode. Here is the output when DOSBox is configured for UART mode:
Attachments
DBXUART.txt
(1.04 KiB) Downloaded 565 times
User avatar
Cloudschatze
Oldbie
 
Posts: 983
Joined: 2005-6-16 @ 14:32

Re: IBM Music Feature Card/Yamaha FB-01

Postby ih8registrations » 2008-9-25 @ 01:35

Run QFG through DOSBOX and from the host system through the same MPU; There can be MPU implementation differences.
ih8registrations
Oldbie
 
Posts: 931
Joined: 2003-7-25 @ 17:20

Re: IBM Music Feature Card/Yamaha FB-01

Postby Cloudschatze » 2008-9-25 @ 01:47

ih8registrations wrote:Run QFG through DOSBOX, and from the host system through the same MPU.


I'm not sure that I can do that.

To clarify, the first result came from a 486 PC, with an MPU-401 (LAPC-I) MIDI interface. The second result came from a laptop with DOSBox installed, using a USB MIDI interface.

I haven't anything faster than a P5-166Mhz (Windows 95) with which to test another MPU-401 setup. I've not tried, but will DOSBox even run on that? :dead:
Last edited by Cloudschatze on 2008-9-26 @ 02:41, edited 1 time in total.
User avatar
Cloudschatze
Oldbie
 
Posts: 983
Joined: 2005-6-16 @ 14:32

Re: IBM Music Feature Card/Yamaha FB-01

Postby DosFreak » 2008-9-25 @ 02:02

I ran DOSBox on a P166 laptop in MS-DOS so it should work.

Never personally tried DOSBox on Windows 95 but I know it works on Windows 98.
User avatar
DosFreak
l33t++
 
Posts: 9692
Joined: 2002-6-30 @ 16:35
Location: Your Head

Re: IBM Music Feature Card/Yamaha FB-01

Postby Cloudschatze » 2008-9-25 @ 04:39

Well, I gave it a go. No joy.

There ought to be a few other folks who can try the same thing; there's no need to actually own an FB-01 to do this.

That said, I'd expect similar results. This doesn't appear to be an issue with the MIDI interface used with DOSBox, otherwise, wouldn't MT-32 SysEx data be likewise corrupted? (I've had no such problems.)
User avatar
Cloudschatze
Oldbie
 
Posts: 983
Joined: 2005-6-16 @ 14:32

Re: IBM Music Feature Card/Yamaha FB-01

Postby Cloudschatze » 2008-9-26 @ 02:19

It looks like DOSBox is choking on single SysEx strings larger than 1024 bytes. The FB-01 SysEx is broken into two, 6222 byte strings, thereby exceeding the limit. (Apparently, Yamaha didn't implement the same 256 byte SysEx string restriction that Roland did...)

It seems like this ought to be a known limitation. Does this 1024 byte value correspond to the size of a MIDI output buffer in DOSBox?
User avatar
Cloudschatze
Oldbie
 
Posts: 983
Joined: 2005-6-16 @ 14:32

Next

Return to DOSBox Development

Who is online

Users browsing this forum: No registered users and 2 guests