win3x
« High Definition Audio »

Welcome Guest. Please Login or Register.
Feb 22nd, 2018, 10:42pm



« Previous Topic | Next Topic »
Pages: 1 2 3 4  ...  12 Reply Notify Send Topic Print
 veryhotthread  Author  Topic: High Definition Audio  (Read 2663 times)
watler
Administrator
ImageImageImageImageImage


member is offline

Avatar




Homepage PM


Posts: 164
xx Re: High Definition Audio
« Reply #15 on: Sep 23rd, 2017, 6:29pm »
Quote

It seems that hda_single_send_cmd has returned false;
Perhaps it is because the PCI device was not properly found.

"Bus 0 (PCI), Device Number 20, Device Function 2"

{Version 17a:}
Pci Bus: 0
Function: 0
NO PCI information in table (greyed out !)


I tested the HDA driver on an bootable USB drive.(MS-DOS 6.22/Windows 3.1)
Version 8 is much better than the older ones.
http://turkeys4me.byethost4.com/files/Hdadrv8d.zip

Deomsh, what type of Win/DOS setup are you using to test the driver?

« Last Edit: Sep 24th, 2017, 10:46am by watler » User IP Logged

deomsh
Moderator
ImageImageImageImageImage


member is offline

Avatar




PM


Posts: 109
xx Re: High Definition Audio
« Reply #16 on: Sep 24th, 2017, 3:55pm »
Quote

Thanks for your efforts!

Changes when using HDA2.DLL from HDADRV8d.ZIP

OS: MS-DOS 7.10/Windows 3.1 (io.sys & win386.exe patched)

Sound Recorder or Media Player: opening a WAV-file gives "Playing", no error dialog anymore.
There is no movement and no sound. After reboot Windows error dialogs appear again. Computer must be turned off a while, before a restart gives no error dialogs in Sound Recorder or Media Player.

With or without HDARUN.EXE makes no difference.

Normal exit Windows still not possible when driver is active.

There are many changes in HDACFG.INI.

{with HDA2.DLL Version 8d}

[HDA]
TSR=TSR Found
PCI_VID=$1002
PCI_DID=$4383
CODEC_VID=$0000
CODEC_DID=$0000

[BUSMASTER]
myPCIHI=$0010
myPCILO=$0000
myPCImem=$00110000
myPCIaddr=$00100000
aPCIHI=$0020
aPCILO=$0000
aPCIaddr=$00200000

{with HDA2.DLL Version 8}

[HDA]
TSR=TSR Found
VID=1002
DID=4383

[BUSMASTER]
myPCIHI=$0010
myPCILO=$0000
myPCIaddr=$00100000
aPCIHI=$0020
aPCILO=$0000
aPCIaddr=$00200000

In my Windows 10 installation High Definition Audio Device has main ID's: VEN_10EC&DEV_0662. Manually editing HDACFG.INI with this values in CODEC_VID/DID gives no change, after restart values are back on "$0000".
« Last Edit: Sep 25th, 2017, 07:14am by deomsh » User IP Logged

watler
Administrator
ImageImageImageImageImage


member is offline

Avatar




Homepage PM


Posts: 164
xx Re: High Definition Audio
« Reply #17 on: Sep 25th, 2017, 11:31am »
Quote

Since my driver is unable to read the CODEC vendor ID from your HDA, I must figure out why.

First lets find out if my programs have enabled the PCI HDA device.

You can have more that one HDA device in a computer.
Do you have a graphics card with built in HDA support?
http://turkeys4me.byethost4.com/programs/Pciscan.7z

Were you able to view the second window of AHDA?
http://turkeys4me.byethost4.com/files/AHDA17b.zip

I adjusted hdadrv so that it should list all HDA PCI in hdacfg.ini;
http://turkeys4me.byethost4.com/files/HDADRV8F.7z

« Last Edit: Sep 26th, 2017, 10:58am by watler » User IP Logged

