VOGONS


First post, by bregolin

User metadata
Rank Member
Rank
Member

I've put together a late 486 system with the following configuration:
- PC Chips M919 (with real cache, not the fake one)
- 16MB EDO RAM
- Am586 133MHz
- Trident TGUI9400 1MB VLB

Under plain DOS, whenever I have SFX enabled on any game, the color palette seems to be somewhat inverted. If I try playing a game in Windows, it will crash to a black screen. Having only Sound Blaster music doesn't cause this issue, which makes me think it's IRQ/DMA related, though Windows reports no conflicts. Here's what I've tried so far:
- Three (somewhat) different sound cards- Crystal CS4237B PnP, Vibra 16 PnP and a Sound Blaster 16 CT2910 non-PnP
- Different ISA slots
- Different base, IRQ, DMA and HDMA addresses
- Loading the BIOS default settings
- Enabling VGA palette snoop in BIOS (not sure what it does, but I gave it a try)
- Clean boots- no drivers whatsoever - except for UNISOUND when using PnP cards
- Disabling IDE's 32bit transfer mode and any type of shadowing

Using a PCI video card works just fine, so it seems like a compatibility issue between the Trident VLB card and the sound cards.

Any idea what could be causing this?

Attachments

  • IMG_4436.jpg
    Filename
    IMG_4436.jpg
    File size
    260.4 KiB
    Views
    1167 views
    File comment
    doom_colorblind
    File license
    Public domain
Last edited by bregolin on 2023-05-23, 12:41. Edited 1 time in total.

IBM Aptiva 2162 - P55 166 MMX, 32MB, CS4237B + Wavetable, ATI Mach64 2MB / Win98SE
Custom PIII 750, 64MB, SB AWE64, Voodoo 3 3000 AGP / Win98SE
Sony Vaio z505 SuperSlim - PIII 550, 192MB, YMF744, NeoMagic 256AV+ / Win98SE

Reply 3 of 12, by bregolin

User metadata
Rank Member
Rank
Member

I've tried both with Doom vanilla and FastDoom. @badmojo unfortunately that video card does not have any jumpers for IRQs. For now, I've settled with a PCI video card, but I'd really like to use the VLB for nostalgic reasons 😁

One thing I've noticed is that it seems that the LFB for the VLB card is up in the 62MB range, whereas the PCI one stays at a lower 4MB; I wonder if that, together with a DOS extender, could be causing some sort of memory overlapping

IBM Aptiva 2162 - P55 166 MMX, 32MB, CS4237B + Wavetable, ATI Mach64 2MB / Win98SE
Custom PIII 750, 64MB, SB AWE64, Voodoo 3 3000 AGP / Win98SE
Sony Vaio z505 SuperSlim - PIII 550, 192MB, YMF744, NeoMagic 256AV+ / Win98SE

Reply 5 of 12, by ViTi95

User metadata
Rank Member
Rank
Member

That is palette corruption for sure. Do other games have the same issue? The palette is copied to the video card via OUT instructions (ports), so memory overlapping shouldn't be a problem. FastDoom has a command line parameter to fix issues on palette copies, try the option "-fixDAC" to see if it makes any difference.

Edit: I had a card with a similar problem, some times it worked fine an others didn't. Turned out to be an issue on the DAC chip, I replaced it and the problem was fixed.

https://www.youtube.com/@viti95

Reply 6 of 12, by jmarsh

User metadata
Rank Oldbie
Rank
Oldbie
ViTi95 wrote on 2023-05-23, 14:21:

The palette is copied to the video card via OUT instructions (ports), so memory overlapping shouldn't be a problem.

I would suspect an issue with the AEN signal getting to the video card, causing it to misinterpret the DMA transfers to the sound card as port writes.

Reply 7 of 12, by Luzemario

User metadata
Rank Newbie
Rank
Newbie

Maybe the thread below can bring some light:

Crackling sound with several sound cards on 486 VLB motherboard.

I would change the video card, because it appears to be a broken VBE implementation.

If so, get the utils here:

VESA Fix Utility Listing (for old video cards)

Reply 8 of 12, by bregolin

User metadata
Rank Member
Rank
Member
jmarsh wrote on 2023-05-23, 14:05:

Do the colors shift while digital audio is playing, or do they stay the same constantly wrong colors?

They don't change when digital audio is played, but they change depending on what's going on during the game.

ViTi95 wrote on 2023-05-23, 14:21:

That is palette corruption for sure. Do other games have the same issue? The palette is copied to the video card via OUT instructions (ports), so memory overlapping shouldn't be a problem. FastDoom has a command line parameter to fix issues on palette copies, try the option "-fixDAC" to see if it makes any difference.

