Search found 553 matches

by leilei
Thu 28 Apr, 2016 9:50 pm
Forum: General
Topic: Building PCem
Replies: 13
Views: 3868

Re: Building PCem

To build PCem I have a Mingw32 setup installed and I double-click a batch file with these contents:

Code: Select all

set path=c:\mingw\bin;
rem del *.o
mingw32-make.exe -j 4 -f Makefile.mingw
pause
by leilei
Thu 28 Apr, 2016 5:52 am
Forum: Development
Topic: unfinished PowerVR PCX emulation stub
Replies: 14
Views: 4568

unfinished PowerVR PCX emulation stub

for "fun" I went and created a dummy NEC PowerVR PCX2 addon 3d device that just logs pci access to file. nothing works yet i'm not really versed in writing video emulation on my own, so right now this is nothing more than a useless stub. I have a long way to go and my only point of study right now i...
by leilei
Thu 28 Apr, 2016 1:06 am
Forum: Development
Topic: [PATCH] Fake Cyrix 6x86
Replies: 17
Views: 6762

Re: [PATCH] Fake Cyrix 6x86

Thanks, I wasn't aware of the MX PR400. Interesting. That's closer to the Super Socket 7 edge of things As for Cyrix MMX instruction use I can only think of 3dfx MiniGL drivers >1.47, but i'm not certain of that either than technical support eligibility. There's also the 686OPT tool out there and i'...
by leilei
Sun 24 Apr, 2016 10:45 pm
Forum: Development
Topic: 3DFX emulation
Replies: 190
Views: 56120

Re: 3DFX emulation

here's a UT video on a more recent PCem state . It's fast enough to win I recorded in VirtualDub having PCem's affinity take the first 3 cores, and VirtualDub on the last one core. EDIT: Tribes . The choppiness and appearance is normal, it's how Tribes performed in the day in a busy game. It was no...
by leilei
Sat 02 Apr, 2016 6:06 am
Forum: Development
Topic: Failure to compile (again)
Replies: 2
Views: 1168

Re: Failure to compile (again)

error: #error "SSE instruction set not enabled"
You don't have -msse2 in your cflags. Are you sure your tree is up to date and you're compiling from makefile.mingw?
by leilei
Sat 02 Apr, 2016 5:52 am
Forum: General
Topic: Intel Graphics
Replies: 6
Views: 1878

Re: Intel Graphics