deomsh
Moderator
ImageImageImageImageImage


member is offline

Avatar




PM


Posts: 109
xx Re: High Definition Audio
« Reply #18 on: Sep 26th, 2017, 2:23pm »
Quote

I tested JOJONE.EXE from Pciscan.7Z

Program works, relevant Pci-information is:

"BUS:00;Func:A2=43831002"

I do not have a HDA graphics card or other HDA devices.

AHDA17B Tab [Pci] is fully filled in, including the right VEN/DEV ID's and the table with PCI information.
Some details:
PCI Bus: "0", Function: "162".
In box below <Search>: "ATI HDA$4383".
Pci Mem: "$FBFF4004"

Other Tab's give exactly same results as reported earlier for version 16.

I noticed already the second window, I tried al Tab's and Buttons, but it seems to me this window doesn't give information about my chipset, although I think the information is absolutely useful for writing a HDA-driver

HDA2.dll from HDADRV8e.ZIP gives same results as 8d as reported earlier.

HDACFG.INI:
[HDA]
TSR=TSR Found
PCI_VID=$1002
PCI_DID=$4383
CODEC_VID=$0000
CODEC_DID=$0000

[BUSMASTER]
myPCIHI=$0011
myPCILO=$0000
myPCImem=$00110000
myPCIaddr=$00100000
aPCIHI=$0020
aPCILO=$0000
aPCIaddr=$00200000

Windows 10 device manager gives for "location information" of the HDA controller: "PCI bus 0, device 20, function 2", so same as Craig's Pci-program.




User IP Logged

watler
Administrator
ImageImageImageImageImage


member is offline

Avatar




Homepage PM


Posts: 164
xx Re: High Definition Audio
« Reply #19 on: Sep 26th, 2017, 6:19pm »
Quote

"AHDA17B Tab [Pci] is fully filled in, including the right VEN/DEV ID's and the table with PCI information."

Glad to hear the device was detected.
Now to make certain that the memory I/O buffer is aligned so that the values match my variables.

"Values 2C&2E are changing when scrolling up and down !!!"
Turning on "reset toggle" should stop the rolling timer.

Press reset toggle again to start the timer back up.

http://turkeys4me.byethost4.com/files/HDADRV8G.7z
User IP Logged

watler
Administrator
ImageImageImageImageImage


member is offline

Avatar




Homepage PM


Posts: 164
xx Re: High Definition Audio
« Reply #20 on: Sep 28th, 2017, 10:13am »
Quote

Deomsh, I have changed the way Immediate Commands are sent.

Erase HDACFG.ini
Then try: http://turkeys4me.byethost4.com/files/HDADRV8J.zip

Let me know what HDACFG.ini shows.
User IP Logged

deomsh
Moderator
ImageImageImageImageImage


member is offline

Avatar




PM


Posts: 109
xx Re: High Definition Audio
« Reply #21 on: Sep 28th, 2017, 3:10pm »
Quote

Hello Watler,

Thank you very much for all your efforts!

I tested version 8g and 8j. Both give same results and also same HDACFG.INI.

I can report BIG progress. When playing a WAV file, there is regular movement (time indicator). Only no sound. With or without HDARUN.EXE makes no difference.

HDACFG.INI gives:

[HDA]
TSR=TSR Found
PCI_VID=$1002
PCI_DID=$4383
PCI_BUS=$0000
PCI_FUNC=$00A2
CODEC_VID=$10EC
CODEC_DID=$0662

[BUSMASTER]
myPCIHI=$0011
myPCILO=$0000
myPCImem=$00110000

[ALLHDA]
$00A2=$43831002

And after changing the memory address in the driver setup (I tried FBFF4004):

[HDA]
TSR=TSR Found
PCI_VID=$1002
PCI_DID=$4383
PCI_BUS=$0000
PCI_FUNC=$00A2
CODEC_VID=$10EC
CODEC_DID=$0662

