VOGONS


First post, by bjwil1991

User metadata
Rank l33t
Rank
l33t

Hello, fellow DOSBox users and team:

I recently installed NHL Hockey 95 in DOSBox (the one I fixed for Frederik Pohl's Gateway) and I selected the Roland MT-32 option when installing, and, I have missing music at the Pioneer Productions logo, and at the main menu, but I get the music at the NHL Hockey 95 intro and credits, and in the game (as well as Sound Effects).

I'm planning to apply sets of codes for the game as well since I did fix the Gateway missing music bug, and I thank you for your support and tips.

Can you please help me out here?

Using the Sound Blaster option, all of the music plays with voice (I don't mind using the MT-32 without the voice)
This is game #2 that is missing music, while game #1 was Frederik Pohl's Gateway until I applied new codes for the pic.h, pic.cpp, and mpu401.cpp files respectively, which made every music play, and, again, thank you all for your help.

Is the code basically the same as:

mpu401.cpp

---output omitted---
case 0xac: /* Request version */
PIC_WriteCommand(0x20,0x60,1);
QueueByte(MSG_MPU_ACK);
QueueByte(MPU401_VERSION);
QueueByte(MSG_MPU_ACK);
return;
case 0xad: /* Request revision */
QueueByte(MSG_MPU_ACK);
QueueByte(MPU401_REVISION);
return;
---output omitted---

I could be wrong, though.

Discord: https://discord.gg/U5dJw7x
Systems from the Compaq Portable 1 to Ryzen 9 5950X
Twitch: https://twitch.tv/retropcuser

Reply 1 of 5, by ripsaw8080

User metadata
Rank DOSBox Author
Rank
DOSBox Author

It seems unlikely that the game in this case relies on MPU-401 intelligent mode; so does the music (that you believe to be missing) play when changing the setting "mpu401=intelligent" to "mpu401=uart" in dosbox.conf?

Also, you seem to have misapplied the earlier hack for Gateway. Arranging the code as you have in your example (ACK, VERSION, ACK) is ineffective and creates an extraneous ACK.

The original code is:

    case 0xac:   /* Request version */
QueueByte(MSG_MPU_ACK);
QueueByte(MPU401_VERSION);
return;

The hack changes it to:

    case 0xac:   /* Request version */
QueueByte(MPU401_VERSION);
QueueByte(MSG_MPU_ACK);
return;

If you insist on compiling a special, game-specific build of DOSBox for Gateway instead of simply using the GATEFIX program, the above is all that is need to "fix" the missing music in Gateway, and is an arguably safer workaround than prematurely signaling EOI for IRQ0.

Reply 2 of 5, by bjwil1991

User metadata
Rank l33t
Rank
l33t

Ah, good to know. I'll change that around and I'll post back for details.

Discord: https://discord.gg/U5dJw7x
Systems from the Compaq Portable 1 to Ryzen 9 5950X
Twitch: https://twitch.tv/retropcuser

Reply 3 of 5, by bjwil1991

User metadata
Rank l33t
Rank
l33t
ripsaw8080 wrote:
It seems unlikely that the game in this case relies on MPU-401 intelligent mode; so does the music (that you believe to be missi […]
Show full quote

It seems unlikely that the game in this case relies on MPU-401 intelligent mode; so does the music (that you believe to be missing) play when changing the setting "mpu401=intelligent" to "mpu401=uart" in dosbox.conf?

Also, you seem to have misapplied the earlier hack for Gateway. Arranging the code as you have in your example (ACK, VERSION, ACK) is ineffective and creates an extraneous ACK.

The original code is:

    case 0xac:   /* Request version */
QueueByte(MSG_MPU_ACK);
QueueByte(MPU401_VERSION);
return;

The hack changes it to:

    case 0xac:   /* Request version */
QueueByte(MPU401_VERSION);
QueueByte(MSG_MPU_ACK);
return;

If you insist on compiling a special, game-specific build of DOSBox for Gateway instead of simply using the GATEFIX program, the above is all that is need to "fix" the missing music in Gateway, and is an arguably safer workaround than prematurely signaling EOI for IRQ0.

Alright, I did fix the code earlier and I commented out the PIC_WriteCommand() code using the // and Frederik Pohl's Gateway does play all of the music; I don't know why I didn't think about this sooner.

However, NHL Hockey 95 is still missing the main menu music and the Pioneer Productions music (might be sound effects instead of music for the Pioneer Productions logo)

Discord: https://discord.gg/U5dJw7x
Systems from the Compaq Portable 1 to Ryzen 9 5950X
Twitch: https://twitch.tv/retropcuser

Reply 4 of 5, by ripsaw8080

User metadata
Rank DOSBox Author
Rank
DOSBox Author

The music in NHL 95 you refer to as missing is digital (*.IFF files), and is only heard when you select a digital sound device, such as SB or GUS. The MT-32 music (MT*.KMS files) is only available in a few places. I suppose you would like to be able to have simultaneous digital sound and MT-32 MIDI, but AFAICT the game does not support that -- only one sound device can be selected at installation or on the in-game menu.

Please, in the future do not refer to music as "missing" unless you're certain it's supposed to be there. You have a real DOS system, if I did not misunderstand what you wrote in the Gateway thread, so you can use that as reference for how a DOS game is supposed to behave.

Reply 5 of 5, by bjwil1991

User metadata
Rank l33t
Rank
l33t

Oops... Forgot about that... Thanks for the tip. This is why I need to look before posting...

Discord: https://discord.gg/U5dJw7x
Systems from the Compaq Portable 1 to Ryzen 9 5950X
Twitch: https://twitch.tv/retropcuser