Search found 793 matches

by Battler
Mon 12 Jun, 2017 1:35 pm
Forum: General
Topic: [Partially-Solved] PCem v12 and Sound Lag
Replies: 124
Views: 26451

Re: [Partially-Solved] PCem v12 and Sound Lag

- leilei: What? SoftPCMuseum_ is working on a fork of PCE... he indeed had difficulty cooperating with Sarah and has since switched to forking Hampa's PCE instead, and somehow has no problems now. Also, while I have my fair share of problems with WinWorld, you seem to think of preservation of softwa...
by Battler
Sun 11 Jun, 2017 9:46 pm
Forum: General
Topic: [Partially-Solved] PCem v12 and Sound Lag
Replies: 124
Views: 26451

Re: [Partially-Solved] PCem v12 and Sound Lag

Well then, what exactly prevents mainline PCem from being distributed with this DLL? :p Also, about the Direct3D freezes, it turns out the compiler is not the issue. On the mainline PCem executable compiled by SA1988 with the same development environment and GCC version, the freezes are not there. M...
by Battler
Sun 11 Jun, 2017 5:16 pm
Forum: General
Topic: [Partially-Solved] PCem v12 and Sound Lag
Replies: 124
Views: 26451

Re: [Partially-Solved] PCem v12 and Sound Lag

- SarahWalker: I got your sarcasm, I just pointed out why it was wrong. :p
by Battler
Sun 11 Jun, 2017 3:50 pm
Forum: General
Topic: [Partially-Solved] PCem v12 and Sound Lag
Replies: 124
Views: 26451

Re: [Partially-Solved] PCem v12 and Sound Lag

- SarahWalker: Because 6.3.0 is the latest MingW-GCC. 7.1 does not yet exist for MingW. Also, the stability issues have to do with Direct3D 9, not the compiler. I have the exact same crashes and freezes when using DOSBox's Direct3D 9 renderer and I am certainly not compiling DOSBox on my own. The pr...
by Battler
Sun 11 Jun, 2017 2:12 pm
Forum: General
Topic: [Partially-Solved] PCem v12 and Sound Lag
Replies: 124
Views: 26451

Re: [Partially-Solved] PCem v12 and Sound Lag

- SarahWalker: MingW/MSYS2 installation with GCC 6 .3.0. Here's my development environment: http://tinyurl.com/pcemude . I also don't know why he's continuing to conflate GCC version with a totally unrelated library, despite this having been pointed out to him several times. I am not conflating anyt...
by Battler
Sat 10 Jun, 2017 9:42 pm
Forum: General
Topic: [Partially-Solved] PCem v12 and Sound Lag
Replies: 124
Views: 26451

Re: [Partially-Solved] PCem v12 and Sound Lag

- SarahWalker: But recent MingW/MSys has better/more recent libraries. James-F has said above that with the libopenal-1.dll from my development environment, the audio lag issues are gone.

- leilei: I can give you my development environment's libopenal-1.dll and you can try that.
by Battler
Sat 10 Jun, 2017 3:53 pm
Forum: General
Topic: [Partially-Solved] PCem v12 and Sound Lag
Replies: 124
Views: 26451

Re: [Partially-Solved] PCem v12 and Sound Lag

- Malike: It would be solved for mainline PCem quite easily if Sarah switched to a recent GCC which uses libopenal-1.dll.
by Battler
Sat 10 Jun, 2017 3:49 pm
Forum: Development
Topic: [Patch] CGA monochrome & selectable mono display
Replies: 46
Views: 11590

Re: [Patch] CGA monochrome & selectable mono display

- gremilkar: You need to compile PCem with the SDL2/WxWidgets UI for that.
by Battler
Fri 09 Jun, 2017 7:37 pm
Forum: Development
Topic: [Patch] Add NukedOPL
Replies: 20
Views: 4940

Re: [Patch] Add NukedOPL

- James-F: The NukedOPL author even told you using NukedOPL for OPL 2 can break things since NukedOPL only emulates the OPL 3.
by Battler
Wed 07 Jun, 2017 6:10 pm
Forum: Development
Topic: [Patch] Add NukedOPL
Replies: 20
Views: 4940

Re: [Patch] Add NukedOPL

