Search found 118 matches

by JosepMa
Sun 03 Sep, 2017 9:52 am
Forum: Development
Topic: Windows 10 problem
Replies: 28
Views: 2148

Re: Windows 10 problem

Re: floppy.
Some revisions ago, I had to enter into the bios setup and enable the option "Onboard FDD controller" under integrated peripherals. Else, it would show a warning on boot up.
To me, the pcem-emulator repository sources are working with that option.
by JosepMa
Sat 02 Sep, 2017 4:19 pm
Forum: Development
Topic: [BUG] System shock crash on launch on specific cases
Replies: 8
Views: 1396

Re: [BUG] System shock crash on launch on specific cases

Another update: Running it from inside windows 98 works. And also works when running in MS-DOS mode ( F8 on boot up ). So I believe that this is more like some incompatibility coming from somewhere, or a patched game. Sorry for the noise. It might still be of help to others if they end finding that ...
by JosepMa
Sat 02 Sep, 2017 3:42 pm
Forum: Development
Topic: [BUG] System shock crash on launch on specific cases
Replies: 8
Views: 1396

Re: [BUG] System shock crash on launch on specific cases

Mmm.. curious...

If I use the FDOS driver, with or without the cdrcache.sys, it works.

If I load the GSCDROM with the cdrcache (either with mscdex or shsucdx) it works, but if not (either with mscdex or shsucdx) it crashes.
by JosepMa
Sat 02 Sep, 2017 3:29 pm
Forum: Development
Topic: [BUG] System shock crash on launch on specific cases
Replies: 8
Views: 1396

Re: [BUG] System shock crash on launch on specific cases

When loading, they say " E-IDE/ATAPI CD-ROM device driver ver 1.25" "Copyright LG Electronics Inc 1997. All rights reserved"
Filename is GSCDROM.SYS, loaded with Microsoft's MSCDEX.

I'll try now to load it with FDOS's SHSUCDX to see if it is the loader or the driver.
by JosepMa
Sat 02 Sep, 2017 3:22 pm
Forum: General
Topic: slowdowns in XT and IBM AT 286 emulation
Replies: 8
Views: 1425

Re: slowdowns in XT and IBM AT 286 emulation

