Search found 113 matches

by JosepMa
Tue 13 Feb, 2018 11:34 pm
Forum: General
Topic: 430/VX with AWE32 crashes emulator on start
Replies: 11
Views: 775

Re: 430/VX with AWE32 crashes emulator on start

As a temporary patch for the crash, you can use this patch.

Currently the startup process is full of blips until the soundcard is correctly initialized by the drivers or an application, so more works needs to be done for a full fix.
by JosepMa
Tue 13 Feb, 2018 9:53 pm
Forum: Development
Topic: [Feb 2018 ed.] PCem MSYS2 build guide (with wxWidgets)
Replies: 30
Views: 4039

Re: [Feb 2018 ed.] PCem MSYS2 build guide (with wxWidgets)

Btw, Windows 10 + Windows Defender. I got speeds similar to when compiling with the premade Makefile by excluding the msys folder and the sources folder for Windows Defender scan (I have the sources outside of msys). The setting is found by opening Windows Defender, going to the second sidebar optio...
by JosepMa
Tue 13 Feb, 2018 9:44 pm
Forum: General
Topic: 430/VX with AWE32 crashes emulator on start
Replies: 11
Views: 775

Re: 430/VX with AWE32 crashes emulator on start

Will try now with a debug build, but so far, I've got this. Thread 33 received signal SIGSEGV, Segmentation fault. [Switching to Thread 12632.0x2948] 0x005bb0ea in sb_get_buffer_emu8k () (gdb) bt #0 0x005bb0ea in sb_get_buffer_emu8k () #1 0x0057bce4 in sound_poll () #2 0x005c4ebf in timer_process ()...
by JosepMa
Tue 13 Feb, 2018 9:35 pm
Forum: Development
Topic: [Feb 2018 ed.] PCem MSYS2 build guide (with wxWidgets)
Replies: 30
Views: 4039

Re: [Feb 2018 ed.] PCem MSYS2 build guide (with wxWidgets)

These instructions are in an incorrect order: $ ./configure --enable-networking --enable-release-build $ autoreconf $ mingw32-make -j autoreconf (preferably with the -i parameter), comes before the ./configure line, as basically autoreconf will regenerate the configure script. And this is incorrect ...
by JosepMa
Tue 13 Feb, 2018 10:02 am
Forum: General
Topic: Sound Blaster Pro 2 suddenly silent
Replies: 7
Views: 580

Re: Sound Blaster Pro 2 suddenly silent

it is strange, indeed, but also because it's not what happens here: config.sys: c:\sbpro\drv\ctsbpro.sys /unit=0 /blaster=a:220 i:5 d:1 c:\sbpro\drv\ctmmsys.sys autoexec.bat: (this line is supposed to restore the mixer settings previously saved with the sbpset DOS mixer application) c:\sbpro\sbpset ...
by JosepMa
Mon 12 Feb, 2018 5:02 pm
Forum: General
Topic: Sound Blaster Pro 2 suddenly silent
Replies: 7
Views: 580

Re: Sound Blaster Pro 2 suddenly silent

