Search found 453 matches

by leilei
Thu 14 May, 2015 9:56 pm
Forum: Development
Topic: 3DFX emulation
Replies: 180
Views: 46179

Re: 3DFX emulation

Doesn't fix it in the latest rev. Here's a screenshot showing r_ext_paletted_texture 1, r_textureBits 8 on MesaFX V0.6.2.0.2 in Q3V The paletted alpha does work on nGlide, but that pretends as a Voodoo5, and I still don't know if this artifact is actual Voodoo Graphics behavior Another bug I was goi...
by leilei
Thu 14 May, 2015 7:51 am
Forum: Development
Topic: 3DFX emulation
Replies: 180
Views: 46179

Re: 3DFX emulation

For fun I tried getting my OA3 WIP working in there. It adds paletted texture extension support (same implementation as this ) and processes alpha channels into a paletted alpha texture. On Voodoo Graphics it'll need a MesaFX DLL for it to work (thanks sdl :/) However I notice that there's a bug tha...
by leilei
Mon 04 May, 2015 7:36 pm
Forum: Development
Topic: Distribution packaging support?
Replies: 5
Views: 1701

Re: Distribution packaging support?

I think the only legal way around that is to have support for those Free Bochs roms and ship those Bochs roms, even though they don't represent an actual particular computer system by being as generic as possible, which kind of takes the fun (and point) out of using PCem... PCem (like MAME or MESS p...
by leilei
Sat 02 May, 2015 3:16 am
Forum: Development
Topic: 3DFX emulation
Replies: 180
Views: 46179

Re: 3DFX emulation

