VOGONS


First post, by moog

User metadata
Rank Newbie
Rank
Newbie

Hello,

I wanted to write a Batch script for Sam n Max Hit the Road. Here's the flow:

1. Detect if we have a GM/GS compatible music card
2. If yes, copy a config file that is preconfigured to use GM/GS and disable L1 cache. If not, only copy a config file preconfigured to use OPL4.
3. Start the game
4. After the game finishes, remove the config file's copy

But obviously I have no idea how to detect a Roland device be it SC-* or MT-32. Can anyone spare some clues please?

Last edited by moog on 2023-10-21, 10:18. Edited 1 time in total.

Audigy 2 ZS in FreeDOS
LinLin adapter documentation
+ various capacitor list threads

Reply 2 of 2, by Tiido

User metadata
Rank l33t
Rank
l33t

You can only reliably detect presence of MPU401 interface but what is connected to it is device specific.

You can possibly send some data over the MPU401 interface and expect a response as long as MIDI IN is connected (which is something you normally don't do as it breaks games such as Doom which will barf if any data comes in from a MIDI device). SC-55 and MT32 should respond to some sysexes and could be a way to detect their presence over MPU401.

T-04YBSC, a new YMF71x based sound card & Official VOGONS thread about it
Newly made 4MB 60ns 30pin SIMMs ~
mida sa loed ? nagunii aru ei saa 😜