[BUSMASTER]
myPCIHI=$0011
myPCILO=$0000
myPCImem=$00110000
myPCIaddr=$FBFF4004
aPCIHI=$FC0F
aPCILO=$0000
aPCIaddr=$FC0F4004

[ALLHDA]
$00A2=$43831002

Trying to exit Windows gives now that "Progman caused a GPF in module HDA2.DLL at 0002:1781" and Windows stalls.

What did you mean with "Now to make certain that the memory I/O buffer is aligned so that the values match my variables."?

I also tried <Reset Toggle> in AHDA17b, but values 2E&2G are still changing, also when I click somewhere with the mouse.

User IP Logged

watler
Administrator
ImageImageImageImageImage


member is offline

Avatar




Homepage PM


Posts: 164
xx Re: High Definition Audio
« Reply #22 on: Sep 28th, 2017, 5:30pm »
Quote

CODEC_VID=$10EC
CODEC_DID=$0662
Your HDA card is operational if you can send it VERBS.
http://turkeys4me.byethost4.com/files/HDADRV8K.zip

Let me know if I have the node/widget
program working with your HDA.
http://turkeys4me.byethost4.com/files/AHDA17c.7z

Thanks for the help, deomsh.
User IP Logged

deomsh
Moderator
ImageImageImageImageImage


member is offline

Avatar




PM


Posts: 109
xx Re: High Definition Audio
« Reply #23 on: Sep 29th, 2017, 5:22pm »
Quote

I tested HDA2.DLL version 8k, no differences compared to versions 8g&8j except more information in HDACFG.INI:

[HDA]
TSR=TSR Found
PCI_VID=$1002
PCI_DID=$4383

[BUSMASTER]
myPCIHI=$0011
myPCILO=$0000
myPCImem=$00110000

[ALLHDA]
$00A2=$43831002

[HDA_43831002,76621849]
PCI_BUS=$00
PCI_DEVICE=$14
PCI_FUNCTION=$2
CODEC_VID=$10EC
CODEC_DID=$0662
CODEC_REV=$EC0662
CODEC_NODEINFO=$EC0662

I also tested AHDA17c. Differences compared to version 17b:

[PCI]
Same as 17b, except Pci mem: FBFF4000 (instead of FBFF4004 in 17b)

[HDA]

<HDA Pci Mem> Gives same values as earlier except:

18 $003C Outputstream Payload Capabilaty =new

1A $001D Inputstream Payload Capabilaty =new

38 $0000 SSYNC Stream Synchronization =moved, was on line 34

50 $0000 RIRBLBASE Lower Base =moved, was on line 52

54 $0000 RIRBUBASE Upper Base =moved, was on line 56

58 $0100 RIRBWP =moved, was on line 5A

5A $0042 RINTCNT =moved, was on line 5C

5C $0000 RIRBCTL/RIBSTS =new

5E $0000 RIRBSIZE 42h R0 =moved, was on line 60

60 $0000 IC Immediate Command =moved, was on line 64

64 $0002 IR Immediate Response =moved, was on line 66

68 $0000 IRS Immediate Command Status=moved, was on line 6A

70 $0000 DPLBASE DMA Position Lower =moved, was on line 6C

74 $0000 DPLBASE DMA Position Upper =moved, was on line 6E

80 $0000 Input Stream Descriptor o Cont.... =new

Values 2C&2E are zero and no longer changing, but this moved to values 30&32 when scrolling up and down or mouseclick!!! As you say <Reset Toggle> resets these values to zero. Second push starts the timer again, necessary for getting Vendor values in next Tab:

[jds]
<AC_VERB_PARAMETERS> Gives:
AC_PAR_VENDOR_ID 10EC0662
VENDOR_ID $10EC
DEVICE_ID $0662
AC_PAR_SUBSYSTEM_ID 10EC0662

AC_PAR_REV_ID 10EC0662

AC_PAR_NODE_COUNT #0 $10EC0662
Total Nodes #1 $00
Starting Node #1 $00

