I've been looking into whether we can get opl2/adlib music going, unfortunately I think I've hit my limit. I started with the information that fraggle provided about putting OPL emulation into chocolate doom:
https://www.chocolate-doom.org/wiki/index.php/Opl-branchOne of the main things he did was produce a DRO (Dosbox Raw OPL) file from dosbox to analyze how the original doom executable wrote to the OPL registers.
So I ran dosbox and captured some OPL from the intro music, and then compared what I was looking at in the hex editor to the files stored in AINTRO.CAT, and I am completely baffled by the file format inside AINTRO.CAT.
The DRO format is well documented:
https://www.shikadi.net/moddingwiki/DRO_FormatAnd the CAT format is understood, but it is the adlib data files stored inside the CAT that aren't making any sense right now.
The DRO:
The first file stored in AINTRO.CAT:
If I was way better at assembly language I would start tracing how the DOS program is interpreting aintro.cat but my skills are weak