VOGONS


First post, by Oerg866

User metadata
Rank Member
Rank
Member

Hello,

I've made a BIOS mod for the SOYO 4SAW.

It adds lots of setup options and pushes this board to what it's capable of (I was able to go from 1340 to 1250 realtics in DOOM with it).

Get it here: https://github.com/oerg866/TRW-BiosMods/tree/main/SOYO_4SAW

There are also lots of scripts in there that could help you make your own BIOS mods.

(If you do use my scripts to make mods, please send them or make pull requests and I'll add them to the repository, so that we don't end up with the common russian elitist BIOS tool/mod hoarding situations)

image.png?ex=6633023c&is=66208d3c&hm=d914b43c2ce1a7bc2b7d1886d6c5aaddcb7c61e2fb75a99dd5480140008e5080&

image.png?ex=6633023c&is=66208d3c&hm=dc033ee0777fb00d3119088d1a5739c8d4e2cc06c47bb45a8cf561493a28d1f0&

image.png?ex=6633023c&is=66208d3c&hm=d35e956b5bb6a23f92f298feab659e05d5bbd5bc933c6c3edf9d1553ce0130c7&

Enjoy.

Reply 2 of 4, by Oerg866

User metadata
Rank Member
Rank
Member

I know it works on mine 🤭

4SAW2 (or is there a version marker I'm overlooking?)

It's based on version WA53, but I might base it on WA911 at some point because computerguy and I figured out why that one doesn't boot with VLB cards

Reply 3 of 4, by watson

User metadata
Rank Member
Rank
Member
Oerg866 wrote on 2024-04-18, 09:54:

It's based on version WA53, but I might base it on WA911 at some point because computerguy and I figured out why that one doesn't boot with VLB cards

Do you perhaps have a VLB fix for the original BIOS? I've been looking for it forever.

Reply 4 of 4, by mkarcher

User metadata
Rank l33t
Rank
l33t
watson wrote on 2024-04-22, 19:09:

Do you perhaps have a VLB fix for the original BIOS? I've been looking for it forever.

I just re-checked my around 7 years old notes about my 4SA (which should be identical to the 4SAW in that regard). The notes say that "the BIOS wrongfully configures the chipset to support a further PCI master instead of VLB support". I tested at that time that fixing the chipset configuration indeed made the VL slot work.

Looking at the 496 datasheet, this clearly indicates that PCI config space register 57h of the chipset, bit 3 is inadvertantly set, while it should be clear instead. Furthermore, at least my copy of the 4SA wires further pins in the way that register 57h bits 2 and 0 should be set to 1, with bit 1 being irrelevant. The correct configuration for the SiS496 on that Soyo board is

  • Pin 126: PREQ3# (need to clear 57[0])
  • Pin 127: PGNT3# (need to clear 57[0])
  • Pin 157: MA11 (need to set 57[2]). This enables support for 64MB and 128MB SIMMs.
  • Pin 204: LBD# (need to clear 57[3]). This line is also known as LDEV#, and UMC likes to call it ELBA#.
  • Pin 207: LRDY# (need to clear 57[3])

The features you are missing in that configuration:

  • Support for a dedicated "dirty bit" chip, allowing twice the cacheable area in WB mode, be allowing 8 tag bits + 1 dirty bit instead of 7/1.
  • Support for a double-sided memory module in the fourth memory slot.
  • Support for a fourth PCI master using pins 204/207 as REQ/GNT.

These chipset features would require a physically different board, and enabling these features would impair other features, so there is no point in trying to make different BIOSes for different feature sets unless you also do physical modifications to the board.

Hopefully you can edit the initialization for register 57 directly using modbin. If not, I would need to dig up my old disassemblies of the WA911 BIOS to find the position in which that register is misconfigured.