First post, by jiyunomegami
It outputs MIDI data to a serial port, which you can connect to your Roland/Yamaha/... devices.
EXE file attached, source is here: https://github.com/jiyunomegami/SBEMU
Tested with JEMM, QPIEMU ,and HDMPI32I. Intelligent mode is not supported, but you can use SoftMPU for that, on different port.
Games tested:
Doom
Duke Nukem 3D
Descent
Circuit's Edge
Monkey Island
Monkey Island 2
Usage if your serial port COM1 is at 3F8: sbemu.exe /MCOM1
If you want a different MPU-401 address, say 320: sbemu.exe /MCOM1 /P320
There are some other options for debug messages to another serial port.
/MDBG2 will output a hex dump of the MIDI data at 115200 baud.
Added or changed command line options:
/DBG : Debug output (0=console, 1=COM1, 2=COM2, 3=COM3, 4=COM4, 8=D040, 9=D050, or base address >= 400), default: 0.
/P : UART mode MPU-401 IO address (default 330) [*], default: 330.
/MCOM : UART mode MPU-401 COM port (1=COM1, 2=COM2, 3=COM3, 4=COM4, 8=D040, 9=D050, or base address >= 400), default: 0.
/MDBG : Enable MPU-401 debugging (0 to disable, 1 or 2 to enable), default: 0.
If you use softmpu at the same time, be careful to use a different MPU-401 address.
EDIT 2024/01/21:
Original version renamed to oldmpu401sbemu.exe
The MPU-401 emulation now in the latest version of SBEMU on github.
Here you can download a version that works with the YMF744/YMF754 hardware FM OPL3 and MPU-401.
You can try this on modern platforms, when the Yamaha drivers do not work.
For sound effects, you need to use another sound card. If you have intel HDA or another sound card, this version of sbemu will use that for sound effects, and use the YMF card for FM and MPU.