VOGONS


DIY Bios Modding guide Jan Steunebrink k6-2+/3+ 128gb

Topic actions

Reply 300 of 305, by evanboonie

User metadata
Rank Newbie
Rank
Newbie
Chkcpu wrote on 2025-02-27, 19:55:
Hi evanboonie, […]
Show full quote

Hi evanboonie,

That is quite a challenge you have there, getting a K6-2 to run on the Apple 1997 PC Compatibility Card!

Looking into the AMI BIOS9.ROM, I see this card uses the OPTi 557M Viper-M chipset. This is a 1995 chipset for socket 5 boards. But the BIOS9.ROM looks like it is from 1997 and it has the expected CPU support from that era: Intel Pentium and Pentium MMX, Cyrix 6x86 and 6x86MX, and AMD K5 and K6. So no support for any IDT WinChip.

The K6 support in this BIOS is only for the original K6 model 6, the 2.9V/3.2V Vcore models. The 2.2V K6 model 7 and all later K6(-2/III) models are not supported.

If your K6-233 is a 3.2V model 6, it is supported by the BIOS. But the BIOS also contains an Apple Compatibility BIOS v1.6.4 module that may prevent other than the original Pentium from running.
Although I’m just guessing here, it would be interesting to see if a Pentium MMX, Cx686MX, or AMD K5 work on this card. If you have one of these CPUs, please try.

Another issue may be the power supply. The K6-233 draws a lot more current than a Pentium 166/200. If you can lower the multiplier, you could test the K6-233 at 200 or 166MHz. At these speeds, this CPU will run fine at a lower 2.9V Vcore.

Now to answer your question, with basic K6 support it should be possible to add K6-2 support to this BIOS. But this is a lot of work, so please try the above CPU alternates first, so I know that the time spent on patching this BIOS is not waisted. 😉

Cheers, Jan

Jan, I have finally gotten around to testing the K6-233 again with an externally powered voltage adapter and I'm pleased to report that it worked! So it does appear that the K6 was just a little too power hungry for the built-in regulator. I also realized that I gave you the modded BIOS file (BIOS9.ROM) which I had attempted to replace the VBIOS module using amibcp. It is likely best to start any CPU additions on the base BIOS and I should be able to easily add my VBIOS and second cache bank mods on top of that if it works. The original BIOS I have attached here (BIOS 8.bios) is the file exactly as I extracted it from the Mac application.

Reply 301 of 305, by evanboonie

User metadata
Rank Newbie
Rank
Newbie
Sphere478 wrote on 2025-10-28, 02:52:

If there was PCI I would say to try to make an adapter to a radeon 9250. But with ISA, the onboard would be better.

You may be able to boge wire attach a breakout for pci still though if you tap into enough of the legs, pins, and traces.

The data book for the chipset is archived at the retro web: https://theretroweb.com/chipset/documentation … b7863333286.pdf. According to it, the PCI signals come from the 82C557M and 82C558M chips and are mostly isolated to one corner of each. I'm thinking something like one of those "quick solder" FPC boards I've seen in console modding kits could be an option to quickly tap off those signals and send them somewhere else. A PCI to PCI adapter card could then be designed to get power from the Mac's PCI bus and the rest of the lines from the FPC. It would only allow for low-profile cards, but it should work... Excessive? Maybe. But possible, almost certainly.

This card has kept me busier than any piece of retro gear I've had before!

Reply 302 of 305, by Sphere478

User metadata
Rank l33t++
Rank
l33t++

Yes, you and I are on the same page with that idea. I had the exact same concept, churning around in my brain

I think some of the PCI configuration though might be in the bios so some bios mods may also be required

Sphere's PCB projects.
-
Sphere’s socket 5/7 cpu collection.
-
SUCCESSFUL K6-2+ to K6-3+ Full Cache Enable Mod
-
Tyan S1564S to S1564D single to dual processor conversion (also s1563 and s1562)

Reply 303 of 305, by evanboonie

User metadata
Rank Newbie
Rank
Newbie
Sphere478 wrote on 2025-11-02, 02:02:

I think some of the PCI configuration though might be in the bios so some bios mods may also be required