Then don't use that? The Direct3D mode is only really practical for three things: - some video recording apps that love the d3d api - some video chipsets that can't filter directdraw (such as those from ATI/AMD) - hlsl....if i bothered to figure that out for the 3dfx filter :( though intel hd is act...
by leilei
Sun 21 Feb, 2016 1:35 am
Forum: General
Topic: Bad sound in Megarace w/ SB16
Replies: 2
Views: 1445

Bad sound in Megarace w/ SB16

Latest revision. It has very noticable audio clipping and distortion and plays back at a very low rate, including cutscenes (which should be 11khz!!). FM is also downsampled to this rate. I don't know what rate it's reallly playing but it sounds much lower than the reported 9khz, sounds closer to ha...
by leilei
Tue 16 Feb, 2016 11:11 pm
Forum: General
Topic: Super Socket Seven
Replies: 13
Views: 3217

Re: Super Socket Seven

The 430VX BIOS used does recognize the Cyrix6x86 CPU, but doesn't make it past the IDE detection. Probably needs some special Cyrix check that's not emulated.
by leilei
Tue 16 Feb, 2016 11:08 pm
Forum: Development
Topic: nightly builds
Replies: 6
Views: 2563

Re: nightly builds

I use GCC 4.7.2 to compile mine. I don't bother with the Msys
by leilei
Tue 16 Feb, 2016 11:00 pm
Forum: General
Topic: Super Socket Seven
Replies: 13
Views: 3217

Re: Super Socket Seven

I've only worked on a tiny bit of groundwork for Cyrix 6x86 support . emphasis on tiny as in it's just the identification stuff and some cycle counts. No cyrix CPUs doing anything and they can't make it to POST. I can't work any more on this because A. cpu code scares me 2. critical art priorities ...
by leilei
Tue 16 Feb, 2016 12:21 pm
Forum: General
Topic: Super Socket Seven
Replies: 13
Views: 3217

Re: Super Socket Seven

In theory they are just up spec'd Pentium 1 if only......... We haven't even got to the other non-super Socket 7 CPUs yet Admittedly there are the 3DNow instructions from AMD, but lets be honest, how useful were they really.? They're very useful with official 3dfx Voodoo2/3 drivers since they have ...
by leilei
Sat 13 Feb, 2016 2:50 am
Forum: Development
Topic: 3DFX emulation
Replies: 190
Views: 56120

Re: 3DFX emulation

I've noticed 3dfx Voodoo doesn't seem to show up/detect in AMI WinBIOS 486

my real M919 3.4 WinBIOS 486 system (10/10/94) can use a Voodoo2 and it works, curious if this is a bug on an older '93 bios or a pcem bug or something..
by leilei
Sat 30 Jan, 2016 6:00 pm
Forum: General
Topic: Win9x segfaults with Voodoo Recompiler
Replies: 9
Views: 2408

Re: Win9x segfaults with Voodoo Recompiler

Doesn't segfault here on Win95 and Win98SE with DX7's dxdiag and May 1999 drivers, and 2mb / 4mb frame buffers.

What are your compiling flags? Mine are the standard makefile, plus -flto.
by leilei
Mon 25 Jan, 2016 9:47 pm
Forum: General
Topic: Doom v1.0 erratic player movement
Replies: 1
Views: 929

Doom v1.0 erratic player movement

On Doom 1.0 (first shareware release to be precise), at times, it'll feel like there's run mode enabled....randomly, despite not holding down shift at all Tested with 386 interpreter, 486 interpreter, 486 recompiler, Pentium recompiler, on AMI386 clone and AMI486 clone Does not affect Doom 1.1, 1.2,...
by leilei
Wed 20 Jan, 2016 5:28 pm
Forum: General
Topic: How is Voodoo performance doing in latest REVs
Replies: 12
Views: 4144

Re: How is Voodoo performance doing in latest REVs

the emulated fillrate is now always at or above the rate of the real card (35-40 mpixels/sec in actual games) in the games I tried http://www.tomshardware.com/reviews/3d-accelerator-review-step,51-3.html meaninglessly, I've compared PCem at P200MMX Infinite with V1 and the Turok demo -benchmark, it...
by leilei
Tue 19 Jan, 2016 1:19 am
Forum: General
Topic: How is Voodoo performance doing in latest REVs
Replies: 12
Views: 4144

Re: How is Voodoo performance doing in latest REVs

Voodoo2 would be heavily bottlenecked, though on a real slow system it does have an edge over Voodoo Graphics in certain games due to multitexture usage simplifying triangle setup. and there's also that additional vram and the improved paletted texture support on the CPU side there's still the other...
by leilei
Wed 13 Jan, 2016 12:28 am
Forum: General
Topic: Trying to find good information, and a place to start.
Replies: 3
Views: 1249

Re: Trying to find good information, and a place to start.

Is dynamic recompiler enabled? You should be able to hit 100% on the lower Pentiums with infinite cache with that cpu, and 486dx4 100 shouldn't be an issue
by leilei
Tue 12 Jan, 2016 10:51 pm
Forum: Development
Topic: 3DFX emulation
Replies: 190
Views: 56120

Re: 3DFX emulation

Recompiler bug found with Starsiege Tribes, involving a lightmap blending issue something like that causing some crazy moire and discoloration.

I've unchecked it in the second screenshot
by leilei
Tue 12 Jan, 2016 9:57 pm
Forum: Development
Topic: 3DFX emulation
Replies: 190
Views: 56120

Re: 3DFX emulation

Just tried it. Indeed it's a nice speedup! Though so far i've only tried to choke it with my OA3 grass map which has lots of alpha shells of both alpha test and blend, animated to look like complex waving grass. It jumped from 5fps to 11fps with P200MMX Infinite. and i've only done a -flto build
by leilei
Tue 12 Jan, 2016 6:08 pm
Forum: General
Topic: Writing down about performance in PCem
Replies: 7
Views: 3320

Re: Writing down about performance in PCem

Quake's nothing. You can burn through in p166 a lot cache on a Phenom II on that with a pgo build, runs 100% and performs roughly similar to Pentium laptops of the era


Eradicator though......... recent Core i5's struggle with that on P75 Infinite lol
by leilei
Sun 10 Jan, 2016 11:17 pm
Forum: General
Topic: Writing down about performance in PCem
Replies: 7
Views: 3320

Re: Writing down about performance in PCem

I'd say Phenom II 3GHz is a good min for 3dfx emulations assuming P133 A Lot cache. It's enough for skirting along Turok on 512x384 with the filter disabled. Having two threads for it is also a big help, and there's still more room for speedups (like using SSE2 to handle the texture mapping) random ...
by leilei
Sun 10 Jan, 2016 11:16 pm
Forum: General
Topic: rev417 - has to hard reset to get sis496 work
Replies: 3
Views: 1265

Re: rev417 - has to hard reset to get sis496 work

Can reproduce this. Seems to happen for interpreter, other video cards, and AMD cpus as well
by leilei
Mon 07 Dec, 2015 3:03 am
Forum: General
Topic: Host machine survey
Replies: 109
Views: 33448

Re: Host machine survey

Pentium 4 didn't have as good cycles-per-clock as Pentium III or the Athlon Thunderbird. There was a lot of reluctancy for the first Willamettes, and Intel wanted to have a GHz marketing race. There's also all those rambus issues. I do have a P4 Willamette w/ RDRAM intentionally rebuilt as a period ...
by leilei
Sun 06 Dec, 2015 3:47 am
Forum: General
Topic: Host machine survey
Replies: 109
Views: 33448

Re: Host machine survey

Not quite 100% true. I used my old PC until the end of February 2014 and it did have a 2.4 GHZ Pentium 4 processor with SSE2 support. He was referring to Athlons up to the Athlon64 (~2005) which can't handle Google Chrome and which are out of the range for PCem to emulate a fast machine in anyway. ...
by leilei
Wed 02 Dec, 2015 2:00 pm
Forum: General
Topic: Another wishlist
Replies: 5
Views: 1926

Re: Another wishlist

I think the monitor type could be handled with pixel shaders, having stuff processed to a "signal" shader, even doing the out-of-range responses by shader. and that's not counting the whole crt postprocessing stuff It can't simply end at just making the screen green. I remember lots of green-only mo...
by leilei
Sun 29 Nov, 2015 10:40 pm
Forum: Development
Topic: [PATCH] Fake Cyrix 6x86
Replies: 17
Views: 6762

Re: Fake Cyrix 6x86

New patch that applies to latest rev as of 2015-11-25


"adds" 6x86, 6x86L, MediaGX. All placeholdery fakes, of course. There's still a freeze before post after the 6x86 gets identified, and some cpu ids are still not right.
by leilei
Sat 28 Nov, 2015 12:08 am
Forum: General
Topic: Trident graphics (from downlods); display messed up
Replies: 14
Views: 3490

Re: Trident graphics (from downlods); display messed up

You should use a more modern video card to pair with a voodoo, like one of those PCI S3 Trio cards or ViRGEs. (Trio is a bit more compatible since some games will default to Virge's bad 3D first, missing out on 3dfx initialization) FYI: S3 Trio is purely 2D (like everything else on the list), S3 ViR...
by leilei
Sat 28 Nov, 2015 12:03 am
Forum: Development
Topic: 3DFX emulation
Replies: 190
Views: 56120

Re: 3DFX emulation

3dfx is software rendered. The screen filter is a port of my D3D9/GL2 pixel shader to C - entirely in software . It's not as precise as i'd like it to be though (some slight dithering is untouched and there's terrible streaking feedback in places), and it's close enough for now. I'd imagine you'd be...
by leilei
Tue 24 Nov, 2015 12:44 pm
Forum: General
Topic: PCem screw up moments thread(fun thread)
Replies: 10
Views: 2702

Re: PCem screw up moments thread(fun thread)

One earlier glitch (later fixed by that cpu revision that also fixed Spectre VR for Windows) caused obscure Win16 game Flak Attack to make the player's turret grow longer instead of turning. It was weird and it affected gameplay. The neglect to report this game is also a screw up moment. Also more o...
by leilei
Sun 22 Nov, 2015 10:50 pm
Forum: General
Topic: PCem screw up moments thread(fun thread)
Replies: 10
Views: 2702

Re: PCem screw up moments thread(fun thread)

I played with a "dog"

(old glitch)