Here is an early release of DOSBox with IBM Music Feature Card support, and a precompiled AMAME for the FB-01 emulation that is required:
https://www.dropbox.com/s/3bjyvb5imho6sph/DOS … x_IMFC.zip?dl=0
In order to set it up, you need to do 3 things:
1) AMAME needs two ROMs for the FB-01 emulator, which I did not include because of copyright issues. You will have to find them yourself. One is the FB-01 firmware, which should be in a file called fb01.zip. The other is the firmware for the LCD controller, which should be in a file called hd44780_a00.zip. Place those two files in the 'roms' subdirectory under AMAME.
2) DOSBox needs to be configured to output to the correct MIDI device. In this version, there is no IMFC-specific section in the dosbox.conf file yet. I am re-using the MPU-401 configuration. So set up the MPU-401 as usual: under the [midi] section, you use the midiconfig=n option, where n is the index of the MIDI output device you want to use.
3) AMAME also needs to be configured to get input from the correct MIDI device. This is done by name. Run "amame64 -listmidi" to get a list of the names of the possible MIDI in and out devices. Then use the -midiin and -midiout parameters to pass these names. I have included an FB01.bat as example, just change the names to the name of your device, and you should be up and running.
You could also use a real Yamaha FB-01 instead of AMAME of course.