VOGONS


First post, by atar

User metadata
Rank Newbie
Rank
Newbie

I'm working on emulation driver for S3-Trio in qemu / OpenFirmWare. It would be nice to verify that it actually works on the physical cards too.
Is anyone interested in testing it? It's implemented as a bootable floppy.

My S3-Trio64V+ was not supported by the original OFW, so I had to implement a fix. Now I'm wondering if the fix doesn't break the older S3-Trio (32/64/...) cards.

Two levels of testing:
1. "Hey, not too rough". Just boot the floppy, see if it gets to the "ok" propmpt, and write me the result with the name of the card (or chip).
2. "Hurt me plenty". Remove the VGA BIOS ROM. Power on the PC, it will beep as if the graphic card were not present. Press F1 to boot (or configure BIOS to ignore all errors before removing the VGA BIOS ROM). Wait till it loads the floppy and one more second. Report if the screen turnes on. If it doesn't, try to see if the system responds to 'beep' and 'reset-all' commands followed with enter.

Let's see if anyone is brave enough to boot Forth from a floppy. 😉 Ah, almost forgot. It's for PCI cards. Probably won't work on VLB ones. I compiled the code for 486, but tested only on Pentium.

Attachments

  • Filename
    floppy.zip
    File size
    340.42 KiB
    Downloads
    131 downloads
    File comment
    OpenFirmware Bootable floppy
    File license
    Fair use/fair dealing exception

Reply 1 of 54, by Jo22

User metadata
Rank l33t++
Rank
l33t++

Hi, just checked your work with a good ol' ViRGE 86C325 and a Pentium PC!
It worked with and without the ROM chip. I've also taken a low-res video clip for you to proof it..

Attachments

  • boot.JPG
    Filename
    boot.JPG
    File size
    77.85 KiB
    Views
    3821 views
    File comment
    ViRGE with BIOS
    File license
    Fair use/fair dealing exception
  • boot_no_rom.JPG
    Filename
    boot_no_rom.JPG
    File size
    53.99 KiB
    Views
    3821 views
    File comment
    ViRGE without BIOS
    File license
    Fair use/fair dealing exception
  • virge.JPG
    Filename
    virge.JPG
    File size
    146.71 KiB
    Views
    3821 views
    File comment
    ViRGE 325
    File license
    Fair use/fair dealing exception
  • Filename
    virge_no_rom_clip.zip
    File size
    2.67 MiB
    Downloads
    97 downloads
    File license
    Fair use/fair dealing exception

"Time, it seems, doesn't flow. For some it's fast, for some it's slow.
In what to one race is no time at all, another race can rise and fall..." - The Minstrel

//My video channel//

Reply 2 of 54, by keropi

User metadata
Rank l33t++
Rank
l33t++

I will also try it in a couple of days - when I am back at my cards. I have some for the "hurt me plenty" tests

🎵 🎧 PCMIDI MPU , OrpheusII , Action Rewind , Megacard and 🎶GoldLib soundcard website

Reply 3 of 54, by atar

User metadata
Rank Newbie
Rank
Newbie
Jo22 wrote:

Hi, just checked your work with a good ol' ViRGE 86C325 and a Pentium PC!
It worked with and without the ROM chip. I've also taken a low-res video clip for you to proof it..

Wow! Thanks a lot!

Reply 4 of 54, by atar

User metadata
Rank Newbie
Rank
Newbie
keropi wrote:

I will also try it in a couple of days - when I am back at my cards. I have some for the "hurt me plenty" tests

Thanks! Do you by any chance have a Trio-64 (or -32), aka 86C764 (i.e. non V+ version)? If any of them works, I probably added 765 without breaking 764. Although from the comments in the OFW code I see there were quite some different 764 revisions and they had quite some personal bugs.

Anyways I think all of them (765, 764 and 325) are hardly existing outside of this board, so if it works for the members of this board it's pretty safe to assume it works for everyone interested.

Reply 5 of 54, by clueless1

User metadata
Rank l33t
Rank
l33t

I've got:
Virge GX
Virge DX
Virge 325
Trio64 V2/DX
Trio64V+

If you're still interested, I can try to make time this weekend for your tests. Let me know which ones you're most interested in (if any). More info on these cards in my PCI DOS benchmark thread (see signature).

The more I learn, the more I realize how much I don't know.
OPL3 FM vs. Roland MT-32 vs. General MIDI DOS Game Comparison
Let's benchmark our systems with cache disabled
DOS PCI Graphics Card Benchmarks

Reply 6 of 54, by atar

User metadata
Rank Newbie
Rank
Newbie