Edit: I had a card with a similar problem, some times it worked fine an others didn't. Turned out to be an issue on the DAC chip, I replaced it and the problem was fixed.

Thanks for that tip! -fixdac yielded the same results

jmarsh wrote on 2023-05-23, 14:44:
ViTi95 wrote on 2023-05-23, 14:21:

The palette is copied to the video card via OUT instructions (ports), so memory overlapping shouldn't be a problem.

I would suspect an issue with the AEN signal getting to the video card, causing it to misinterpret the DMA transfers to the sound card as port writes.

I tried looking at the pinout for the VLB and didn't find that- can you give me more details on that please?

Luzemario wrote on 2023-05-23, 16:28:
Maybe the thread below can bring some light: […]
Show full quote

Maybe the thread below can bring some light:

Crackling sound with several sound cards on 486 VLB motherboard.

I would change the video card, because it appears to be a broken VBE implementation.

If so, get the utils here:

VESA Fix Utility Listing (for old video cards)

Very useful tools indeed, thank you! Doom uses mode 13H, so VBE is not the problem

IBM Aptiva 2162 - P55 166 MMX, 32MB, CS4237B + Wavetable, ATI Mach64 2MB / Win98SE
Custom PIII 750, 64MB, SB AWE64, Voodoo 3 3000 AGP / Win98SE
Sony Vaio z505 SuperSlim - PIII 550, 192MB, YMF744, NeoMagic 256AV+ / Win98SE

Reply 9 of 12, by bregolin

User metadata
Rank Member
Rank
Member

Also tried using a SCSI controller/hardrive and disabling the onboard PCI IDE, same thing. I've given up for now and resorted to a PCI video card, but would be good to know if it's the card or the motherboard's bus implementation at fault

IBM Aptiva 2162 - P55 166 MMX, 32MB, CS4237B + Wavetable, ATI Mach64 2MB / Win98SE
Custom PIII 750, 64MB, SB AWE64, Voodoo 3 3000 AGP / Win98SE
Sony Vaio z505 SuperSlim - PIII 550, 192MB, YMF744, NeoMagic 256AV+ / Win98SE

Reply 10 of 12, by bregolin

User metadata
Rank Member
Rank
Member

I've tested the Vibra together with the VLB card on another motherboard with the same chipset but no PCI or onboard IDE and the problem isn't present. This one has FPM memory whereas the one with the issue has a single 16MB EDO stick, I might try using FPM on the one with the issue but I doubt that's the problem, I'm thinking it's the PCI implementation that could be buggy.

IBM Aptiva 2162 - P55 166 MMX, 32MB, CS4237B + Wavetable, ATI Mach64 2MB / Win98SE
Custom PIII 750, 64MB, SB AWE64, Voodoo 3 3000 AGP / Win98SE
Sony Vaio z505 SuperSlim - PIII 550, 192MB, YMF744, NeoMagic 256AV+ / Win98SE

Reply 11 of 12, by Deunan

User metadata
Rank Oldbie
Rank
Oldbie
bregolin wrote on 2023-05-31, 14:16:

I'm thinking it's the PCI implementation that could be buggy.

Do you have VGA Palette Snoop option in BIOS? Make sure it is set to Disabled. It shouldn't really affect the (S)VGA but I've seen some DACs that are sensitive to write timings, so depending how the snoop is done it might just affect something. In general though mobos that have both PCI and VLB tend to have problems with both. VLB needs low latency and direct CPU bus access to be fast and PCI needs to be able to bus-master to work well.

Reply 12 of 12, by bregolin

User metadata
Rank Member
Rank
Member
Deunan wrote on 2023-05-31, 16:59:
bregolin wrote on 2023-05-31, 14:16:

I'm thinking it's the PCI implementation that could be buggy.

Do you have VGA Palette Snoop option in BIOS? Make sure it is set to Disabled. It shouldn't really affect the (S)VGA but I've seen some DACs that are sensitive to write timings, so depending how the snoop is done it might just affect something. In general though mobos that have both PCI and VLB tend to have problems with both. VLB needs low latency and direct CPU bus access to be fast and PCI needs to be able to bus-master to work well.

It is disabled, and enabling it doesn't make any difference. For now I've decided to use a PCI VGA card, the VLB one will go to another system that's VLB+ISA only and doesn't produce the same issue.

IBM Aptiva 2162 - P55 166 MMX, 32MB, CS4237B + Wavetable, ATI Mach64 2MB / Win98SE
Custom PIII 750, 64MB, SB AWE64, Voodoo 3 3000 AGP / Win98SE
Sony Vaio z505 SuperSlim - PIII 550, 192MB, YMF744, NeoMagic 256AV+ / Win98SE