VOGONS


Reply 20 of 28, by Kamerat

User metadata
Rank Oldbie
Rank
Oldbie
mikedebian wrote:

The problem is that DSDMA instantly reboots my computer. I've seen other people have the same problem in other threads, in which they have old(er) motherboards!

FM works without DSDMA as it doesn't require ISA DMA.

DOS Sound Blaster compatibility: PCI sound cards vs. PCI chipsets
YouTube channel

Reply 21 of 28, by mikedebian

User metadata
Rank Newbie
Rank
Newbie

Here is the result of my DS-XG PCI configuration utility

LEGACY  AUDIO    : ENABLE
SB PORT ADDRESS : 220
IRQ CHANNEL : INTA#
DMA CHANNEL : DISABLE
FM PORT ADDRESS : 330
MPU PORT ADDRESS : 388
IRQ CHANNEL : INTA#
JOY PORT ADDRESS : ENABLE
IRQ MODE : INTA#
INTA# IRQ : 5
DMA MODE : NOT ASSIGN
D-DMA BASE : 8000
VOLUME
SOUND TEST
EXIT

Autoexec.bat

LOADHIGH C:\DOS\SMARTDRV.EXE /X
LOADHIGH C:\DOS\DOSKEY.COM -I
@ECHO OFF
PROMPT $p$g
PATH C:\DOS
SET TEMP=C:\TEMP
MODE CON CODEPAGE PREPARE=((850) C:\DOS\EGA.CPI
MODE CON CODEPAGE SELECT=850
KEYB NO,,C:\DOS\KEYBOARD.SYS
SET BLASTER=A220 I5 D1 T4
copy C:\DS-XG\DOS4GW.EXE \
chcp 437
C:\DS-XG\SETUPDS.EXE /S
del \DOS4GW.EXE

I then wrote a scriptfile for SMB using what you (kamerat) wrote above for my card and launched it. It said it found the card and set the properties.

I then went and edited the INI file for the ADTRACK2.EXE program and set the base to D060h

This is what it said:

/|dlIb tr/|ck3r ][ coded by subz3r0/Altair
2.3.57 09-10-2019 1:13pm

Reading configuration file ... ok
WARNING: Mouse driver not installed!
Autodetecting OPL3 interface at 260h ... not responding!

Force base address in configuration file ....
EOT

Assuming I've done everything correctly, I guess I'm shit out of luck then?

I am able to get music out of the soundcard using the SETUPDS.EXE program, under "NATIVE SOUND", which I guess loads a WAV file from the disk (that is included) and plays it through the card. I guess my computer is able to talk to the card and is able to input what to do, to it, but other than that...

Edit:

The file it plays is

Playing: YMH16.WAV
(+) Audio --aid=1 (pcm_s16le 2ch 44100Hz)
File tags:
Date: 1997-08-26
AO: [pulse] 44100Hz stereo 2ch s16
Last edited by mikedebian on 2019-10-03, 20:32. Edited 1 time in total.

Reply 22 of 28, by cyclone3d

User metadata
Rank l33t
Rank
l33t

Why are you trying to put FM at port 260?

It will work fine at the default. The YMF7x4 cards do not require anything special for FM to work even on newer motherboards.

Yamaha YMF modified setupds and drivers
Yamaha XG resource repository - updated November 27, 2018
Yamaha YMF7x4 Guide
AW744L II - YMF744 - AOpen Cobra Sound Card - Install SB-Link Header
Epstein didn't kill himself

Reply 23 of 28, by mikedebian

User metadata
Rank Newbie
Rank
Newbie
cyclone3d wrote:

Why are you trying to put FM at port 260?

It will work fine at the default. The YMF7x4 cards do not require anything special for FM to work even on newer motherboards.

I think I was following Kamerats instructions. I might not have, and might have messed it up. I've never had to do this before. What do you suggest I do? Did I do it wrong?

Edit
ADTRACK sets it at a default 260, even if auto detection is set in the INI file

Reply 24 of 28, by cyclone3d

User metadata
Rank l33t
Rank
l33t

Ok, so yeah,. you have it remapped to 260h from what you did.

However, if you are just trying to use FM then you shouldn't have to remap anything. It should just work.

Yamaha YMF modified setupds and drivers
Yamaha XG resource repository - updated November 27, 2018
Yamaha YMF7x4 Guide
AW744L II - YMF744 - AOpen Cobra Sound Card - Install SB-Link Header
Epstein didn't kill himself

Reply 25 of 28, by mikedebian

User metadata
Rank Newbie
Rank
Newbie
cyclone3d wrote:

Ok, so yeah,. you have it remapped to 260h from what you did.

However, if you are just trying to use FM then you shouldn't have to remap anything. It should just work.

I just want to make sure we're clear that I'm not trying to configure sound based on a motherboard that is in any way old, or compatible. Just so you know, this is what I am referring to, and it's just an experiment:

PCI sound cards and Chipsets from various manufacturers...

Reply 26 of 28, by cyclone3d

User metadata
Rank l33t
Rank
l33t

Ok... so the native 16-bit sound working is not surprising.

The Sound Blaster emulation may not work at all.

This is the first I have seen where the FM would not work on a newer system with a YMF7x4 setup though. Maybe there is some speed issue... or maybe the PCI bridge just won't work with it.

I do have a family member in the area that recently upgraded to a Ryzen system. I'm not sure of the chipset and also not sure if it has PCI slots or not although I do have a PCIe to PCI adapter that I could try to see if I could get FM working.

Yamaha YMF modified setupds and drivers
Yamaha XG resource repository - updated November 27, 2018
Yamaha YMF7x4 Guide
AW744L II - YMF744 - AOpen Cobra Sound Card - Install SB-Link Header
Epstein didn't kill himself

Reply 27 of 28, by mikedebian

User metadata
Rank Newbie
Rank
Newbie

Ok, done a lot of testing, both this card and a SB16

I managed to limit my ram to 32MB using himemx, which then resulted in DSDMA working, however, no change.
I hear the audio pop in and out when DOS starts. Windows is unable to find the cards.
DOS is able to find and configure the SB16, which results in Audio pop (card reset?), but every setup program fails to find the card. Only the game Hocus Pocus is able to find it the general midi on the card, but fails to load after a while.

I guess that's it.

Reply 28 of 28, by Kamerat

User metadata
Rank Oldbie
Rank
Oldbie

Today I got Sound Blaster digitized sound working on a motherboard with the AMD A75 chipset and I might also solved one of "mikedebian" problems. It looks like the I/O port range for Sound Blaster and Joystick overlaps and I got it working after changing them. I used Duke Nukem 3D to try out the Sound Blaster and MPU part and Adlib Tracker II for FM.

So "mikedebian" should try this to add this to the SMB script for changing the joystick base I/O to address CF00 (register 18, register 14 is the Sound Blaster I/O). I can in no way guarantee that it works, the A75 chipset got native PCI support, while his motherboard are using a bridge.

pci_write16(14, D001)
pci_write16(18, CF01)
/|dlIb tr/|ck3r ][ coded by subz3r0/Altair
2.3.57 09-10-2019 1:13pm

Reading configuration file ... ok
WARNING: Mouse driver not installed!
Autodetecting OPL3 interface at 260h ... not responding!

Force base address in configuration file ....
EOT

It shouldn't try to autodetect when you configured it to use a specific address. The ADLIB port config of your "ADTRACK2.INI" should look something like this:

adlib_port=D060       ; OPL3 interface's base address:
; [0] autodetection
; [1-FFFFh] user definable range

DOS Sound Blaster compatibility: PCI sound cards vs. PCI chipsets
YouTube channel