Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: DOS Sound Problem  (Read 3375 times)

0 Members and 1 Guest are viewing this topic.

danman

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 4
  • Last login:July 28, 2009, 11:04:56 am
DOS Sound Problem
« on: July 11, 2009, 02:44:25 pm »
Hello all,
     I'm not sure if this is the best place to post this but... I'm a bit of a MAME noob and was trying to get a PC working using Fraggal's Boot OS v2.5.0.

     I've got almost everything working... ROMs loaded, menu up and running but I cannot get sound to function.

     I've tried a couple different varieties of Sound Blaster cards that I have, the one I believe that is the closest to functioning is a 128-bit PCI SB (Model# CT5808)

    I've disabled the onboard sound in the BIOS, tried hardsetting the IRQ in the BIOS on the PCI slot the SB card is in but no go. I'm at the point where I can boot to DOS and not have any errors. I can run a sbcfg and receive accurate information back about the card with no errors. When I launch the arcadeos I receive a message "Unable to initialise sound device". I tried just launching the ROMs individually via "advmame <ROM>", this launches without error, but no sound.  :badmood:

     Has anyone else seen this issue? I've been tinkering with it for about a week now to no avail.  :banghead:

headkaze

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2943
  • Last login:August 14, 2023, 02:00:48 am
  • 0x2b|~0x2b?
Re: DOS Sound Problem
« Reply #1 on: July 11, 2009, 07:37:38 pm »
Do you have the BLASTER variable set correctly in your autoexec.bat?

danman

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 4
  • Last login:July 28, 2009, 11:04:56 am
Re: DOS Sound Problem
« Reply #2 on: July 12, 2009, 08:52:03 am »
I believe so, it is currently;
Set Blaster=A220 I9 D1 H7 P330 T6

I say I believe it is correct because when I do a SBCFG I get the following output;
PCI Hardware:
     Port=C000, IRQ=11
Sound Blaster 16 Emulation:
     Port=220, IRQ=9, DMA=1, DMA16=5
MPU-401 (General MIDI, Roland MT-32/LAPE-1) Emulation:
     Port=330, IRQ=9
Adlib Emulation:
     Port=388


Thanks for the reply.

tikbalang

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 234
  • Last login:May 07, 2013, 05:04:54 pm
    • MAME BootCD's for DOS
Re: DOS Sound Problem
« Reply #3 on: July 12, 2009, 12:12:50 pm »
Quote
Sound Blaster 16 Emulation:
     Port=220, IRQ=9, DMA=1, DMA16=5


you need to set IRQ=5 for sb16 emulation. sometimes IRQ=7 works. your blaster line will change to:

BLASTER=A220 I5 D1 H5 P330 T6 (if using IRQ=5, and because H uses the value of DMA16)

« Last Edit: July 12, 2009, 12:17:26 pm by tikbalang »

tikbalang

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 234
  • Last login:May 07, 2013, 05:04:54 pm
    • MAME BootCD's for DOS
Re: DOS Sound Problem
« Reply #4 on: July 12, 2009, 12:21:37 pm »
what soundchip does the onboard audio use?
does your current SBPCI setup work with any DOS app/game?

also, fraggal's last version was v4.02F, mirrored here:

http://www.filefront.com/user/tikbalang/


danman

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 4
  • Last login:July 28, 2009, 11:04:56 am
Re: DOS Sound Problem
« Reply #5 on: July 12, 2009, 03:17:53 pm »
I don't know what the onboard soundchip is, I don't remember much about the motherboard itself other than it is an AMD I purchased about 8 years ago. The BIOS is a Phoenix which I believe is pretty generic and doesn't lend itself to motherboard identification from what I can tell.

I don't believe sound works with other apps, I tried using the DOS MP3 player tool DAMP, but got the following  error when I treid to play an mp3;
unable to install allegro sound driver
insufficient digital voices available.


I loaded the 4.02 version but still had the same problem.

I also adjusted the autoexec.bat to be A220 I5 D1 H5 P330 T6 as you suggested. After adjusting this I changed the SBPCI.INI to match with IRQ 5. an output of SBCFG now shows;
PCI Hardware:
     Port=C000, IRQ=11
Sound Blaster 16 Emulation:
     Port=220, IRQ=5, DMA=1, DMA16=5
MPU-401 (General MIDI, Roland MT-32/LAPE-1) Emulation:
     Port=330, IRQ=5
Adlib Emulation:
     Port=388


