-
Notifications
You must be signed in to change notification settings - Fork 39
DosBox X configuration
Maarten Janssen edited this page Jan 19, 2025
·
8 revisions
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.
- 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
- 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 must defined in the code before you upload the sketch:
#define NUKEYKT
- 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
- OPL2 Audio Board assembly guide
- Connecting the OPL2 Audio Board
- Connecting the OPL3 Duo!
- Troubleshooting
- Definitions
- Constructors and initialization
- Utility functions and helpers
- Instrument functions
- Register getters and setters
- OPL3Duo extensions
- Low level access
- Running OPL2 Audio Board example code on your OPL3 Duo!
- In-depth OPL2 and OPL3 programming guide
- Making a sound
- Working with instruments
- Using the OPL3BankEditor
- DosBox configuration (MIDI only)
- DosBox-X configuration
- Nuke.YKT's serial OPL2/OPL3 protocol
- Bonus project: Touch sensor piano