• *.wav, *.mod; sound files

    From Chris Hoppman@1:129/305 to All on Thu Jan 30 23:15:54 2003
    Just wondering. I am on a Win2000 box and downloaded some source code (serveral infact) for playing sound bits through the sound blaster. Now, unfortionaly I might sound abit stupid, but I have one of those intergrated sound boards that came with the motherboard, but claims to be sound blaster doable<sorry>. I fire up the source code and get a error code with each source code bark'd back at me about tring to access the sound board. I am setting up the dma(1)/int(10)/freq(220-?forget right now). Right just like it has
    under the sign'd driver in windows hardware profiles of the sound card and it still barfs the error code at me. I looked at the source and they don't seem to have any old Regs. That might mess up a in 32 bit envirment. Plus, if I play old dos games and setup the sblaster in them they play just fine. Now these source codes are from different people. I was just wondering if anyone could offer some insight in why this might be going on. I tried to explain what is going on in my end, but if you need to know more just ask. Oh, yeah it also complains if I try to do the sound( ); stuff over the pc speaker and
    in other programs it sounds wierd, but the pc speaker works also. Last thing is the source did work in Win98 (no se didn't test it out), but upgraded my software and this happens. Any comments?


    Chris

    --- Renegade vY2Ka2
    * Origin: The Titantic BBS Telnet - ttb.slyip.com (1:129/305)
  • From mark lewis@1:3634/12 to Chris Hoppman on Fri Jan 31 14:10:06 2003
    Just wondering. I am on a Win2000 box and downloaded some
    source code (serveral infact) for playing sound bits through
    the sound blaster.

    if its the source stuff that we used to play with back in the DOS days, then you problem would appear to be that win2000 doesn't allow direct access to the hardware like win9x and earlier did...

    to play sound files in your current environment, you may have to switch to a compiler and such so that you can access the windows internal APIs directly... you won't be setting any DMA or IRQ settings at all because you can't gain direct access to the hardware...

    what error message/code (exactly) do you get when you try your current methods?

    not all lowlevel coding is/was done with the REGS structures... some are done with inline or ASM... if you are trying to link in a precompiled OBJ file, you can't tell what's being done in there...

    )\/(ark


    * Origin: (1:3634/12)
  • From Scott Adams@1:112/91 to Chris Hoppman on Mon Feb 10 00:12:44 2003
    Quoting Chris Hoppman to All <=-

    @MSGID: 1:129/305 2b1593ef
    Just wondering. I am on a Win2000 box and downloaded some source
    code (serveral infact) for playing sound bits through the sound
    blaster. Now, unfortionaly I might sound abit stupid, but I have one
    of those intergrated sound boards that came with the motherboard, but claims to be sound blaster doable<sorry>. I fire up the source code
    and get a error code with each source code bark'd back at me about
    tring to access the sound board. I am setting up the dma(1)/int(10)/freq(220-?forget right now). Right just like it has under the sign'd driver in windows hardware profiles of the sound card
    and it still barfs the error code at me. I looked at the source and
    they don't seem to have any old Regs. That might mess up a in 32 bit envirment. Plus, if I play old dos games and setup the sblaster in
    them they play just fine. Now these source codes are from different people. I was just wondering if anyone could offer some insight in why this might be going on. I tried to explain what is going on in my end, but if you need to know more just ask. Oh, yeah it also complains if I
    try to do the sound( ); stuff over the pc speaker and in other
    programs it sounds wierd, but the pc speaker works also. Last thing is the source did work in Win98 (no se didn't test it out), but upgraded
    my software and this happens. Any comments?

    Have you checked out SWAG? It had a bunch of code
    for sounds and SB stuff. Might help you. Granted
    some of its a decade old but might give you that
    extra bit of help. My website should still have
    a link to it...via programmer's page..

    http://users.cybermax.net/~longshot

    ... Dragons make great pets. Just put down LOTS of newspaper.
    --- Fringe BBS
    * Origin: EWOG II - The Fringe - 904-733-1721 (1:112/91)
  • From Chris Hoppman@1:129/305 to Scott Adams on Tue Feb 11 02:14:01 2003
    Have you checked out SWAG? It had a bunch of code
    for sounds and SB stuff. Might help you. Granted
    some of its a decade old but might give you that
    extra bit of help. My website should still have
    a link to it...via programmer's page..

    http://users.cybermax.net/~longshot

    ;)

    That is where I got some of the source for it off of.
    Download'd the swag packs and got the Win reader for it.


    I am thinking my problem is cause of the Win<->Dos stuff.

    It is going to be awhile before I can really get to figure it out, but thought I would ask.

    Thanks everyone for the help.

    Chris

    --- Renegade vY2Ka2
    * Origin: The Titantic BBS Telnet - ttb.slyip.com (1:129/305)
  • From Scott Adams@1:112/91 to Chris Hoppman on Tue Feb 18 02:26:37 2003
    Quoting Chris Hoppman to Scott Adams <=-

    Have you checked out SWAG? It had a bunch of code
    for sounds and SB stuff. Might help you. Granted
    some of its a decade old but might give you that
    extra bit of help. My website should still have
    a link to it...via programmer's page..

    http://users.cybermax.net/~longshot

    ;)

    That is where I got some of the source for it off of.
    Download'd the swag packs and got the Win reader for it.

    Great. I love the dos reader myself quick and easy :)

    I am thinking my problem is cause of the Win<->Dos stuff.

    That's possible unless is a strict API type interface
    then your just hoping things will work sometimes with
    code. We saw a TON of that befpre bp7 did its windows
    like with turbovision and the OWL stuff and the win
    ides first came out. It was sorta hit and hope it
    works or miss.

    It is going to be awhile before I can really get to figure it out, but thought I would ask.

    Thanks everyone for the help.

    Well good luck. Swag covers probably 15 maybe 20 years
    in this ..oh wait this is the lessons echo the pascal
    programming echo :) So its some of the greatest heads
    in fido over the years. So should be a good source of
    input.

    ... The year is 2258. The name of the place is Babylon 5.
    --- Fringe BBS
    * Origin: EWOG II - The Fringe - 904-733-1721 (1:112/91)