Search found 69 matches

by James-F
Thu 03 Aug, 2017 4:14 pm
Forum: Development
Topic: [Bug] IDE HDD stuttering emulation
Replies: 27
Views: 1541

Re: [Bug] IDE HDD stuttering emulation

The problem is obviously on PCem emulation side, because I compare with real P233MXX ,P100 and DOSBox all of them have no stuttering at all when accessing the HDD. The CPU emulation in PCem is fast and working properly as far as I can tell, but I experience freezes each time the emulated HDD is acce...
by James-F
Wed 02 Aug, 2017 2:41 pm
Forum: Development
Topic: [Bug] IDE HDD stuttering emulation
Replies: 27
Views: 1541

Re: [Bug] IDE HDD stuttering emulation

Any news on this Sarah?
Just a reminder that games are annoying and unplayable with this stuttering.
by James-F
Wed 02 Aug, 2017 2:37 pm
Forum: Development
Topic: Sound Blaster Pro naming
Replies: 2
Views: 272

Re: Sound Blaster Pro naming

Are you confused which one's which?
by James-F
Wed 21 Jun, 2017 4:05 pm
Forum: Development
Topic: [Bug] Warcraft 2 displays nothing
Replies: 35
Views: 2096

Re: [Bug] Warcraft 2 displays nothing

Warcraft 2 searches for VBE 2.0 video card, if it does not detect one it will start a uniVBE driver or request you to start one.
There are some version of the game that have UniVBE already part of the executable, so it will start it automatically.

war2.png
war2.png (40.74 KiB) Viewed 416 times
by James-F
Wed 21 Jun, 2017 4:28 am
Forum: General
Topic: Sound Blaster Pro & 16
Replies: 39
Views: 2637

Re: Sound Blaster Pro & 16

Yes, Doom disables the filter after you quit; It is exactly the same on the real hardware.
You should use the SBPro mixer software SBP-SET.EXE with /DNFI:ON to restore the filter.
Some games change the mixer setting, this is the reality of it.
by James-F
Sat 17 Jun, 2017 4:31 am
Forum: Development
Topic: [Bug] IDE HDD stuttering emulation
Replies: 27
Views: 1541

Re: [Bug] IDE HDD stuttering emulation

bump I should say again that this bug doe not happen on a created ram drive or scsi drive. Maybe it's no a problem of the CPU idle loop after all? If you can create a virtual IDE disk activity and check what the emulation does when reading from IDE disk. Please have a look at this, it is real a pain...
by James-F
Sun 11 Jun, 2017 2:49 pm
Forum: General
Topic: [Partially-Solved] PCem v12 and Sound Lag
Replies: 124
Views: 6758

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

Thanks Sarah, I can go as low as 40 without stuttering, this is a big improvement.
by James-F
Sun 11 Jun, 2017 6:33 am
Forum: General
Topic: [Partially-Solved] PCem v12 and Sound Lag
Replies: 124
Views: 6758

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