Just if it serves as any guideline: I have a friend that had Prince of persia on a 286 at 12MHz (12 IIRC) with a CGA display (Don't know the make/model. It was a PC integrated into a keyboard, including a 10MB HDD and a FDD ). The game was quite playable, but I don't remember much more than that. To...
by JosepMa
Sat 02 Sep, 2017 2:33 pm
Forum: Development
Topic: [BUG] System shock crash on launch on specific cases
Replies: 8
Views: 1396

[BUG] System shock crash on launch on specific cases

Hi. While I was debugging the problem with AWE32 chorus that you reported with System Shock, I had some problems to make it run. I got a copy of the cd version from internet. Depending on the drivers that i load ( config.sys, autoexec.bat ), the emulator crashes at game startup due to a "fatal()" ca...
by JosepMa
Sat 02 Sep, 2017 1:11 pm
Forum: Development
Topic: [PATCH] AWE32 improvements
Replies: 17
Views: 2007

Re: [PATCH] AWE32 improvements

Hi. I've corrected an error in the chorus engine and also forced sane max values, even though I don't know the exact reason why you needed to ensure that the value was 0 or above for System Shoch (I logged the values received and they were adequate). Didn't hear anything strange in E1M2, but the cho...
by JosepMa
Thu 31 Aug, 2017 8:58 pm
Forum: Development
Topic: Patches for wxWidgets/SDL2
Replies: 22
Views: 3133

Re: Patches for wxWidgets/SDL2

There's an image missing in this commit:
https://bitbucket.org/JosepMaJaz/pcem/c ... 3af80a963f
wxrc -c pc.xrc -o wx-resources.cpp
22:55:34: Error: can't open file '.\icons/32x32/computer_go.png' (error 2: el sistema no puede encontrar el archivo especificado.)
by JosepMa
Wed 30 Aug, 2017 9:21 pm
Forum: Development
Topic: [PATCH] better Soundblaster bass/treble controls
Replies: 1
Views: 364

[PATCH] better Soundblaster bass/treble controls

Hello. While I continue to work on the sb mixer/recording (which is done for midi, aside of that dma16 bug, and now I was trying to record CD audio, if it doesn't add much complexity), I decided to put out this other smaller patch that simply fixes the sound of the bass/treble controls. Now this sou...
by JosepMa
Sun 27 Aug, 2017 2:35 pm
Forum: Development
Topic: [WIP] Improving SB Mixer emulation
Replies: 8
Views: 999

Re: [WIP] Improving SB Mixer emulation

Update: I detected one of the problems. The bug that required one more sample is in dma.c line 666. There's an extra "+1". I still have the random extra sample each 2756 samples. Update 2: The extra samples is present also when recording in 8bits. I wonder if maybe it's a bug of the driver or someth...
by JosepMa
Sun 27 Aug, 2017 11:24 am
Forum: Development
Topic: [WIP] Improving SB Mixer emulation
Replies: 8
Views: 999

Re: [WIP] Improving SB Mixer emulation

Hello. I have a working recording code, which is capable of recording audio from midi (emu and opl3) with soundblaster 16 and awe32 (apparently, the others only record from ADC). Different samplerates can be used, but I need to add a proper resampler or filter, since recording the EMU8K at 11Khz giv...
by JosepMa
Fri 25 Aug, 2017 5:03 pm
Forum: Development
Topic: Windows 10 problem
Replies: 28
Views: 2148

Re: Windows 10 problem

There isn't any big problems related to compatibility with Windows 10. Even Pcem v11 works with it.

Paste your pcem.cfg file, to see if there is something unusual in the configuration.
by JosepMa
Wed 23 Aug, 2017 9:38 pm
Forum: Development
Topic: [PATCH] AWE32 improvements
Replies: 17
Views: 2007

Re: [PATCH] AWE32 improvements

sa1988 : If you just applied the patch and didn't recompile everything, you might have a broken compilation.. Try to do a make clean.
by JosepMa
Wed 23 Aug, 2017 7:10 pm
Forum: Development
Topic: [WIP] Improving SB Mixer emulation
Replies: 8
Views: 999

[WIP] Improving SB Mixer emulation

Hello. I started working on improving the Soundblaster Mixer emulation. The current implementation works adequatedly, but my changes try to emulate each of the different chips on the different models, and implement all of its features according to the SoundBlasterProgramming.pdf . As such, I've impl...
by JosepMa
Tue 22 Aug, 2017 9:00 pm
Forum: Development
Topic: [PATCH] AWE32 improvements
Replies: 17
Views: 2007

Re: [PATCH] AWE32 improvements

Ok, here's the updated patch.
Indeed, it was the "HWCFG3" register, which now I obey.

I added a patch for DOOM, which simply does no configuration of the card at all. (but it does read these registers).
by JosepMa
Tue 22 Aug, 2017 6:35 pm
Forum: Development
Topic: [PATCH] AWE32 improvements
Replies: 17
Views: 2007

Re: [PATCH] AWE32 improvements

I don't have that game, so I got the shareware 1.9 from here . ( played rise of the triad/ duke nukem 3d at that time :P ) I can confirm that initially, it doesn't work. I say initially, because it seems that it is related to some volume or a mute setting that I implemented. In fact, I confirmed it ...
by JosepMa
Sun 20 Aug, 2017 9:59 am
Forum: Development
Topic: Development screenshots
Replies: 44
Views: 18522

Re: Development screenshots

I am attaching some screenshots of the SLI in action. Image quality of the screenshots is reduced due to jpeg artifacts due to attachment size limits. The game is GPolice being run at 1024x768 without issues. On the task manager, the different threads can be seen. Note that since PCEm does not attac...
by JosepMa
Fri 18 Aug, 2017 9:52 pm
Forum: Development
Topic: [PATCH] AWE32 improvements
Replies: 17
Views: 2007

Re: [PATCH] AWE32 improvements

Hello.

Here's an updated patch file with some fixes, code formatting and overall ok performance (Reverb emulation is far from perfect)
emu8k-josepma.patch
reuploaded (there was a volume log in the older one)
(173.08 KiB) Downloaded 28 times
by JosepMa
Wed 16 Aug, 2017 6:41 pm
Forum: Development
Topic: 3DFX emulation
Replies: 191
Views: 56631

Re: 3DFX emulation

Compiling with gcc 7 and -Wall gives this error: vid_voodoo.c:7393:17: error: specified bound 512 equals the size of the destination [-Werror=stringop-overflow=] strncat(temps, temps2, 512); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ vid_voodoo.c:7399:17: error: specified bound 512 equals the size of the destinati...
by JosepMa
Sun 13 Aug, 2017 9:12 pm
Forum: Development
Topic: [PATCH] MovQ MMX Realmode bugfix
Replies: 1
Views: 380

[PATCH] MovQ MMX Realmode bugfix

Hello.

I attach a patch that fixes an error in the MOVQ MMX instruction when used in 16bit real mode (i guess that's what the "_a16" means).

This bug is the one that caused bad audio with Impulse tracker and the MMX drivers.
bugfix-movq-realmode.patch
bufix Movq mmx
(597 Bytes) Downloaded 33 times
by JosepMa
Sat 12 Aug, 2017 9:51 am
Forum: Development
Topic: [Linux] GUI discussion
Replies: 218
Views: 22367

Re: [Linux] GUI discussion

I thought I'd share the modified Makefile.mingw-wx-sdl2 that I use in msys2 to build this ( works in Pcem's main repo and bit's one. The only change required is to change __MINGW64__ for __MINGW32__ in cdrom-ioctl.c if you build for 32bits )
by JosepMa
Sat 12 Aug, 2017 9:35 am
Forum: Development
Topic: Networking discussion
Replies: 228
Views: 57040

Re: Networking discussion

While I don't know how the networking code has been implemented, the difference between the slirp and pcap concepts lies on where the communication happens. The concept of slirp does not require a system driver, because the application is acting on behalf of the emulated system. In some sense, it wo...
by JosepMa
Wed 09 Aug, 2017 9:27 pm
Forum: Development
Topic: [PATCH] AWE32 improvements
Replies: 17
Views: 2007

Re: [PATCH] AWE32 improvements

I found an error in the reverb ( wasn't setting correctly the feedback of some of the reflections ) and now I need to make changes and retweak it, since now it sounds excessive.
Will try to tweak it over the week and resend the patch.
by JosepMa
Wed 09 Aug, 2017 7:16 pm
Forum: Development
Topic: [PATCH] AWE32 improvements
Replies: 17
Views: 2007

Re: [PATCH] AWE32 improvements

Oh... I suppose you mean the comments, since on most of them I've used // instead of /**/, the other rules are followed, or almost followed.
by JosepMa
Tue 08 Aug, 2017 2:44 pm
Forum: Development
Topic: [PATCH] AWE32 improvements
Replies: 17
Views: 2007

Re: [PATCH] AWE32 improvements

leilei: Currently, the reverb is implemented with 6 early reflections and one late tail, which currently isn't much long with any setting. I assume you're using a preset like Hall 1 or Hall 2 where the early reflections are minimized and most of the sound comes from the tail. Said that, possibly i a...
by JosepMa
Mon 07 Aug, 2017 9:07 pm
Forum: Development
Topic: [PATCH] AWE32 improvements
Replies: 17
Views: 2007

[PATCH] AWE32 improvements

Hello. This is the patch with the changes I made to improve the compatibility and features of the AWE32 emulation that I started in this thread . This one contains chorus and reverb, although the emulation is not much good. The chorus seems a bit detuned in some configurations, and the reverb isn't ...
by JosepMa
Wed 02 Aug, 2017 9:53 pm
Forum: Development
Topic: [Bug] IDE HDD stuttering emulation
Replies: 27
Views: 2519

Re: [Bug] IDE HDD stuttering emulation

I also don't think that the Host's I/O plays any role in this problem (Maybe in the Hosts' CDROM case but not on HDD image). The problem is on the emulated side. I don't know if you have experienced it, but audio stuttering on Windows 98 startup sound is the norm here, and that's with an i7 6700 @3....
by JosepMa
Wed 02 Aug, 2017 7:27 pm
Forum: Development
Topic: [Bug] IDE HDD stuttering emulation
Replies: 27
Views: 2519

Re: [Bug] IDE HDD stuttering emulation

The thing that I don't understand is why does disk I/O affect the emulated speed. Concretely, the emulated CPU is halted while I/O operations are in place. Once, installing software from a Host's CDROM drive, 10 minutes passed on the Host side while only 2 minutes passed on the emulated side. If it ...
by JosepMa
Sun 30 Jul, 2017 12:38 pm
Forum: Development
Topic: [Patch] Fixed misleading indentation above GCC 6.x.x
Replies: 9
Views: 948

Re: [Patch] Fixed misleading indentation above GCC 6.x.x

No. The Makefile that autoconf generates for the sources is sized 350KB. Compared to 4KB of the manually created one. (ok, generally these files have many unnecessary things but still..) But the important part is that a subdir ".deps" is generated with some files with a .To extension that have the d...
by JosepMa
Sun 30 Jul, 2017 9:15 am
Forum: Development
Topic: [Patch] Fixed misleading indentation above GCC 6.x.x
Replies: 9
Views: 948

Re: [Patch] Fixed misleading indentation above GCC 6.x.x

This is a GCC/GNU Make problem - it does not keep a list of which files use which headers. OpenWatcom, for example, does, so whenever I change a header, it automatically recompiles every single file that includes it. I think so does Visual Studio. There is a way around it, though, by listing which ...