VOGONS


Reply 880 of 894, by Tiido

User metadata
Rank l33t
Rank
l33t

YMF71x has a special key as do Crystal chips, which allows them to get a Card Select Number without rest of the PnP dance, but you still need working PnP Data port ($A79) to actually write all the PnP registers to set up the IO ranges etc.

T-04YBSC, a new YMF71x based sound card & Official VOGONS thread about it
Newly made 4MB 60ns 30pin SIMMs ~
mida sa loed ? nagunii aru ei saa 😜

Reply 881 of 894, by vsharun

User metadata
Rank Newbie
Rank
Newbie
Tiido wrote on 2025-06-08, 17:25:

YMF71x has a special key as do Crystal chips, which allows them to get a Card Select Number without rest of the PnP dance, but you still need working PnP Data port ($A79) to actually write all the PnP registers to set up the IO ranges etc.

So in our case with Asus 7-8-9 series boards where A79 io port blocked there's no chance to init YMF719 then ?
May you please take a look to the ESS1868/69 datasheet ?
The bypass key must be followed immediately by two I/O writes
to the PnP address register to set the low and high bytes of
the address register of the configuration device. The
configuration device is also activated by the bypass key.
The address of the configuration device must be in the
range 100h-FF8h and be aligned on a multiple of 8. An
“alias” of the audio device address can be used. For
example, use E20h for the configuration device if the audio
is at 220h.

Is it sufficient for ESS to have only 279 writeable for successful pseudo-pnp init ?

Reply 882 of 894, by RayeR

User metadata
Rank Oldbie
Rank
Oldbie
vsharun wrote on 2025-06-08, 17:08:

The ES1868 must be in the “wait-
for-key” Plug and Play state.

Just for curiosity, how the soundcard is switched to this state? Is it default state after power on/reset until PnP enumerator do some configuration?
You wrote that port A79 is blocked and 279 is OK, is it enough for writing config?
Isn't possible to program EEPROM in external programmer with some defined configuration and then use with this LPC2ISA bridge? Maybe write-protect it to block unwanted changes then?

Gigabyte GA-P67-DS3-B3, Core i7-2600K @4,5GHz, 8GB DDR3, 128GB SSD, GTX970(GF7900GT), SB Audigy + YMF724F + DreamBlaster combo + LPC2ISA

Reply 883 of 894, by weedeewee

User metadata
Rank l33t
Rank
l33t

Am I correct in guessing that any address above 7FF, ie 800 and up, will be unavailable?
Can that be tested

Just out of curiosity.

as for the eeprom & configuration. I recall it's possible to write the eeprom so it only has one possible configuration, but it wil be up to the soundcard to use it directly or wait until the pnp software routines set it up.

Right to repair is fundamental. You own it, you're allowed to fix it.
How To Ask Questions The Smart Way
Do not ask Why !
https://www.vogonswiki.com/index.php/Serial_port

Reply 884 of 894, by LSS10999

User metadata
Rank Oldbie
Rank
Oldbie
weedeewee wrote on 2025-06-09, 18:37:
Am I correct in guessing that any address above 7FF, ie 800 and up, will be unavailable? Can that be tested […]
Show full quote

Am I correct in guessing that any address above 7FF, ie 800 and up, will be unavailable?
Can that be tested

Just out of curiosity.

as for the eeprom & configuration. I recall it's possible to write the eeprom so it only has one possible configuration, but it wil be up to the soundcard to use it directly or wait until the pnp software routines set it up.

Can't be 100% sure about ports above 7FF, but even so, that's an ASUS problem. ISA PnP works perfectly on my ASRock board.

To test higher ports one would need a POST card capable of decoding at least 12 bits. The one I've assembled and used only supports 10 bits.

IIRC ES1868/1869 seems to put a control port at 800h region by default when I tried to init one with UNISOUND on another system. If what you're suspecting is really the case, and this control port is indeed involved in some further configurations, then the problem with initializing the ESS card would be more than just A79 being inaccessible.