Unfortunately the single SOUNDBUFLEN line was replaced with almost 100 new code lines, so tweaking the buffers in the code is no longer easy :(
I think it was a very poor choice to make only 3 configurable values with a lot of dependencies all over the code...
by James-F
Sun 11 Jun, 2017 4:59 am
Forum: General
Topic: [Partially-Solved] PCem v12 and Sound Lag
Replies: 124
Views: 6758

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

Thanks Sarah. Only 100, 200, 400? This is quite limited, the point was to set the buffer value as low as possible without crackling, so the end-user can actually find the lowest value for his system. Values of 80 (20ms), 60 (15ms), and 40 (10ms) should be included at least for testing. Better yet, a...
by James-F
Sat 10 Jun, 2017 3:12 am
Forum: Development
Topic: [Patch] Add NukedOPL
Replies: 20
Views: 1464

Re: [Patch] Add NukedOPL

No, you misunderstood. DOSBox uses OPL3 core with ANY core (Fast, Compat, Nuked) to emulate OPL2, Dual-OPL2 and OPL3. In other words, it doesn't have special OPL2 emulation, it uses the same core as for the OPL3, so when SBPro1 is selected DOSBox simply translates the Dual-OPL2 commands to OPL3 addr...
by James-F
Fri 09 Jun, 2017 11:46 am
Forum: Development
Topic: [Patch] Add NukedOPL
Replies: 20
Views: 1464

Re: [Patch] Add NukedOPL

Battler, I should point that DOSBox uses the dbOPL core for OPL2 and OPL3 NukedOPL patch for DOSBox is like dbOPL applied to both OPL2 and OPL3. According to NukedOPL author: http://www.vogons.org/viewtopic.php?f=41&t=49327#p590414 Since you ported the patch to PCem, I suggest enabling NukedOPL ...
by James-F
Wed 07 Jun, 2017 5:29 pm
Forum: Development
Topic: [Patch] Add NukedOPL
Replies: 20
Views: 1464

Re: [Patch] Add NukedOPL

A small fix is still needed.
The dbopl value for OPL3 in sound_sb.c remained 55000, it should be 51000 like opl2. -> 47000: 51000.
Battler probably miss typed it manually.
by James-F
Wed 07 Jun, 2017 3:17 pm
Forum: General
Topic: [Partially-Solved] PCem v12 and Sound Lag
Replies: 124
Views: 6758

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

Thanks Battler!
libopenal-1.dll indeed fixed all the issues PCem had with sound.
I just copied it to PCem folder and renamed it to openAL32.dll.
by James-F
Wed 07 Jun, 2017 9:41 am
Forum: Development
Topic: [Patch] Add NukedOPL
Replies: 20
Views: 1464

Re: [Patch] Add NukedOPL

leilei wrote:Those wide humming synths in Doom E1M2 and E1M5 sound strange.......

Compared to what?
by James-F
Wed 07 Jun, 2017 4:39 am
Forum: General
Topic: [Partially-Solved] PCem v12 and Sound Lag
Replies: 124
Views: 6758

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

There is no dependency on openAL32.dll whatsoever in Battlers build, hence bug free audio operation.
The problem that each openAL32.dll version has its own ugly bugs, it's time to remove dependency on it completely from PCem.
by James-F
Wed 07 Jun, 2017 4:19 am
Forum: General
Topic: [Partially-Solved] PCem v12 and Sound Lag
Replies: 124
Views: 6758

Re: [Solved] PCem v12 and Sound Lag

There is a problem with the openAL32.dll (old) that comes with PCem V12. Although it has no stereo separation issue that the newer openAL32.dll has, but it truncates frequency response above 10kHz. Moreover, the old openAL32.dll has major aliasing issue I can hear and see when playing 440.wav test t...
by James-F
Wed 07 Jun, 2017 4:10 am
Forum: Development
Topic: [Patch] Add NukedOPL
Replies: 20
Views: 1464

Re: [Patch] Add NukedOPL

Yes those two are missing from the source, but when included everything works as expected; big big thank you Sarah.. I don't understand why the "per-device" option because the user can't actually use more then one device, but oh well. There are crashes with the latest commit when minimizin...
by James-F
Tue 06 Jun, 2017 5:50 pm
Forum: Development
Topic: [Bug] IDE HDD stuttering emulation
Replies: 27
Views: 1541

Re: [Bug] IDE HDD stuttering emulation

I understand.
I am positively sure that you understand that an issue that results in an emulation hindering on this scale outweighs any kind of cosmetic fix.
by James-F
Tue 06 Jun, 2017 5:42 pm
Forum: General
Topic: [Partially-Solved] PCem v12 and Sound Lag
Replies: 124
Views: 6758

Re: [Solved] PCem v12 and Sound Lag

People use various machines to run PCem, so maybe make this buffer length user configurable so the user can find the right value for his system. In DOSBox this value called "blocksize" and is configurable by the user. Maybe make this division value an integer (48000/X) and let the user adj...
by James-F
Tue 06 Jun, 2017 8:57 am
Forum: General
Topic: [Partially-Solved] PCem v12 and Sound Lag
Replies: 124
Views: 6758

Re: [Solved] PCem v12 and Sound Lag

Malik wrote:But generally, with all this change, I guess it's almost the real thing. :)

Not really. :)
by James-F
Tue 06 Jun, 2017 5:22 am
Forum: Development
Topic: [Bug] IDE HDD stuttering emulation
Replies: 27
Views: 1541

