Mouse not looking well with the S3 (Trio64, Virge)

Support and general discussion.
Post Reply
SA1988
Posts: 274
Joined: Wed 30 Apr, 2014 9:38 am

Mouse not looking well with the S3 (Trio64, Virge)

Post by SA1988 »

Sympton: The hardware mouse doesn't look well when acceleration is enabled in the S3 Virge/Trio64 in 1024x768x32bpp mode
Settings: SVN 100 (but also since Virge was fully implemented to support 1024x768x32bpp)
Award 496/497 PCI
Award 430VX PCI
I486 (Award 496/497)/WinChip (Award 430VX PCI)
Cache: A lot
Fast VLB/PCI speed
Sound card: none
Memory: 32MB (Win3.1x), 128MB (Win95, NT 4.0)
emulated operating systems: Windows 3.1x, Windows 95, Windows 98, Windows NT 4.0.
Description: When selecting 32bpp mode in the display settings of Windows (Windows Setup on 3.1x) in the 1024x768 display mode, the cursor looks scretched down. But it otherwise works like a normal cursor, I think it has something to do with the acceleration of the S3 in the current implementation since disabling the hardware cursor on Windows 3.1x and Windows 9x makes the mouse look normal.
User avatar
SarahWalker
Site Admin
Posts: 2054
Joined: Thu 24 Apr, 2014 4:18 pm

Re: Mouse not looking well with the S3 (Trio64, Virge)

Post by SarahWalker »

It's a bug with hardware cursor emulation on interlaced modes.
SA1988
Posts: 274
Joined: Wed 30 Apr, 2014 9:38 am

Re: Mouse not looking well with the S3 (Trio64, Virge)

Post by SA1988 »

at the moment, on NT 4.0, I had to switch to another pointer scheme to make it look more "normal" :)
SA1988
Posts: 274
Joined: Wed 30 Apr, 2014 9:38 am

Re: Mouse not looking well with the S3 (Trio64, Virge)

Post by SA1988 »

Update: it's not a cursor problem, it's a full interlace problem, now fixable with:

Code: Select all

if (svga->crtc[0x42] & 0x20) {
		svga->vtotal *= 2;
		svga->dispend *= 2;
		svga->vblankstart *= 2;
		svga->vsyncstart *=2;
		svga->split *= 2;
		}
Attachments
Purple?
Purple?
32BPP.png (42.5 KiB) Viewed 10162 times
User avatar
SarahWalker
Site Admin
Posts: 2054
Joined: Thu 24 Apr, 2014 4:18 pm

Re: Mouse not looking well with the S3 (Trio64, Virge)

Post by SarahWalker »

viewtopic.php?f=3&t=5&sid=58140f6715a2b ... f78f3a088b

Context is fairly important when providing patches.
Post Reply