PS: I just did some tests on my AMD (B450) board again... Still can't detect PicoGUS even though I've confirmed I could write to 1D0-1D2.

It seems writing to I/O ports works, but reading from I/O ports is problematic. Ports that have been enabled for forwarding to LPC can be written, but reading always returns FF regardless.

Maybe this is also the reason why I couldn't "access" 4E/4F, because reading never worked.

EDIT: The output from "pgusinit" is odd, actually. It seems initial accesses to the PicoGUS control port worked, but subsequent accesses to query protocol versions failed so it instead complained about protocol version being 255 (FF), rather than failing outright (not detecting the card).

EDIT 2: Nope. "pgusinit" was working as expected for not detecting the card per the version released with FW v2.2.0. The preemptive abort was introduced after that. Before that, it will eventually error at protocol check phase.

Reply 885 of 894, by vsharun

User metadata
Rank Newbie
Rank
Newbie
LSS10999 wrote on 2025-06-10, 01:57:

To test higher ports one would need a POST card capable of decoding at least 12 bits. The one I've assembled and used only supports 10 bits.

To test any ISA port, oscilloscope capable 8MHz required and B13 (IOW#) + B14 (IOR#) pins probes soldered.
They're high by default and sending spam (thousands of) via msdos debug "O $port_number 0" you'll see signal low - mean signal here, the same for B14 (reads) - spam "I $port_number".
By default behind LPC/ISA bridge there's no traffic at all except generated (spammed) one, and will barely work on congested bus. This is the method used by our "team" to test what ports are decoded, and which aren't.

LSS10999 wrote on 2025-06-10, 01:57:

It seems writing to I/O ports works, but reading from I/O ports is problematic. Ports that have been enabled for forwarding to LPC can be written, but reading always returns FF regardless.

Do you have an option in BIOS enable/disable external/internal TPM is it work ?
Tomorrow Gigabyte cable for Z87/B85 (the same) will be there and I eventually will check basic functionality with B450 Aorus M and R3-1200.

Last edited by vsharun on 2025-06-10, 12:15. Edited 1 time in total.

Reply 886 of 894, by vsharun

User metadata
Rank Newbie
Rank
Newbie
RayeR wrote on 2025-06-09, 18:03:
vsharun wrote on 2025-06-08, 17:08:

The ES1868 must be in the “wait-
for-key” Plug and Play state.

Just for curiosity, how the soundcard is switched to this state? Is it default state after power on/reset until PnP enumerator do some configuration?

Yes, this is default state of PnP cards after reboot - "wait-for-key” .

RayeR wrote on 2025-06-09, 18:03:

You wrote that port A79 is blocked and 279 is OK, is it enough for writing config?

I suppose so for ESS, not sure about Yamaha. In case of ESS there's clean indication of that you'll send to the port 279 the sequence consisting of "bypass key" and (any you like!) configuration port (high and low bytes) four times (coz unknown stored configuration register bits 5:6, this is why four times key XOR'ed by 00..11). In case of Yamaha there's also "bypass key" exists and clearly stated in datasheet (YMF715E.PDF, I suppose the same for 718/719). ChatGPT then said that after sending magic key to the YMF via port 279 you may unlock configuration "as usual" at port 203. <=- BS, the procedure of init YMF 71x (even manual, using bypass key, as stated earlier by Tiido) requires mandatory access to the A79, while ESS1868/69 can be programmed to switch to the manual configuration mode port on any 16bit address.

RayeR wrote on 2025-06-09, 18:03:

Isn't possible to program EEPROM in external programmer with some defined configuration and then use with this LPC2ISA bridge? Maybe write-protect it to block unwanted changes then?

This was the first question I asked myself: is there any other methods where we may convert those cards to the non PnP ones. Both datasheets didn't say so.
Also Fintek bridge can only be configured, but cannot issue ISA cycles by themselves - this was clearly stated by ChatGPT and then after examining the datasheet.
In case of 1+ ISA slots board ISA PnP sequence can be done via second card which may issue any ISA operations we like or need within ISA domain.

Last edited by vsharun on 2025-06-10, 13:28. Edited 1 time in total.

Reply 887 of 894, by LSS10999

User metadata
Rank Oldbie
Rank
Oldbie
vsharun wrote on 2025-06-10, 11:55:

Do you have an option in BIOS enable/disable external/internal TPM is it work ?

It seems on that B450M board with the latest BIOS the option for external/internal TPM will automatically switch to internal if no *real* external TPM device is detected. This was probably done for Win11 support.

Though I don't think that has anything to do with the issues on reading data from LPC bus.

I also tried the adapter with a FM2 board (ASUS F2A85-M) and it behaved the same way with stock BIOS, and that board's BIOS predates Win10/11.

F2A85-M was supported by coreboot, but unfortunately I haven't managed to get it to boot so I cannot verify whether the behavior was a BIOS thing...

Reply 888 of 894, by dartfrog

User metadata
Rank Newbie
Rank
Newbie

I don't want to speak too soon, but spoiler: On the IT8888 front; I've ordered a few pcbs from oshpark. Exciting times.

I also created a BGA to QFP adapter so it's possible to use the IT8888F (QFP footprint) PCI card with the IT8888G (BGA chip)

Potential PCIe-to-PCI-to-ISA pathway repository: https://github.com/DartFrogTek/PCIe-PCI-ISA

Reply 889 of 894, by myne

User metadata
Rank Oldbie
Rank
Oldbie

Supply question...
Why not double footprint the main board?
Layers?

I built:
Convert old ASUS ASC boardviews to KICAD PCB!
Re: A comprehensive guide to install and play MechWarrior 2 on new versions on Windows.
Dos+Windows 3.11+tcp+vbe_svga auto-install iso template
Script to backup Win9x\ME drivers from a working install
Re: The thing no one asked for: KICAD 440bx reference schematic

Reply 890 of 894, by dartfrog

User metadata
Rank Newbie
Rank
Newbie
myne wrote on 2025-06-13, 09:00:

Supply question...
Why not double footprint the main board?
Layers?

Yeah, the adapter is a 4 layer and the card is only 2 layers. Unless I'm doing something wrong, the PCI card with 4 layers is varying from double to triple cost for the size depending on vendor.

Potential PCIe-to-PCI-to-ISA pathway repository: https://github.com/DartFrogTek/PCIe-PCI-ISA

Reply 891 of 894, by myne

User metadata
Rank Oldbie
Rank
Oldbie

Can't wait to see the result.
If that works, It will be interesting to see if a pcie adapter works

I built:
Convert old ASUS ASC boardviews to KICAD PCB!
Re: A comprehensive guide to install and play MechWarrior 2 on new versions on Windows.
Dos+Windows 3.11+tcp+vbe_svga auto-install iso template
Script to backup Win9x\ME drivers from a working install
Re: The thing no one asked for: KICAD 440bx reference schematic

Reply 892 of 894, by dartfrog

User metadata
Rank Newbie
Rank
Newbie
myne wrote on Yesterday, 02:12:

Can't wait to see the result.
If that works, It will be interesting to see if a pcie adapter works

Yep, that's the plan. Specifically I got the ASM1083 based PCIe 1x to PCI adapters that support bus mastering, this one should theoretically work.

I think a custom card with PEX8114 chip will work too, but those chips are like 75dollars alone. Very expensive.

The StarTech one using PI7C9X111SL I'm unsure will work as it's stated DMA doesn't work on their site. Though the StarTech one might be configured incorrectly for our use case with the PI7C9X111SL's Bus Master Enable bit unset, so it might be possible to hack those provided someone does it.

Without spoiling too much, there is good reason I ordered PCBs 😉

Potential PCIe-to-PCI-to-ISA pathway repository: https://github.com/DartFrogTek/PCIe-PCI-ISA

Reply 893 of 894, by rasteri

User metadata
Rank Oldbie
Rank
Oldbie

I also ordered my PC104 version.