Menu

#330 "Tomb Raider I" missing sound channel(s)?

pending
nobody
None
5
2012-11-02
2006-03-29
mike_nelson
No

Running Tomb Raider (original version). Most sounds
seem to work, although it seems like some sound
channel(s) are not working. The music during the menu
is not playing. The background sounds-in game are not
playing (the sound effects are playing fine). At least
one section has no audio at all - the in-game cut-
scene at the end of 'Tomb of Qualopec' (may just be one
track). The full motion video scenes seem to have
the full audio.

I'm not sure if this is a bug or a configuration
problem on my end. I've messed around with the sound
settings, but they don't seem to help. I'm using ALSA
with the OSS layer. I checked and debugged some of
the dosemu sound code and all seems fine.

Nothing really jumps out at me in the logs (with
'-D-a+2Sh')
except for,

SB: Outputted 0 bytes, 1536 bytes left

Do I need to worry about this?

Here is a quick snippet of the log,

...
SB:[Linux] Get Free Fragments (4, 0)
DMA: processing controller 1, channel 1
DMA: Single Mode Read - length 1536 (512)
SB: sb_dma_write: dosptr=0x12890 size=512
SB: Going to write 512 bytes
SB:[Linux] Get Free Fragments (4, 0)
SB: Outputted 0 bytes, 1536 bytes left
DMA: [crisk] DMA single read end trace
SB:[Linux] Get Free Fragments (4, 0)
DMA: processing controller 1, channel 1
DMA: Single Mode Read - length 1536 (512)
SB: sb_dma_write: dosptr=0x12890 size=512
SB: Going to write 512 bytes
SB:[Linux] Get Free Fragments (4, 0)
SB: Outputted 0 bytes, 1536 bytes left
DMA: [crisk] DMA single read end trace
SB:[Linux] Get Free Fragments (4, 0)
DMA: processing controller 1, channel 1
DMA: Single Mode Read - length 1536 (512)
SB: sb_dma_write: dosptr=0x12890 size=512
...

Discussion

  • mike_nelson

    mike_nelson - 2007-06-21

    Logged In: YES
    user_id=1313801
    Originator: YES

    I was looking more into this again. It looks like at least part of the problem is that it's attempting to use FM sound for the music which is not implemented. Although there looks to be some experimental sound code implemented in src/base/dev/sb16/ymf262.c. I've turned this on with "$_sound = (2)" and started messing around with this a bit. I'm curious, what is the status with this code?

    Is it currently being worked on?

     
  • Stas Sergeev

    Stas Sergeev - 2012-07-24

    The status of that code is mostly a POC, but
    it works well enough for most cases.
    The last development snapshot (of 2006) was
    recently applied to the git.
    Its mostly sndpcm.c that needs work, not an
    ymf262.c.

     
  • Stas Sergeev

    Stas Sergeev - 2012-11-02

    So does it work for you?

     

Log in to post a comment.