AC_PAR_NODE_COUNT #1 $00000000
Total Nodes #1 $EC
Starting Node #1 $62

AC_PAR_FUNCTION_TYPE #1 $00000000
Node function type $00
Reserved
Unsolicited Capable $00

AC_PAR_STREAM #1 $00000000

AC_PAR_CONNLIST_LEN #$0B $00000000
Connection List Length=0
Short Form

AC_PAR_PROC_CAP #32 00000000
NumCoeff=0

AC_PAR_GPIO_CAP #1 00000000
NumGPIOs=0
NumGPOs=0
NumGPIs=0

$12 AC_PAR_AMP_OUT_CAP #3 00000000
Offset=0
NumSteps=0
StepSize=0

[Nodules]

<Codec Vendor>, new button, works and gives codec information after 2x "OK" in dialog's ICS=0002 and ICB clear:
CODEC Vendor $10EC
CODEC Device $0662
1_10EC0662
2_10EC0662
3_10EC0662

<Enumerate nodes> Gives:
Function Group $01
AC_NODE_COUNT of node $01
Total Nodes (node $01)=$00
Starting Node (node $01)=$00
AC_PAR_FUNCTION_TYPE of node 1
Node function type $00= Reserved
Unsolicited Capable $00
AC_PAR_AUDIO_FG_CAP of node 1
No Beep generator.
Input Delay $0
Output Delay $0
AC_PAR_PCM of node 1 =$00000000
Bit rates=
Sample rates=
AC_PAR_STREAM of $01= $00000000
AC_PAR_GPIO_CAP of $01 =$00000000
NumGPIOs=$00
NumGPOs=$00
NumGPIs=$00
AC_VERB_GET_SUBSYSTEM_ID of node 1
Implementation Identification
Board Implementation ID (BID) 31:8=$000000
Board Manufacturer Identification (BMID) 31:16=$0000
Board SKU (BSKU)=$00
Assembly ID(AssyID)=$00

and so on, up to function group $33 / node $33 all values are zero.

[Widgets]

Only button with output:

<Examine All> Gives:
AC_PAR_AUDIO_WIDGET_CAP widget $00 $10EC0662)
Type=$0E

AC_PAR_AUDIO_WIDGET_CAP widget $01 ($00000000)
Type=$00
Audio Output

and so on, up to Widget 3F only zero's.
User IP Logged

watler
Administrator
ImageImageImageImageImage


member is offline

Avatar




Homepage PM


Posts: 164
xx Re: High Definition Audio
« Reply #24 on: Sep 30th, 2017, 6:21pm »
Quote

Since my cousin has an Everex IMPact (VIA HDA),
I adjusted my driver to work with his computer.

http://turkeys4me.byethost4.com/files/HDADRV8O.zip

User IP Logged

VirtualDavey
New Member
Image


member is offline

Avatar




PM


Posts: 1
xx Re: High Definition Audio
« Reply #25 on: Sep 30th, 2017, 7:11pm »
Quote

I installed your new driver, but now I can no longer access Windows. I see the Windows 3.1 title screen, but then I see this:
Application Error
Exception E.RangeError in
module HDA2.DLL at
0001:0DB0
Range Check Error

Is there any way to manually remove that driver through DOS?
EDIT: I found what I presumed was the new sound driver (HDA2.DLL) while searching through the Windows System folder. I deleted it and was again able to access Windows. The sound USB sound was working which surprised me because I didn't reinstall your previous sound driver. I had figured that your new driver overwrote the old driver, but I guess not.
« Last Edit: Sep 30th, 2017, 7:43pm by VirtualDavey » User IP Logged

watler
Administrator
ImageImageImageImageImage


member is offline

Avatar




Homepage PM


Posts: 164
xx Re: High Definition Audio
« Reply #26 on: Sep 30th, 2017, 9:36pm »
Quote

Thank you for the help, VirtualDavey.

Was That 123USB version 05?
http://turkeys4me.byethost4.com/files/123usb05.zip

