Reply 1880 of 2018, by Majinken
TheGreatCodeholio wrote on 2020-04-16, 17:31:
Thought so. The way PC speaker code renders audio works fine for the 1ms increments it normally renders but it breaks when asked […]Majinken wrote on 2020-04-16, 16:15:
@TheGreatCodeholio: Wow! Disabling the accurate mode fixed the muffled/distorted sound. Tandy still doesn't work though :( Still […]TheGreatCodeholio wrote on 2020-04-16, 15:46:
Try turning off the sample accurate setting. Sample accurate rendering is possible in the latest code without setting that option.
EDIT: In fact, sample accurate mode clashes badly with the PC speaker emulation because of the way PC speaker emulation was/is written.
@TheGreatCodeholio: Wow! Disabling the accurate mode fixed the muffled/distorted sound. Tandy still doesn't work though 🙁 Still just the black screen... But thank you on the tip, at least the EGA/CGA now works good, just gotta figure out how to make Tandy work 😀
@_Rob: If you don't mind me asking, where did you purchase your PC Booter version? Or is it something you had from the old times?
Edit: Ok, I'm thinking that the Steam and GOG versions are cracked or hacked versions that's why the Tandy version doesn't work. However, I was able to get the bootable disk version but it included 2 disks. So I did this to my conf file...
mount c ..\games\dotc\
boot DOTCEGA1.IMG DOTCEGA2.IMG
Now, when I run the game either on EGA or Tandy, it now works but I get stuck when it asks me to insert disk 2... I press CTRL+F4 to change disks but it doesn't seem to work? I also tried F11+F4... what's the shortcut to change or swap between disks in DOSBox-X?
Edit: Nevermind, got it, thanks! 😀 😀 😀 I'm now a happy camper!
Thought so. The way PC speaker code renders audio works fine for the 1ms increments it normally renders but it breaks when asked to render one sample at a time.
Assuming the Tandy version is not a booter... does running LOADFIX before executing the program get it to work?
A surprising amount of DOS executables fail if loaded to low in memory, including the EXEPACK code Microsoft's Linker used which causes the "Packed file is corrupt" message. This is the reason recent commits to DOSBox-X raise the default minimum MCB segment back up to MS-DOS 7.0-like defaults.
Running loadfix defender.com shows "Sorry, the DOS memory required by the game is not free. 64kb freed,"
Then I tried loadfix -10 defender.com, it runs but proceeds with the black screen.