- James-F: Yeah, I forgot to update that one. Yes, it's supposed to be 47000 : 51000.
by Battler
Wed 07 Jun, 2017 2:55 pm
Forum: General
Topic: [Partially-Solved] PCem v12 and Sound Lag
Replies: 124
Views: 26451

Re: [Partially-Solved] PCem v12 and Sound Lag

Battler, what is your build has instead openAL32.dll? That would be libopenal-1.dll which is openAL32.dll under another name, because GCC 6.x decided to rename the OpenAL DLL. It is also newer. There is no dependency on openAL32.dll whatsoever in Battlers build, hence bug free audio operation. The ...
by Battler
Tue 06 Jun, 2017 9:16 pm
Forum: Development
Topic: [Patch] Add NukedOPL
Replies: 20
Views: 4940

Re: [Patch] Add NukedOPL

- SarahWalker: Yeah, I messed up there, sorry. :p
by Battler
Tue 06 Jun, 2017 8:39 pm
Forum: Development
Topic: An idea on how to improve performance
Replies: 1
Views: 853

An idea on how to improve performance

This is the message I got from someone I know on another forum, she had this to say: It's slow(er in the OS when address translation is enabled) because of the TLB not being emulated 'properly', leading to a fetch from the page tables each time an instruction that references memory is accessed. See ...
by Battler
Tue 06 Jun, 2017 2:05 pm
Forum: Development
Topic: [Bug] Warcraft 2 displays nothing
Replies: 35
Views: 7793

Re: [Bug] Warcraft 2 displays nothing

[Post edited]
by Battler
Tue 06 Jun, 2017 1:58 pm
Forum: Development
Topic: [Bug] IDE HDD stuttering emulation
Replies: 29
Views: 8001

Re: [Bug] IDE HDD stuttering emulation

There's also the fact IDE hard disks generally read one sector a time, though PCem emulates multiple reads but still does a fseeko64/fread on every sector rather than on the whole batch, on the other hand, SCSI hard disks generally read entire blocks of sectors at a time, and the way I wrote the SCS...
by Battler
Tue 06 Jun, 2017 1:48 pm
Forum: General
Topic: [Partially-Solved] PCem v12 and Sound Lag
Replies: 124
Views: 26451

Re: [Solved] PCem v12 and Sound Lag

- basic2004: Vulkan is useless, a lot of PCem users are on crappy hardware and a lot of them are in quite financially messed up countries so they can't just go out and buy a new PC, so it would benefit too few people to be worth the effort.
by Battler
Mon 05 Jun, 2017 8:45 pm
Forum: Development
Topic: [Bug] DOSIDLE.EXE crashes
Replies: 2
Views: 1082

Re: [Bug] DOSIDLE.EXE crashes

I might have tested it and gotten that error before I applied the fix of yours that fixed LBA 2, that fix probably fixed DOSIDLE.EXE as well, I need to try it again.
by Battler
Mon 05 Jun, 2017 8:14 pm
Forum: General
Topic: [Partially-Solved] PCem v12 and Sound Lag
Replies: 124
Views: 26451

Re: [Solved] PCem v12 and Sound Lag

Then why not consider a Direct3D 10 or 11 render? That actually is thread-safe, at least according to Microsoft themselves. I think the emulator would massively benefit from it. :p
by Battler
Mon 05 Jun, 2017 7:59 pm
Forum: Development
Topic: [Bug] Warcraft 2 displays nothing
Replies: 35
Views: 7793

Re: [Bug] Warcraft 2 displays nothing

If she sees someone releasing builds she might get pissed off and close the access to the code. Edit: Actually, I was wrong. She can legally close the mercurial repository and only distribute the source of the release builds as she herself does not distribute devlopment binaries of PCem. So you're ...
by Battler
Mon 05 Jun, 2017 7:43 pm
Forum: Development
Topic: [Bug] Warcraft 2 displays nothing
Replies: 35
Views: 7793

Re: [Bug] Warcraft 2 displays nothing

- SA1988: Sarah and ecksemmess are both right. This is Sarah's site, and therefore, Sarah's rules, so stop pressuring her and bringing up irrelevant points.

And yes, the time would indeed be better spent coding rather than arguing.
by Battler
Mon 05 Jun, 2017 7:41 pm
Forum: Development
Topic: [Bug] IDE HDD stuttering emulation
Replies: 29
Views: 8001