I tested with V13.1 release, and with the current development version and I get sound. I even created a new machine (and hard disk) without the drivers installed, and there, test-sbp works fine. (My previous one has another version of the soundblaster pro drivers that didn't have test-sbp, but which...
by JosepMa
Sun 11 Feb, 2018 7:05 pm
Forum: General
Topic: Sound Blaster Pro 2 suddenly silent
Replies: 7
Views: 580

Re: Sound Blaster Pro 2 suddenly silent

It's strange...
I have to investigate a bug where configuring some applications to use a soundblaster pro, and having a soundblaster 16 or AWE32 on the machine setup doesn't produce sound, but your case worked here on the applications that I tried.

Can you tell the names of those that fail?
by JosepMa
Thu 08 Feb, 2018 9:00 pm
Forum: Merged patches
Topic: [Patch] MinGW Configure
Replies: 30
Views: 1793

Re: [Patch] MinGW Configure

I tested the patch here and worked as expected. The only downside is that it is quite slower than building with the Makefile file. The reason is because the generated Makefile continuously forks "sh" and other commands (standard behaviour), which under msys2 (Windows) is quite slow. I even tried bui...
by JosepMa
Tue 06 Feb, 2018 8:08 pm
Forum: General
Topic: How music is emulated in PCem (MIDI)
Replies: 11
Views: 1058

Re: How music is emulated in PCem (MIDI)

Ok, after serveral executions, it seems that it is more a problem of incorrect initialization, and sometimes it just plays incorrectly.
There was a similar issues with Doom too, that was solved during development.

I will try to check what happens in the following days
by JosepMa
Tue 06 Feb, 2018 7:14 pm
Forum: General
Topic: How music is emulated in PCem (MIDI)
Replies: 11
Views: 1058

Re: How music is emulated in PCem (MIDI)

After trying it, I believe the problem is that you run Duke Nukem from Windows. I could reproduce your bad sound running it from inside Windows. Boot up to DOS and it will work fine. The reason why this could matter is that the EMU8000 (the music chip in the AWE32) needs to be controlled directly by...
by JosepMa
Mon 05 Feb, 2018 7:28 pm
Forum: General
Topic: 430VX and Win98/ME now crashes PCem
Replies: 25
Views: 1843

Re: 430VX and Win98/ME now crashes PCem

leilei wrote:
Sun 04 Feb, 2018 8:03 pm

Code: Select all

onesec
New CD command 12 446892401
New CD command 5A 446965045
New CD command 5A 446985185
On a side note, I don't know if you have some reference for the ATAPI commands.
I could find this wiki on internet:
https://wiki.osdev.org/ATAPI

Code: Select all

INQUIRY 	0x12 
MODE SENSE (10) 	0x5A 
by JosepMa
Mon 05 Feb, 2018 7:21 pm
Forum: General
Topic: How music is emulated in PCem (MIDI)
Replies: 11
Views: 1058

Re: How music is emulated in PCem (MIDI)

First, as Sarah told you, ensure that you have configured Duke nukem 3D to use the AWE32, instead of the FM/OPL audio or any other setting. Then, be aware that the AWE32 emulation is not perfect. I have been improving it for the release v13 specially in regards to its envelopes and LFOs, as well as ...
by JosepMa
Thu 18 Jan, 2018 7:34 pm
Forum: General
Topic: [Linux] [PCem v13.1] Compile errors
Replies: 9
Views: 851

Re: [Linux] [PCem v13.1] Compile errors

@TheMechanist: try running autoreconf -i first if ./configure isn't enough
by JosepMa
Wed 13 Dec, 2017 10:29 pm
Forum: General
Topic: v13 released!
Replies: 25
Views: 2696

Re: v13 released!

As for the OpenAL32.dll, It also performs badly here. A direct replacement is removing it and placing msys2 libopenal-1.dll in PCem's dir (not even needed to rename it).
by JosepMa
Tue 12 Dec, 2017 7:46 pm
Forum: General
Topic: PCem 13 first impressions
Replies: 15
Views: 1330

Re: PCem 13 first impressions

omarsis81: I suggest you to try the openGL (either the normal, or the GL3) video modes instead of the older ones.
Then, use the scale filtering, output-stretch mode and maybe even the output scale options from the Video menu.
by JosepMa
Sat 18 Nov, 2017 10:29 am
Forum: Development
Topic: Floppy does not work
Replies: 6
Views: 568

Re: Floppy does not work

I don't know if it is really a bug, but in order to make it work now, you need to go to "integrated peripherals" section of the BIOS, and there, Enable "Onboard FDD controller".
by JosepMa
Sat 11 Nov, 2017 10:42 pm
Forum: General
Topic: NT4 could not logon after SP6a installed
Replies: 20
Views: 3927

Re: NT4 could not logon after SP6a installed

I can only confirm that there seems to be some type of problem. In my case I have an original Windows NT 4 Workstation (bought in 1997 which came with Windows 95 too. I never used any of them, because they sent me an Italian version instead of Spanish). I tried installing it in PCem and works, but a...
by JosepMa
Sat 04 Nov, 2017 12:35 pm
Forum: Development
Topic: [Linux] GUI discussion
Replies: 218
Views: 20202

Re: [Linux] GUI discussion

@szadycbr : There were some changes to the floppy controller. I also experienced problems running it under a windows host.
My solution consisted in going into the guest bios , there into integrated peripherals, and there enable onboard FDD controller.

Give it a try.
by JosepMa
Thu 02 Nov, 2017 7:54 pm
Forum: General
Topic: Latest build - Cannot setup HDD/FDD/CDROM
Replies: 5
Views: 637

Re: Latest build - Cannot setup HDD/FDD/CDROM

Recently, PCem has an option to configure the IDE controller. It is required to be setup (currently it doesn't have a default setting) and you need to do so from the new wxwidgets interface (the older interface is going to be removed for v13). Alternatively, add this line to the config file: hdd_con...
by JosepMa
Sun 24 Sep, 2017 3:03 pm
Forum: General
Topic: questions about pcem
Replies: 33
Views: 2211

Re: questions about pcem

@bighitti90 : Most probably you still have the cd Image loaded into pcem. See the menu "CD-ROM" and set it to empty. Or if you used a floppy to load the CD, then you might also need to remove the floppy. See Disk: eject Drive A
by JosepMa
Mon 11 Sep, 2017 9:33 am
Forum: General
Topic: Aces of the deep (AOD) DOS version not working
Replies: 4
Views: 512

Re: Aces of the deep (AOD) DOS version not working

"Assert" is a coding condition that the developer explicitly sets in order to ensure that something is not going to happen, and if it happens, stop the execution. Since the intention is to correct a condition that should not have happened, what you see is the line of code where the assert was writte...
by JosepMa
Sun 10 Sep, 2017 9:25 am
Forum: Development
Topic: [PATCH] Improving SB Mixer emulation
Replies: 4
Views: 704

Re: [PATCH] Improving SB Mixer emulation

leilei: Seems Sarah fixed it on head (i.e. the patch has an error). I forgot to remove the right shift that was used to compensate the volume multiplication.
She also fixed a couple more bugs. I'm sorry for that.
by JosepMa
Wed 06 Sep, 2017 6:22 pm
Forum: Development
Topic: [PATCH] AWE32 improvements
Replies: 17
Views: 1807

Re: [PATCH] AWE32 improvements

I confirm that the weird notes at e1m2 are still there, so it seems i'll need to debug it.
by JosepMa
Tue 05 Sep, 2017 9:49 pm
Forum: Development
Topic: [PATCH] Improving SB Mixer emulation
Replies: 4
Views: 704

[PATCH] Improving SB Mixer emulation

This is a follow up from the previous post . Here is all that is included in the patch: - More configuration options for the soundcards ( emu address, old SBs address, configuration of mixer specific address for SB 2.0 CD). I've also made it possible to configure IRQ and DMA for SB16, although I hav...
by JosepMa
Tue 05 Sep, 2017 9:29 pm
Forum: Development
Topic: [PATCH] AWE32 improvements
Replies: 17
Views: 1807

Re: [PATCH] AWE32 improvements

Mmm... Yes, I think i've heard a few cases (not only in doom) of that problem, but after the chorus fix, it seemed to work well.
I will keep an eye on it to see if I get to reproduce it, since it seems a bit random.
by JosepMa
Sun 03 Sep, 2017 9:52 am
Forum: Development
Topic: Windows 10 problem
Replies: 28
Views: 1882

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

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

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

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

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