Ok i've scaled it, and also altered the buffer write to shift correctly to output so it's actually 24-bit now. The filter looks a lot closer to how i wanted it to be There's still some precision issues though. it's not as smooth as it could be. compare a screenshot taken in Quake2 (written with 3dfx...
by leilei
Fri 01 May, 2015 8:46 pm
Forum: Development
Topic: 3DFX emulation
Replies: 180
Views: 46179

Re: 3DFX emulation

More filter refactoring and improvement, fixed that green line thing (needed 31 instead of 24), and work with an interleaved thing I'm very confused at this translating a pixel shader to cpu thing. I feel like i'm not getting enough precision to do this correctly, much of the dither is retained stil...
by leilei
Mon 27 Apr, 2015 10:27 pm
Forum: Development
Topic: 3DFX emulation
Replies: 180
Views: 46179

Re: 3DFX emulation

I notice there's additional dither in the modulated muzzleflash plane of the pistol. Voodoo has a cutoff for that i think, though i don't know what its threshold is exactly. Also I don't know if this Q3A "testing" mod will help with dither debugging, along with these screenshots to compare with. Tur...
by leilei
Wed 22 Apr, 2015 7:35 pm
Forum: General
Topic: Strange SpectreVR input / num lock bug
Replies: 2
Views: 1254

Strange SpectreVR input / num lock bug

If you use the arrow keys to turn you'll also switch your view to the left. This makes aiming and moving very hard. This happens when playing the DOS version of Spectre VR (svr.exe) under MS-DOS (no TSRs), unless num lock is off. HOWEVER! IF you play that same DOS version in Windows 98 (win95/me unt...
by leilei
Tue 21 Apr, 2015 6:33 pm
Forum: Development
Topic: Dynamic recompiler
Replies: 164
Views: 43584

Re: Dynamic recompiler

Here's a GIF with some pauses I don't know if it's compiler related either. CFLAGS = -O3 -march=i686 -fomit-frame-pointer -DDYNAREC Possibly related or not, i've noticed while trying Tyrian out, the 'secret level' text fading that pops up after you trigger a secret level item or area (easiest to jus...
by leilei
Sun 19 Apr, 2015 7:55 pm
Forum: Development
Topic: Dynamic recompiler
Replies: 164
Views: 43584

Re: Dynamic recompiler

rev 226: Quake's explosion particles do not ramp its color properly, seems to go to the first color in its ramp Turok (W95TurokDemov101.exe) now crashes at the Acclaim screen. (The game crashes, not the emulator) Win98SE, 430VX, Pentium 120, A lot of cache, Sound Blaster 16, 32MB, Fast VLB/PCI, Phoe...
by leilei
Mon 30 Mar, 2015 1:41 am
Forum: Development
Topic: Dynamic recompiler
Replies: 164
Views: 43584

Re: Dynamic recompiler

First off, floppy images are being "mangled" on reboot on occasion. I just tried it with a Win95B boot disk in Award430VX PCI w/ P90 dynarec and can confirm this happens. I diffed the two images and the mangling happens right at the beginning of the disk. (Was trying to copy DOS cdrom drivers to lo...
by leilei
Mon 23 Mar, 2015 1:34 am
Forum: General
Topic: S3 ViRGE (both 325 and DX) glitches
Replies: 2
Views: 1363

Re: S3 ViRGE (both 325 and DX) glitches

Which driver are you using? The shipped one with Windows or S3's driver set?


I use S3's on 98SE and it doesnt glitch for me. Same motherboard, Virge DX and video speed,
by leilei
Mon 23 Mar, 2015 1:30 am
Forum: Development
Topic: 3DFX emulation
Replies: 180
Views: 46179

Re: 3DFX emulation

Latest revision still crashes Tomb Raider. I see two pixels on black before it does.


The Tomb Raider version i'm testing is the demo off the Diamond Monster3D disc which dates to 22 October 1996


I noticed Croc doesn't crash now though :)
by leilei
Sat 21 Mar, 2015 10:39 pm
Forum: Development
Topic: 3DFX emulation
Replies: 180
Views: 46179

Re: 3DFX emulation

The emulator crashes. The configuration is the same seen in the screenshot, but also to mention the Stealth 3D 2000, Sound Blaster 16 and 32MB RAM being used. I haven't tried the latest revision if that changed yet. More filter WIP code, changed things into lookups vid_voodoo.c uint32_t u; } rgba_u;...
by leilei
Wed 11 Mar, 2015 12:39 am
Forum: Development
Topic: 3DFX emulation
Replies: 180
Views: 46179

Re: 3DFX emulation

Q3A hangs just seconds after initialization. (r_glDriver 3dfxogl, using vg-w9x-q3.exe driver set). Also the gamma extension (WGL_3DFX_gamma_control) doesn't appear to be working. Virge works without hang though Trying to figure out where and how to adapt the filter via software EDIT: Attempted a rou...
by leilei
Tue 24 Feb, 2015 10:02 pm
Forum: General
Topic: VHD support
Replies: 20
Views: 4060

Re: VHD support

VHD was used in VirtualPC as well and Windows 7 can also mount them in its disk manager, and I think WinImage can dump whole drives to VHD
by leilei
Fri 20 Feb, 2015 8:30 pm
Forum: General
Topic: (Virtual) HD Geometry AND PCem: How I hit the Jackpot++
Replies: 1
Views: 1748

Re: (Virtual) HD Geometry AND PCem: How I hit the Jackpot++

You might enjoy this old file :)
by leilei
Sun 08 Feb, 2015 8:18 pm
Forum: Development
Topic: Dynamic recompiler
Replies: 164
Views: 43584

Re: Dynamic recompiler

Warbirds 2.5 is very playable now :) a few revisions earlier it froze before rendering the scene.
by leilei
Mon 26 Jan, 2015 10:53 pm
Forum: General
Topic: Microsoft Works 2.00a tutorial numlock hang
Replies: 0
Views: 1004

Microsoft Works 2.00a tutorial numlock hang

Interpreter build of 188
386SX20
MS-DOS 5.0


It's 'frozen' because it expects num-lock to be off before continuing, despite numlock actually off.
by leilei
Sun 18 Jan, 2015 10:10 pm
Forum: Development
Topic: Development screenshots
Replies: 44
Views: 16608

Re: Development screenshots

I've seen that model lighting issue before in a completely different engine I was working on hacking colored lighting into. I'm guessing it's not getting clamped to 0 or something else is pushing it beyond 0?
by leilei
Fri 05 Dec, 2014 6:49 pm
Forum: General
Topic: Voodoo emulation?
Replies: 15
Views: 4290

Re: Voodoo emulation?

When it matures to a point, I could probably contribute a filter in some form, even if it's going to be software emulation.
by leilei
Mon 01 Dec, 2014 2:57 pm
Forum: Development
Topic: Dynamic recompiler
Replies: 164
Views: 43584

Re: Dynamic recompiler

I don't use -fprofile-use. I only add -DDYNAREC when I build. rev 187. Award 430VX PCI doesn't crash for me either.

CFLAGS = -O3 -march=i686 -fomit-frame-pointer -DDYNAREC
by leilei
Mon 01 Dec, 2014 2:34 pm
Forum: Development
Topic: Dynamic recompiler
Replies: 164
Views: 43584

Re: Dynamic recompiler

Not for me, I can get to Win95 and Win98 just fine without any IFSMGR bluescreen on Intel Advanced/EV and AMI Winbios 486 with the DYNAREC enabled. Did you build it?

I should mention it's nice not seeing the Win95 logo stalling for seconds and having the full speed of a Pentium 90 :)
by leilei
Mon 01 Dec, 2014 6:29 am
Forum: Development
Topic: [PATCH] Fake Cyrix 6x86
Replies: 17
Views: 6320

Re: Fake Cyrix 6x86

leilei wrote:To amuse myself and to learn more about how PCem works.
What's 'best' doesn't concern me right now
by leilei
Sun 30 Nov, 2014 9:21 pm
Forum: Development
Topic: [PATCH] Fake Cyrix 6x86
Replies: 17
Views: 6320

Re: Fake Cyrix 6x86

Copied more opcode timings and removed the cycle dividing crap. Integer is still not as fast as i'd like it though (doom benchmarking seems very inconsistent - 890 realtics in one, 1400 realtics the next - in ultimate doom demo1). didn't have much time to work on this also tried to conform more to t...
by leilei
Sun 30 Nov, 2014 2:28 pm
Forum: General
Topic: The CD Audio handling
Replies: 6
Views: 1925

Re: The CD Audio handling

What about with real CDs and a host CD drive?


I wouldn't trust anything ripped with Alcohol 120% one bit because of the outofsync track times. I just Imgburn/CloneCD everything I have
by leilei
Fri 21 Nov, 2014 4:04 am
Forum: Development
Topic: [PATCH] Fake Cyrix 6x86
Replies: 17
Views: 6320

Re: Fake Cyrix 6x86

Here is a very lousy preliminary attempt at 6x86MX timing. No diff file for this one as it should be trivial to add this to your makefile, add to codegen.h and just change that codegen line to point to it. It's lousy because I've only copied a few clock cycle counts for the floating point and just d...
by leilei
Fri 21 Nov, 2014 3:56 am
Forum: Development
Topic: Dynamic recompiler
Replies: 164
Views: 43584

Re: Dynamic recompiler

BTW how cycle accurate is the Pentium emulation? P100 w/ S3 Trio64v+ seems kind of fast, getting 30fps in Quake timerefresh start when I think I should be getting 21fps there
by leilei
Thu 20 Nov, 2014 5:27 am
Forum: Development
Topic: [PATCH] Fake Cyrix 6x86
Replies: 17
Views: 6320

[PATCH] Fake Cyrix 6x86

To amuse myself and to learn more about how PCem works I wrote this patch that adds a few Cyrix 6x86 CPUs to the Award 430VX PCI motherboard. Currently it's a useless patch at it halts before POST. No timings adjusted and CPU code scares the freak out of me to dig farther into why it does this. It's...
by leilei
Wed 19 Nov, 2014 1:37 am
Forum: Development
Topic: Dynamic recompiler
Replies: 164
Views: 43584

Re: Dynamic recompiler

I did try AM486 again with the dynarec and got Windows 95 to install and boot fine. However after installing a few things (dunno what causes this yet, haven't carefully reproduced) I eventually hit a "invalid configuration, you need to run Windows Setup" BSOD which causes PCem to quit if I continue ...
by leilei
Sun 16 Nov, 2014 2:18 pm
Forum: Development
Topic: Development screenshots
Replies: 44
Views: 16608

Re: Development screenshots

I'm guessing 60 and 66 are left out until the FDIV bug's recreated

There are also 150MHz PMMXes out there. Laptops though