How to fix: sound issues with King's Quest IV on TF330 and TF536
Posted: 21 Jan 2021 14:06
It has been brought to my attention that King's Quest IV game presents sound issues when running on TF330 and TF536, and this affects both WHDLoad and floppy versions. I did some experimenting and found out that for some reason this game places its sound samples in Z3 fast ram instead of Chip ram and this causes the issue.
This is a very strange bug as the game doesn't try to place sound samples in Z2 ram, only Z3. My guess would be that back in the day when this game was written, Z3 ram still wasn't in use, so they had no way of finding out about this bug.
This can be fixed by adding the EXPCHIP tooltype to the WHDLoad icon. This will force the game to run entirely out of chip ram and the sound will be fine. An unfortunate drawback is that the game will be considerably slower (especially on the 536) and you also need to have 2MB chip ram in your machine for the entire game to fit, but it is a workaround.
This is a very strange bug as the game doesn't try to place sound samples in Z2 ram, only Z3. My guess would be that back in the day when this game was written, Z3 ram still wasn't in use, so they had no way of finding out about this bug.
This can be fixed by adding the EXPCHIP tooltype to the WHDLoad icon. This will force the game to run entirely out of chip ram and the sound will be fine. An unfortunate drawback is that the game will be considerably slower (especially on the 536) and you also need to have 2MB chip ram in your machine for the entire game to fit, but it is a workaround.