Trio64 V2/DX and Trio64V+ please. Btw it may also work on the PCI Matrox (without removing the ROM as it's soldered anyway). Although for the moment the Matrox is less interesting as it's not emulated in qemu at all, but maybe for the future.

Reply 7 of 54, by keropi

User metadata
Rank l33t++
Rank
l33t++

@atar
I will look for a non V+ version, I think I have one, will update later

🎵 🎧 PCMIDI MPU , OrpheusII , Action Rewind , Megacard and 🎶GoldLib soundcard website

Reply 8 of 54, by clueless1

User metadata
Rank l33t
Rank
l33t

So what's supposed to happen when you boot the floppy? I'm trying it on "Hey not too rough" with a couple of S3 cards, and in both cases, what happens is the floppy starts to load, I see the letters "ae" followed by a bunch of dots that fill the screen while the floppy loads, then the system reboots, does the same thing, reboots, rinse and repeat. At some point (sometimes after only 1 reboot, sometimes after 5 reboots), it stops with a black screen.

The more I learn, the more I realize how much I don't know.
OPL3 FM vs. Roland MT-32 vs. General MIDI DOS Game Comparison
Let's benchmark our systems with cache disabled
DOS PCI Graphics Card Benchmarks

Reply 9 of 54, by atar

User metadata
Rank Newbie
Rank
Newbie
clueless1 wrote:

So what's supposed to happen when you boot the floppy? I'm trying it on "Hey not too rough" with a couple of S3 cards, and in both cases, what happens is the floppy starts to load, I see the letters "ae" followed by a bunch of dots that fill the screen while the floppy loads, then the system reboots, does the same thing, reboots, rinse and repeat. At some point (sometimes after only 1 reboot, sometimes after 5 reboots), it stops with a black screen.

That's interesting. Actually if it worked, the screen posted by Jo22 (the first reply in this thread) would have appeared ~ one second after the dots - at the time where you get the reboot. So the floppy definitely doesn't work on your hardware. What graphic card and main board are you using?

Reply 10 of 54, by clueless1

User metadata
Rank l33t
Rank
l33t
atar wrote:
clueless1 wrote:

So what's supposed to happen when you boot the floppy? I'm trying it on "Hey not too rough" with a couple of S3 cards, and in both cases, what happens is the floppy starts to load, I see the letters "ae" followed by a bunch of dots that fill the screen while the floppy loads, then the system reboots, does the same thing, reboots, rinse and repeat. At some point (sometimes after only 1 reboot, sometimes after 5 reboots), it stops with a black screen.

That's interesting. Actually if it worked, the screen posted by Jo22 (the first reply in this thread) would have appeared ~ one second after the dots - at the time where you get the reboot. So the floppy definitely doesn't work on your hardware. What graphic card and main board are you using?

Tried with a few different S3 cards: Virge, Trio64V+, Trio64 V2/DX, and Virge GX. The system is a Packard Bell socket 5, with Intel 82430FX Triton chipset. The CPU is Pentium Overdrive 200MMX and it has 32MB EDO 72-pin RAM. I could try with a Pentium 100 CPU to see if the Overdrive is the issue.

edit: maybe the onboard graphics are getting in the way. The mainboard has CL-GD5430 built-in. It gets disabled when you put a PCI graphics card in, but maybe your program is still seeing it?

edit: tried with Pentium 100 CPU and it does the same.

The more I learn, the more I realize how much I don't know.
OPL3 FM vs. Roland MT-32 vs. General MIDI DOS Game Comparison
Let's benchmark our systems with cache disabled
DOS PCI Graphics Card Benchmarks

Reply 11 of 54, by atar

User metadata
Rank Newbie
Rank
Newbie
clueless1 wrote:

edit: maybe the onboard graphics are getting in the way. The mainboard has CL-GD5430 built-in. It gets disabled when you put a PCI graphics card in, but maybe your program is still seeing it?

Hmm. CL-GD5430 might be recognized too. Can you try booting with just the onboard card?

Reply 12 of 54, by clueless1

User metadata
Rank l33t
Rank
l33t
atar wrote:
clueless1 wrote:

edit: maybe the onboard graphics are getting in the way. The mainboard has CL-GD5430 built-in. It gets disabled when you put a PCI graphics card in, but maybe your program is still seeing it?

Hmm. CL-GD5430 might be recognized too. Can you try booting with just the onboard card?

Just tried. Does the same thing. 🙁

The more I learn, the more I realize how much I don't know.
OPL3 FM vs. Roland MT-32 vs. General MIDI DOS Game Comparison
Let's benchmark our systems with cache disabled
DOS PCI Graphics Card Benchmarks

Reply 13 of 54, by atar

User metadata
Rank Newbie
Rank
Newbie
clueless1 wrote:

Just tried. Does the same thing. 🙁

Then an intermediate level (I should have reserved a name between 1 and 2, but it occurred to me too late). Can you please try the attached floppy (it only works with VGA BIOS). It should get up to the "ok" prompt. If it doesn't - the firmware doesn't support the system chipset.

If it does, please try booting it with the V+ card, and CL disabled. Then at the "ok" prompt, type "show-devs". It should show you the device tree. Try to see if you have more than one /vga leaf. If there is just one, please issue the following commands:

begin-select /vga
safe? .
chip .
variant .

(note there is a space before the ".") and tell me the numbers. If you enter a wrong character, backspace is working, but doesn't erase the characters on the screen. So either backspace, or just type the command again.

Attachments

  • Filename
    floppy-ega.zip
    File size
    339.58 KiB
    Downloads
    98 downloads
    File comment
    OFW with EGA console
    File license
    Fair use/fair dealing exception

Reply 14 of 54, by TheAbandonwareGuy

User metadata
Rank Oldbie
Rank
Oldbie

If you need data for a Diamond Stealth 3D 2000 I can test later. Its a 325 based card. Cant recall if mine is 2MB or 4MB though. I also think I have a Virge/DX somewhere.

Cyb3rst0rms Retro Hardware Warzone: https://discord.gg/jK8uvR4c
I used to own over 160 graphics card, I've since recovered from graphics card addiction

Reply 15 of 54, by atar

User metadata
Rank Newbie
Rank
Newbie
TheAbandonwareGuy wrote:

If you need data for a Diamond Stealth 3D 2000 I can test later. Its a 325 based card. Cant recall if mine is 2MB or 4MB though. I also think I have a Virge/DX somewhere.

Thanks! Although both 325 and Virge are already tested by Jo22, it's still interesting if they will work for you too: there were multiple revisions of the chips. For instance, it works on my 64V+, but for some reason doesn't work on the clueless1's 64V+.

Reply 16 of 54, by TheAbandonwareGuy

User metadata
Rank Oldbie
Rank
Oldbie
atar wrote:
TheAbandonwareGuy wrote:

If you need data for a Diamond Stealth 3D 2000 I can test later. Its a 325 based card. Cant recall if mine is 2MB or 4MB though. I also think I have a Virge/DX somewhere.

Thanks! Although both 325 and Virge are already tested by Jo22, it's still interesting if they will work for you too: there were multiple revisions of the chips. For instance, it works on my 64V+, but for some reason doesn't work on the clueless1's 64V+.

Ok, After I looked I also have an APAC 64v but I likely wont test it as that cards caps need replaced although it does currently post.

The Stealth2000 is one of the most popular 325 models so its data should be particularly useful.

Cyb3rst0rms Retro Hardware Warzone: https://discord.gg/jK8uvR4c
I used to own over 160 graphics card, I've since recovered from graphics card addiction

Reply 17 of 54, by clueless1

User metadata
Rank l33t
Rank
l33t
atar wrote:

Then an intermediate level (I should have reserved a name between 1 and 2, but it occurred to me too late). Can you please try the attached floppy (it only works with VGA BIOS). It should get up to the "ok" prompt. If it doesn't - the firmware doesn't support the system chipset.

Nope, this one does the same thing. I guess it's a chipset issue then? I get the same issue with multiple types of S3 cards, so I don't think it has anything to do with my PCI graphics cards.

I did go into the BIOS and disable PCI Burst to see if it would help. It did not.

The more I learn, the more I realize how much I don't know.
OPL3 FM vs. Roland MT-32 vs. General MIDI DOS Game Comparison
Let's benchmark our systems with cache disabled
DOS PCI Graphics Card Benchmarks

Reply 18 of 54, by atar

User metadata
Rank Newbie
Rank
Newbie
clueless1 wrote:

I guess it's a chipset issue then?

Yep. Looks like it. Do you by any chance have a more modern board where you can plug the cards and boot from a floppy? I know that 440BX works. In any case, thanks for trying and reporting. The negative results are valuable. I'll try to see what may go wrong on your chipset with emulators, but that's a shaky ground. Emulators mostly hit their own bugs and not the bugs of the original chips. For instance none of PCem, 86Box and Virtual PC implement all the sequencer registers of the S3 chipsets.

Reply 19 of 54, by atar

User metadata
Rank Newbie
Rank
Newbie
clueless1 wrote:

I guess it's a chipset issue then?

One more attempt. This time I disabled using Pentium Timestamp Counter, so it should work even on 486 boards. Tested all boards in PCemu which can do CPUs from 486SX16 on.

Attachments

  • Filename
    floppy-ega-486.zip
    File size
    339.86 KiB
    Downloads
    89 downloads
    File comment
    OFW for 486+ with a EGA+
    File license
    Fair use/fair dealing exception