Re: [Bug] IDE HDD stuttering emulation

That won't help. Sarah is right, IDE uses PIO while the SCSI controller I emulated uses DMA, so there's considerably less waiting for transfers.
by Battler
Mon 05 Jun, 2017 7:21 pm
Forum: General
Topic: [Partially-Solved] PCem v12 and Sound Lag
Replies: 124
Views: 26451

Re: [Solved] PCem v12 and Sound Lag

GCC 6.3.0 certainly does appear to be full of problems, the initial MingW release of it produced executables that crashed on Windows XP but shouldn't, that was subsequently fixed. However, I blame the Direct3D threading for one reason - DOSBox also does it (via SDL) and I have the same kind of probl...
by Battler
Mon 05 Jun, 2017 2:26 pm
Forum: Development
Topic: [Bug] Warcraft 2 displays nothing
Replies: 35
Views: 7793

Re: [Bug] Warcraft 2 displays nothing

It's pretty trivial to dump your own S3 bios to use with PCem anyway. It's what I did. Not everyone can afford an actual S3 card and an actual old machine to dump the BIOS (or an ROM reader device). VIA owns S3's assets and therefore they're still "around". The S3 site's still up even. Why not e-ma...
by Battler
Mon 05 Jun, 2017 1:36 pm
Forum: Development
Topic: [Patch] Add NukedOPL
Replies: 20
Views: 4940

Re: [Patch] Add NukedOPL

On the emulated Pentium 75, I used Little Big Adventure 2 as reference. With NukedOPL disabled, it runs at solid 100%, while with NukedOPL enabled, it runs at 85-90%. That's a 10-15% difference. And the game doesn't even use any sort of synth music, so the mere attachment of NukedOPL to the guest ma...
by Battler
Mon 05 Jun, 2017 1:31 pm
Forum: General
Topic: Host machine survey
Replies: 139
Views: 78906

Re: Host machine survey

Don't worry, PCem is unaffected by video card's performance, it only relies on the CPU That's false. The graphics card can and does affect the PCem. If it does Direct3D 9 badly, then PCem will be slower with that, if it also does DirectDraw badly, then you have no way of running PCem at a decent sp...
by Battler
Mon 05 Jun, 2017 1:30 pm
Forum: General
Topic: [Partially-Solved] PCem v12 and Sound Lag
Replies: 124
Views: 26451

Re: [Solved] PCem v12 and Sound Lag

Vanilla PCem builds are profile optimized. That's true, but IMHO, profile optimization is really a band aid. It makes PCem faster for the specific usage Sarah profiled it for (which I guess would be the games she plays), with no guarantee of improvement when doing anything else. No way will tossing...
by Battler
Sun 04 Jun, 2017 5:08 pm
Forum: General
Topic: [Partially-Solved] PCem v12 and Sound Lag
Replies: 124
Views: 26451

Re: [Solved] PCem v12 and Sound Lag

The non-SDL version of PCem really needs an OpenGL renderer. :p
by Battler
Sun 04 Jun, 2017 4:53 pm
Forum: General
Topic: [Partially-Solved] PCem v12 and Sound Lag
Replies: 124
Views: 26451

Re: [Solved] PCem v12 and Sound Lag

- James-F: It's still threading of a non-thread-safe API. The fact the distributed mainline PCem binaries do not show the problems is sheer luck.
by Battler
Sun 04 Jun, 2017 4:34 pm
Forum: General
Topic: [Partially-Solved] PCem v12 and Sound Lag
Replies: 124
Views: 26451

Re: [Solved] PCem v12 and Sound Lag

- Dacasks: I recommend you disable NukedOPL. I think that's what causes you a performance reduction on 86Box. As for the crashes, they happen because Sarah put the Direct3D 9 render into its own thread even though Direct3D 9 is known for not being very thread-safe. It doesn't show up much on mainlin...
by Battler
Sun 04 Jun, 2017 2:55 pm
Forum: General
Topic: [Partially-Solved] PCem v12 and Sound Lag
Replies: 124
Views: 26451

Re: [Solved] PCem v12 and Sound Lag

Evidence would suggest that you 'yelling' has zero impact.
It takes a lot of time to change someone.