The ArcadeOS will not start with the Sound Blaster enabled (SoundCard=1 in the arcadeos.cfg file) After  attempting to start it adjusts "SoundCard=0" in the arcadeos.cfg file. Then it will start, without sound of course.

Thanks for the tips.

tikbalang

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 234
  • Last login:May 07, 2013, 05:04:54 pm
    • MAME BootCD's for DOS
Re: DOS Sound Problem
« Reply #6 on: July 12, 2009, 10:48:57 pm »
i had issues before with ArcadeOS hanging if my DOS memory management was too aggressive. i had to go back using himem.sys and emm386.exe.

my usual tips include:

1. turn off "PNP OS" in the bios
2. try other PCI slots before fiddling with the driver settings (to find the right IRQ).
3. try the drivers/troubleshooting tips from these websites:

http://easymamecab.mameworld.info/html/snddosdr.htm
http://easymamecab.mameworld.info/html/sndhelp.htm

http://dosmame.mameworld.info/

post your config.sys and autoexec.bat.
« Last Edit: July 12, 2009, 10:52:41 pm by tikbalang »

zorrobandito

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 134
  • Last login:November 22, 2015, 07:19:44 am
    • Zorro's Classic Games
Re: DOS Sound Problem
« Reply #7 on: July 13, 2009, 01:06:59 am »
I've seen this issue and it was one of the reasons I stopped using ArcadeOS. I could not get sound to work in DOS without using the 'genuine' article - that is, an ISA Soundblaster card. Of course, you need an ISA slot for this and as the system specs went up the availability of ISA slots went down.

Later Soundblaster cards *emulate* an original Soundblaster card, including those IRQ ports you are setting in the autoexec.bat. I believe it's because PCI cards don't actually use IRQ settings per se, since they have dedicated system access via PCI, unlike the old ISA cards which had to use the interrupt settings to play sound.

I tried so many different soundcards (about 20 in all) from many different manufacturers and some I got working in DOS but I could never get any PCI soundcards to work with AOS. In the end I gave up and moved to MAMEWah, which is heavily based on AOS but uses Windows as its underlying OS.

I'm not saying it's impossible but I spent about a year trying to get it working without success...

danman

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 4
  • Last login:July 28, 2009, 11:04:56 am
Re: DOS Sound Problem
« Reply #8 on: July 13, 2009, 05:48:38 pm »
     I just ordered a larger hard drive for the unit and I'll load a Windows OS on it. If you worked on it for a year and can't get it I don't wanna waste anymore time with it. I have attempted every PCI slot on that motherboard with various IRQ configurations and the solution eludes me still. :angry:

     I do appreciate the assistance.

     What Windows OS would you guys recommend, this will only be used for MAME and nothing else... Was thinking about using HyperSpin for the FE.

     If you guys still want the autoexec.bat and the config.sys I can post em but they are going to be very similar to the standard ones out of the Boot CD.

zorrobandito

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 134
  • Last login:November 22, 2015, 07:19:44 am
    • Zorro's Classic Games
Re: DOS Sound Problem
« Reply #9 on: July 14, 2009, 08:01:41 am »
I'd go for Windows XP and, if it's a dedicated machine, use MAMEWah - it's a very good environment.

I haven't tried Hyperspin but, from what I've read, the memory footprint is significantly larger. So if you have a 2Ghz+ machine, go for it.   

esaelectrionics

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 80
  • Last login:December 11, 2013, 01:05:50 pm
Re: DOS Sound Problem
« Reply #10 on: July 22, 2009, 12:21:41 pm »
its tricky,
i got some old boards from ebay to do this,
soundblaster pci boards depend on
the mother board supporting a special standard (forgot the name of it).

i tried a Asus p4c800 deluxe and sblive pci worked under dos,
its hit or miss if your motherboard will support them, alot don't
and your banging your head against a wall buying new soundcards,
when its the mother board thats not supporting the standard.

but i prefer to use older boards with ISA soundcard,
they work much easier.

I allways use advancemame under dos, can never seem to get things running
as smooth under windows, close but just not quite as good.

my system uses an amd 1900xp processor , ISA soundblaster 16, and a trident 3d blade graphics card/arcade VGA v1.

btw. its far easier to get a windows system to work,
i love advmame under dos and have got to know it quite well over time,
but i was using this stuff back in the day, you have to be prepared to tweak!


 :afro:



« Last Edit: July 22, 2009, 12:28:30 pm by esaelectrionics »