DosBox X configuration - DhrBaksteen/ArduinoOPL2 GitHub Wiki
DosBox-X allows you to use your OPL2 Audio Board or OPL3 Duo! to play any OPL2 / OPL3 audio on the real hardware. Use the following steps to configure for your OPL board.
OPL2 Audio Board
- Connect the OPL2 Audio Board with your Arduino as normal
- Load the example from
OPL2AudioBoard/SerialPassThrough
on your Arduino - Take note of the serial port that your Arduino uses
- Start DosBox-X and press F11 + C to open the configuration screen
- Open the Sound Blaster configuration and enter the following:
- oplmode:
opl2
- oplemu:
opl2board
- oplport: The COM port used by your Arduino
- oplmode:
- Save configuration and restart DosBox-X
OPL3 Duo!
- Connect the OPL3 Duo! with your Arduino as normal
- Load the example from
OPL3Duo/SerialPassThrough
- DosBox-X uses a different protocol (Nuke.YKT) for the OPL3 Duo! board so the following variable needs to be changed in the code before you upload the sketch:
- change
#define NUKEKTPROTO 0
to#define NUKEKTPROTO 1
- change
- Take note of the serial port that your Arduino uses
- Start DosBox-X and press F11 + C to open the configuration screen
- Open the Sound Blaster configuration and enter the following:
- oplmode:
opl3
- oplemu:
opl3duoboard
- oplport: The COM port used by your Arduino
- oplmode:
- Save configuration and restart DosBox-X