I know you do not program or support for DOS anymore (this is no bug for a patch), but i'm just curious as to what changes went through the sound code in Ken's Labyrinth 2.X that causes DOSBox 0.70 to fatal error just seconds into the game? It seems to only happen with the Sound Blaster driver (and not PC Speaker or No Sound).
(Ken's Labyrinth 1.x and Walken do not crash dosbox)
Just bugging for a technical tip because only you know the history in your code. If you don't care anymore, then I am sorry for bothering this board. (Again, this is no beg for a patch, just a curiosity question)
Awesoken at
Re: The KLab 2.X Dosbox fatal sound crash
Yes, I made some changes to the sound code between 1.x and 2.x. It was actually an attempt to fix the sound on certain systems. Unfortunately, I never had access to one of the faulty cards, so I had to guess at what needed to be done. Not only did my changes fail to fix anything, but they also made the game crash on many more systems. The lesson is: never fix anything without feedback.
It is getting stuck somewhere in the ksay() routine, probably waiting for a hardware flag that never flips. I might be writing the DMA registers in a funny order, or resetting the DSP at the wrong time. Who knows. I never bothered to track it down because nowadays I use Jan Lonnberg's port.
I have posted the source code to Ken's Labyrinth v1.0 (LAB10SRC.ZIP), so maybe you can tell me where I blew it. : )
leileilol at
Thanks! A little diff'ing in the engine could lead this in the right direction. :)