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

  1. Connect the OPL2 Audio Board with your Arduino as normal
  2. Load the example from OPL2AudioBoard/SerialPassThrough on your Arduino
  3. Take note of the serial port that your Arduino uses
  4. Start DosBox-X and press F11 + C to open the configuration screen
  5. Open the Sound Blaster configuration and enter the following:
    • oplmode: opl2
    • oplemu: opl2board
    • oplport: The COM port used by your Arduino
  6. Save configuration and restart DosBox-X

/images/dosboxx_opl2.jpg

OPL3 Duo!

  1. Connect the OPL3 Duo! with your Arduino as normal
  2. Load the example from OPL3Duo/SerialPassThrough
  3. 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
  4. Take note of the serial port that your Arduino uses
  5. Start DosBox-X and press F11 + C to open the configuration screen
  6. Open the Sound Blaster configuration and enter the following:
    • oplmode: opl3
    • oplemu: opl3duoboard
    • oplport: The COM port used by your Arduino
  7. Save configuration and restart DosBox-X

/images/dosboxx_opl3.jpg