First post, by ErikGG
- Rank
- Member
Hi,
While I was fiddeling around with my SDL-SPY I encountered a strange inconsistancy in the SDL_CDPlay call of DOSBox playing Tomb Raider 1.
Mounted a harddrive and also a cdrom in IOCTRL mode.
The problem is that using ISOBuster I can easely detect the starting address of all sectors on a CD-Rom. Then I compared the values passed to SDL_CDPlay and the ones reported by ISOBuster, the start values where all offset by 300 bytes, or four seconds.
For the first song, for the menu,
DOSBox reported : start = 88792
ISOBuster reported : start = 88492
For the song of the first level,
DOSBox reported : start = 103537
ISOBuster reported : start = 103237
For Tomb Raider delivered with the 6 tombraiders in one pack, three twinpacks.
The lengths reported by both DOSBox and ISOBuster are correct.
After this I wrote my own TOC collector/"ISOBuster" and I must say the values reported by ISOBuster are correct.
Although I only have tested it with one game, I'm going to go through my stack of games if I can find a DOS game with CD-music on it. Will report back with what i find. I have a gut feeling that there is a bug with DOSBox that does the 150 bytes correction twice too many (the two seconds gap).
Erik.