Search found 76 matches

by James-F
Fri 09 Aug, 2019 1:30 pm
Forum: General
Topic: DOS running at 65Hz instead of 70Hz, audio issues.
Replies: 11
Views: 2052

Re: DOS running at 65Hz instead of 70Hz, audio issues.

jemmex.exe works great, thanks for that.
No MIPS overload either.

PS. himem.sys has to be removed (rem) too for jemm to work.
by James-F
Thu 08 Aug, 2019 5:12 pm
Forum: General
Topic: DOS running at 65Hz instead of 70Hz, audio issues.
Replies: 11
Views: 2052

Re: DOS running at 65Hz instead of 70Hz, audio issues.

Yes, 430xX motherboards in PCem.
You don't really have to use EMM386 or UMBPCI.SYS, but note that every DOS driver you load (Mouse, CD-ROM, etc..) will take conventional memory and most DOS games need at leask 500KB.
by James-F
Wed 07 Aug, 2019 2:39 pm
Forum: General
Topic: DOS running at 65Hz instead of 70Hz, audio issues.
Replies: 11
Views: 2052

Re: DOS running at 65Hz instead of 70Hz, audio issues.

Wow, that was quick!
I'm sure many people using EMM386 are oblivious to that it drastically slows down emulation.
Probably should be documented somewhere until the next release of PCem.
by James-F
Wed 07 Aug, 2019 8:38 am
Forum: Development
Topic: [Bug] IDE HDD stuttering emulation
Replies: 29
Views: 7089

Re: [Bug] IDE HDD stuttering emulation

Hi. It's been a long time since I've posted or tried PCem, and now I'm running v15. All is superb except this issue. It seems like the IDE stuttering issue is still present and it's a really big annoyance for gaming with PCem,, all games have stuttering every time the IDE HDD is accessed. I've proba...
by James-F
Wed 07 Aug, 2019 7:50 am
Forum: General
Topic: DOS running at 65Hz instead of 70Hz, audio issues.
Replies: 11
Views: 2052

Re: DOS running at 65Hz instead of 70Hz, audio issues.

Sorry for double posting, I found the problem. In config.sys REM-ing the EMM386.EXE line fixes the MIPS overload in DOS, and no more audio issues in games. Apparently EMM386.EXE produces a lot of instructions in PCem. EMM386 is essential to load drivers into high memory and free conventional memory ...
by James-F
Wed 07 Aug, 2019 6:52 am
Forum: General
Topic: DOS running at 65Hz instead of 70Hz, audio issues.
Replies: 11
Views: 2052

Re: DOS running at 65Hz instead of 70Hz, audio issues.

Emulated: Machine: ASUS P55T2P4, Pentium 133, 16MB. GPU: S3 ViRGE/DX Fast VLB/PCI Sound: SBPro2. Host: i7 3770k at 3.9GHz all cores. GTX660 I don't think it's a host speed issue, since I've mentioned that much heavier games like Doom or Duke3D run at 70Hz perfectly fine with emulation speed 100% loc...
by James-F
Wed 07 Aug, 2019 5:59 am
Forum: General
Topic: DOS running at 65Hz instead of 70Hz, audio issues.
Replies: 11
Views: 2052

DOS running at 65Hz instead of 70Hz, audio issues.

Something confuses PCem to run DOS in 65Hz instead locked 70Hz, it affects some Mode 13 games and produce choppy audio. Prince of Persia 2 for example will have stuttering audio in the intro because PCem runs it at 65Hz instead of standard 70Hz, but only the intro... very strange. I don't think It's...
by James-F
Thu 03 Aug, 2017 4:14 pm
Forum: Development
Topic: [Bug] IDE HDD stuttering emulation
Replies: 29
Views: 7089

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: 29
Views: 7089

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: 1083

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: 7193

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 1562 times
by James-F
Wed 21 Jun, 2017 4:28 am
Forum: General
Topic: Sound Blaster Pro & 16
Replies: 39
Views: 8761

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: 29
Views: 7089

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: 24315

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: 24315

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: 24315

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: 4593

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: 4593

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 on O...
by James-F
Wed 07 Jun, 2017 5:29 pm
Forum: Development
Topic: [Patch] Add NukedOPL
Replies: 20
Views: 4593

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: 24315

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: 4593

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: 24315

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: 24315

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: 4593

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 minimizing the wind...
by James-F
Tue 06 Jun, 2017 5:50 pm
Forum: Development
Topic: [Bug] IDE HDD stuttering emulation
Replies: 29
Views: 7089

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: 24315

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 adjust it fro...
by James-F
Tue 06 Jun, 2017 8:57 am
Forum: General
Topic: [Partially-Solved] PCem v12 and Sound Lag
Replies: 124
Views: 24315

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: 29
Views: 7089

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: 24315

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: 29
Views: 7089

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...