Re: [Bug] IDE HDD stuttering emulation

I don't, but Sarah clearly pointed the issue in her last post. Yes, because DOS is idling waiting for the IDE transfer to complete. It's not the disk IO that causes the slowdown, it's the CPU emulation of the DOS idle loop that causes the slowdown. I can only test and measure from the outside, but n...
by James-F
Tue 06 Jun, 2017 4:40 am
Forum: General
Topic: [Partially-Solved] PCem v12 and Sound Lag
Replies: 124
Views: 6758

Re: [Solved] PCem v12 and Sound Lag

I find the sound lag practically gone or at least on DOSBox level with 48000/50 set ibm.h
Obviously the default 48000/20 is x2.5 times as much lag.
by James-F
Tue 06 Jun, 2017 4:36 am
Forum: Development
Topic: [Bug] IDE HDD stuttering emulation
Replies: 27
Views: 1541

Re: [Bug] IDE HDD stuttering emulation

I've created an RAM disk using XMSDSK to remove the HDD emulation completely out of the way, and indeed playing games from this ram disk is now as smooth as DOSBox or my hardware Pentium PC. It is obviously your choice to completely ignore that issue SarahWalker, but I can't stress enough the import...
by James-F
Mon 05 Jun, 2017 5:59 pm
Forum: Development
Topic: [Bug] IDE HDD stuttering emulation
Replies: 27
Views: 1541

Re: [Bug] IDE HDD stuttering emulation

I've tested SCSI HDD and the stuttering is greatly reduced, but still ever so slightly noticeable.
Maybe there should be an option to completely remove the HDD transfer speed limitation, just like the Floppy "turbo timings" option?
by James-F
Mon 05 Jun, 2017 6:00 am
Forum: Development
Topic: [Patch] Add NukedOPL
Replies: 20
Views: 1464

Re: [Patch] Add NukedOPL

On my machine nukedopl only adds 2% to cou time wheb emulating p75, what 'speed hit' are you talking about?

I definitely agree that any performance hit is justifiable to have a bit perfect emulation of the OPL3.
by James-F
Sun 04 Jun, 2017 4:36 pm
Forum: General
Topic: [Partially-Solved] PCem v12 and Sound Lag
Replies: 124
Views: 6758

Re: [Solved] PCem v12 and Sound Lag

The direct3D option in PCem is great, but it painfully lacks x2 and x3 scaling in fullscreen to lessen the bilinear filtering blur to some degree. ;)
by James-F
Sun 04 Jun, 2017 4:29 pm
Forum: Development
Topic: [Bug] IDE HDD stuttering emulation
Replies: 27
Views: 1541

Re: [Bug] IDE HDD stuttering emulation

SarahWalker please try to fix that as it's a critical bug, these "mini-freezes" are too frequent especially with games.
It might appear as slow emulation, but it's not, the emulation is quite fast but with lots of frequent mini-freezes.
by James-F
Sun 04 Jun, 2017 2:36 pm
Forum: Development
Topic: [Bug] IDE HDD stuttering emulation
Replies: 27
Views: 1541

Re: [Bug] IDE HDD stuttering emulation

Moreover, if you actually watch the opening demo in DUke3D (hit escape in the main menu) you will see that the demo stutters only what the HDD light blinks.

The loading screen takes forever because there is much HDD activity during this.
So I assume there is stutter each single HDD access.
by James-F
Sun 04 Jun, 2017 1:51 pm
Forum: Development
Topic: [Bug] IDE HDD stuttering emulation
Replies: 27
Views: 1541

Re: [Bug] IDE HDD stuttering emulation

Can you do something about it Sarah?
The stuttering is really annoying, and prevent enjoying the emulator like a real machine or even DOSBox.
by James-F
Sun 04 Jun, 2017 1:29 pm
Forum: Development
Topic: [Bug] IDE HDD stuttering emulation
Replies: 27
Views: 1541

[Bug] IDE HDD stuttering emulation

I have noticed that games runs smoothly if the "CPU time" is below 100%, but there are stutters when the emulated HDD is accessed (not the host HDD). It happens even with old games that don't use a lot of CPU time, but they still stutter. That does not happen on a real PC even with a slow ...

Go to advanced search