Using Yamaha the YMF744 under DOS without legacy/ISA addressing

Discussion about old sound cards, MIDI devices and sound related accessories.

Re: Using Yamaha the YMF744 under DOS without legacy/ISA addressing

Postby Kamerat » 2019-10-03 @ 19:44

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.
User avatar
Kamerat
Oldbie
 
Posts: 954
Joined: 2014-3-14 @ 19:09
Location: Oslo, Norway

Re: Using Yamaha the YMF744 under DOS without legacy/ISA addressing

Postby mikedebian » 2019-10-03 @ 20:26

Here is the result of my DS-XG PCI configuration utility
Code: Select all
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

Code: Select all
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:

Code: Select all
/|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

Code: Select all
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.
User avatar
mikedebian
Newbie
 
Posts: 21
Joined: 2017-7-12 @ 20:00

Re: Using Yamaha the YMF744 under DOS without legacy/ISA addressing

Postby cyclone3d » 2019-10-03 @ 20:30

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.
User avatar
cyclone3d
l33t
 
Posts: 3364
Joined: 2015-4-08 @ 06:06
Location: Huntsville, AL USA

Re: Using Yamaha the YMF744 under DOS without legacy/ISA addressing

Postby mikedebian » 2019-10-03 @ 20:34

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
User avatar
mikedebian
Newbie
 
Posts: 21
Joined: 2017-7-12 @ 20:00

Re: Using Yamaha the YMF744 under DOS without legacy/ISA addressing

Postby cyclone3d » 2019-10-03 @ 20:57

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.
User avatar
cyclone3d
l33t
 
Posts: 3364
Joined: 2015-4-08 @ 06:06
Location: Huntsville, AL USA

Re: Using Yamaha the YMF744 under DOS without legacy/ISA addressing

Postby mikedebian » 2019-10-03 @ 21:05

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:

https://www.vogons.org/viewtopic.php?f=62&t=24769&start=380#p790169
User avatar
mikedebian
Newbie
 
Posts: 21
Joined: 2017-7-12 @ 20:00

Re: Using Yamaha the YMF744 under DOS without legacy/ISA addressing

Postby cyclone3d » 2019-10-03 @ 22:38

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.
User avatar
cyclone3d
l33t
 
Posts: 3364
Joined: 2015-4-08 @ 06:06
Location: Huntsville, AL USA

Re: Using Yamaha the YMF744 under DOS without legacy/ISA addressing

Postby mikedebian » 2019-10-04 @ 01:46

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.
User avatar
mikedebian
Newbie
 
Posts: 21
Joined: 2017-7-12 @ 20:00

Re: Using Yamaha the YMF744 under DOS without legacy/ISA addressing

Postby Kamerat » 2019-10-10 @ 19:28

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.

Code: Select all
pci_write16(14, D001)
pci_write16(18, CF01)


Code: Select all
/|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:

Code: Select all
adlib_port=D060       ; OPL3 interface's base address:
                      ;   [0] autodetection
                      ;   [1-FFFFh] user definable range
User avatar
Kamerat
Oldbie
 
Posts: 954
Joined: 2014-3-14 @ 19:09
Location: Oslo, Norway

Previous

Return to Sound

Who is online

Users browsing this forum: krcroft and 4 guests