Thankfully, amibcp works on this BIOS and allows access to most of the registers and embedded device configurations. I have a third mod going where I'm attempting to stack cache chips to give a dedicated dirty bit and two banks for a total of 512k of L2 cache. The default configuration has combined dirty and tag bits with a single bank for 256k of cache. It is hard coded to write-back and the chipset only supports 32MB of cache-able memory in that configuration. The cards support up to 80MB of RAM though, which I should be able to have all cache-able if the mod succeeds. I hope to try even faster chips and see if timings can be improved too. I was able to easily compare the registers in the databook with their configurations using amibcp; which is especially nice because getting into a BIOS menu doesn't seem possible on these cards, much less saving the configuration.

Reply 304 of 305, by mkarcher

User metadata
Rank l33t
Rank
l33t

Hi Jan,

I got a EPOX EP-MPV3G-M mainboard, and you have a modded BIOS for it on your homepage. The BIOS image on your homepage is 256KB (2MBit), but the chip on the board is a 1MBit chip. I happen to have a Winbond 49F002U-15B flash chip I currently don't need, so I decided to use it. I successfully hot-swap-flashed it inside that board, and now the board recognizes an AMD K6-2+ perfectly, which it didn't do with the vendor BIOS.

There still is an issue, though: While the AWDFLASH version in the archive on your homepage does support the Winbond 49F002U, the ESCD updating code in the BIOS image does not. Instead of "Updating ESCD", the BIOS shows the error message "unknown flash type". Can you easily prepare a patch to support this chip (possibly instead of another 2MBit chip)? If not, I'm going to try to prepare that patch myself.

Helpful Info about the W49F002U:

  • Enter read ID mode: AA/55/90 to usual magic addresses
  • Exit read ID mode: AA/55/F0 or just F0 written anywhere
  • ID: manufacturer code (at 0) = DA , product code (at 1) = 0B
  • Sector erase: AA/55/80 followed by AA/55/30 (can be used to erase the parameter blocks, which will be at F000:8000-A000 and F000:A000-C000
  • Byte program: AA/55/A0

I assume that the code required to access a flash chip with these parameters is already present in the ROM (these are the codes recommended by JEDEC), it's just missing support for the vendor/product ID pair.

Thanks in advance for any information!

Reply 305 of 305, by Chkcpu

User metadata
Rank Oldbie
Rank
Oldbie
mkarcher wrote on 2025-11-06, 19:31:
Hi Jan, […]
Show full quote

Hi Jan,

I got a EPOX EP-MPV3G-M mainboard, and you have a modded BIOS for it on your homepage. The BIOS image on your homepage is 256KB (2MBit), but the chip on the board is a 1MBit chip. I happen to have a Winbond 49F002U-15B flash chip I currently don't need, so I decided to use it. I successfully hot-swap-flashed it inside that board, and now the board recognizes an AMD K6-2+ perfectly, which it didn't do with the vendor BIOS.

There still is an issue, though: While the AWDFLASH version in the archive on your homepage does support the Winbond 49F002U, the ESCD updating code in the BIOS image does not. Instead of "Updating ESCD", the BIOS shows the error message "unknown flash type". Can you easily prepare a patch to support this chip (possibly instead of another 2MBit chip)? If not, I'm going to try to prepare that patch myself.

Helpful Info about the W49F002U:

  • Enter read ID mode: AA/55/90 to usual magic addresses
  • Exit read ID mode: AA/55/F0 or just F0 written anywhere
  • ID: manufacturer code (at 0) = DA , product code (at 1) = 0B
  • Sector erase: AA/55/80 followed by AA/55/30 (can be used to erase the parameter blocks, which will be at F000:8000-A000 and F000:A000-C000
  • Byte program: AA/55/A0

I assume that the code required to access a flash chip with these parameters is already present in the ROM (these are the codes recommended by JEDEC), it's just missing support for the vendor/product ID pair.

Thanks in advance for any information!

Hi mkarcher,

I’ve read your patch request for the EP-MVP3G-M BIOS and yes, I can do that change.
Thanks for the detailed info about the W49F002U chip.

I already found the flash chip detection routines in the AWARDEXT.ROM module. There are even 4 different detection methods present, two different JEDEC types, one Intel, and one Macronix. These detection routines all work with hard coded values, so no nice table to edit here. 😉

The JEDEC detection type that fits the Winbond chip has values for a seldom used Mutsubishi chip, so I probably will use that for the W49F002U.
I expect to have time to do this change tomorrow afternoon. When ready, I will send the patched BIOS via PM.

Regards, Jan

CPU Identification utility
The Unofficial K6-2+ / K6-III+ page