Qbasicnews.com

Full Version: Port Masker
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
My computer configurations are crappy for producing sound in QB. Just look at this:

Sound Blaster Live! 5.1:
IRQ = 17
DMA = None
Port = &HC000

I can't change these values (don't say it is possible, because it isn't).

I was wondering, is there some program that can mask Ports and assign ports to them, so that I could set these values:

IRQ = 3
DMA = 1
Port = &H240

Because else all DOS-Sound will not work.
A Sound Blaster should have a driver for legacy DOS programs allowing you to use the standard DOS ports.
If not, if you are running W2000 or XP you can use VDMSound, that emulates the SB DOS ports in any card.
Yep. Check \Program Files\Creative\SBLive\DOSDrv to see if you have already installed (but not configured) the SB16 emulator. If not, check the SBLive! installation discs.

You can also check Start / Control Panel / System and then the Device Manager tab (or whatever is called in english). You should see the emulator listed on Other Creative Devices (again, translating from spanish), among the Game Port and the Multimedia Interface.

On the same topic, even if you "mask" the ports you won't gain anything, because (usually) any DOS sound routine expects an ISA card, not a PCI one.
It isn't there! Can't find any dir called DOSDrv and there is no EmU! that's just the prob
I'd like to know...
Okay, okay... thank your favorite god 'cuz I got some spare time to help you.

If you didn't see the DosDrv directory then -obviously- you haven't installed the emulator. In that case, uninstall the soundcard and then reinstall it using the Custom Installation, and make sure to include the DOS controllers (517kb) this time. If for some reason the emulator wasn't included in the installation CDs (and I've seen lots of people in the same situation), well... you're out of luck, because these @·$%&#! at Creative don't have the DOS emulator available for download. Simply as that.

Fortunately for you, I've found two files that may come in handy for you:

http://www.vtr.net/~disaster/Dosdrv.zip and http://www.vtr.net/~disaster/LiveDos.zip

Both files will be deleted soon, so hurry up.

Dosdrv supposedly is the original setup file for DOS support. I've tested it and this doesn't work for me, and my instinct says that will not work for you either. Anyways, give it a test.
I've included LiveDos in case the previous file doesn't work for you. This file contains just the files needed for pure DOS emulation; these files are the ones located in the DOSDrv directory and are loaded via AUTOEXEC.BAT:

Code:
SET BLASTER=A220 I7 D1 H5 P330  T6
SET CTSYN=C:\WINDOWS
C:\(dosdrv path)\SBEINIT.COM
note: I've configured the emulator to use IRQ7, as IRQ5 is used by my cable-modem. Check your configuration.

Some other interesting info:
Quote:After I downloaded this pack, the SBLIVE still did not work in pure DOS (MSDOS 6.22). After further searching, I found there are two more files you need to have SBLIVE running in pur DOS mode. You need CTSYN.INI and one of the following ECW files (WAV mapping file) - DEFAULT.ECW, EAPCI2M.ECW, EAPCI4M.ECW, or EAPCI8M.ECW. CTSYN.INI and DEFAULT.ECW files are supposed to be installed into your C \WINDOWS and C \WINDOWS\SYSTEM directory when you run the SB setup program in WIN9x or WINME. You can find those *.ECW files in www.driverguide.com, www.sound-drivers.com, or www.driversearch.com. Actually, several copies of DEFAULT.ECW and EAPCI2M.ECW are on the SBLIVE driver CD-ROM. You may find CTSYN.INI at those places as well. Oh, you need to write some lines into your CONFIG.SYS and AUTOEXEC.BAT, too.

But again, verify your installation CDs, run the REAL setup program(not the launcher) located at \AUDIO\SPANISH(or *your* lang)\SETUP but DON'T UNINSTALL the card, then continue the "installation" until you're asked to perform a "Full" or "Custom" setup. Choose "Custom", and check if the DOS drivers are included. If yes, cancel everything, uninstall your card and reinstall it using the "Custom" setup. If not, well, start playing with the archives I gave you.

Hope this helps you a bit.
Two things that I forgot to mention, and are really important:
  • If you're using Windows 2000 or XP, these drivers won't do anything for you. Instead -as Antoni said-, check VDMSound.
  • If your mothercard doesn't support Non-Masked Interrupt (NMI), you're screwed, because the emulator won't work even if it's correctly installed and configured. I saw once that problem, in a crappy BIOSTAR (puaaaj!) motherboard.

You might ask "WTF is NMI?". Then I'll say...

"NMI stands for Non-masked Interrupt. All of the regular interrupts that we normally use and refer to by number are called maskable interrupts. The processor is able to mask, or temporarily ignore, any interrupt if it needs to, in order to finish something else that it is doing. In addition, however, the PC has a non-maskable interrupt (NMI) that can be used for serious conditions that demand the processor's immediate attention. The NMI cannot be ignored by the system unless it is shut off specifically. When an NMI signal is received, the processor immediately drops whatever it was doing and attends to it. As you can imagine, this could cause havoc (damn I -love- that word) if used improperly. In fact, the NMI signal is normally used only for critical problem situations, such as serious hardware errors. Older motherboards doesn't support NMI at all."

And you might ask "then HTF can I tell if my mobo supports NMI calls?". My answer is: there is no simple way to do this. Sorry.

Good luck. You'll need it.