I Have not tested this HDA2.DLL version at the same time with usbwav.dll.
Each wave driver shold be tested separately at first.

Had you installed HDATSR.EXE in autoexec.bat?
HDA2.dll will search for HDATSR.EXE and write it's low XMS address into hdacfg.ini.
If you later remove HDATSR.EXE you may want to adjust or erase hdacfg.ini before you start windows.




If you want to use HDA2.dll and USBwav.dll at once,
you could try this manual adjustment:

AUTOEXEC.BAT
HDATSR.EXE
USNDTSR.EXE

SYSTEM.INI
[drivers]
wave1=hda2.dll
wave2=usbwav.dll

When using Windows in 386 mode:
HDA2.dll will automatically play sounds using MMTIMER.
usbwav.dll should work after manually activating loop.


When using Windows in Standard mode:
usbwav.dll will activate automatically.
HDA2.dll should work after manually activating loop.



My drivers will only run if installed properly in the [drivers] section of system.ini
If you wish to temporarily disable a driver, you can do so manually.

SYSTEM.INI
[drivers]
ave1=hda2.d
wave2=usbsound.dll


To remove my drivers from DOS you can simply erase them.

cd windows
cd system
erase hda2.dll
cd..
« Last Edit: Sep 30th, 2017, 9:50pm by watler » User IP Logged

watler
Administrator
ImageImageImageImageImage


member is offline

Avatar




Homepage PM


Posts: 164
xx Re: High Definition Audio
« Reply #27 on: Sep 30th, 2017, 9:49pm »
Quote

Deomsh, does version 8o play sound for you?
On the VIA computer front panel audio was very quiet.

User IP Logged

deomsh
Moderator
ImageImageImageImageImage


member is offline

Avatar




PM


Posts: 109
xx Re: High Definition Audio
« Reply #28 on: Oct 1st, 2017, 3:34pm »
Quote

Hello Watler,

Thanks for the new version.

I just tried version 8O, but same as reported earlier (versions 8g, 8j, and 8k). There is movement when I play a wav file, but no sound. By the way, I only have backpanel, I do not possess a front panel.

HDACFG.INI shows two new entrances:

[HDA]
TSR=TSR Found
PCI_VID=$1002
PCI_DID=$4383

[BUSMASTER]
myPCIHI=$0011
myPCILO=$0000
myPCImem=$00110000

[ALLHDA]
$00A2=$43831002

[HDA_43831002,76621849]
PCI_BUS=$00
PCI_DEVICE=$14
PCI_FUNCTION=$2
GCTL=00000001
CODEC BITMAP=00000001
CODEC_VID=$10EC
CODEC_DID=$0662
CODEC_REV=$EC0662
CODEC_NODEINFO=$EC0662
User IP Logged

watler
Administrator
ImageImageImageImageImage


member is offline

Avatar




Homepage PM


Posts: 164
xx Re: High Definition Audio
« Reply #29 on: Oct 2nd, 2017, 1:42pm »
Quote

Deomsh, since I do not currently own an AMD HDA board,
it is difficult for me to test my driver on one. sad

You said:
"HDA is working in real-mode DOS with Judas player (from Judas 201C)";

If you start Judas and then...
terminate Judas abruptly without stopping HDA.
And then... start Windows 3.1.
Perhaps, my driver will work.

http://turkeys4me.byethost4.com/files/JUD.7z

HDATSR.exe
cd JUD
BUG.BAT
cd..
cd windows
win

« Last Edit: Oct 2nd, 2017, 1:48pm by watler » User IP Logged

Pages: 1 2 3 4  ...  12 Reply Notify Send Topic Print
« Previous Topic | Next Topic »

Donate $6.99 for 50,000 Ad-Free Pageviews!

| |

This forum powered for FREE by Conforums ©
Sign up for your own Free Message Board today!
Terms of Service | Privacy Policy | Conforums Support | Parental Controls