Search found 40 matches

by shermanp
Sat 28 Apr, 2018 4:44 am
Forum: Development
Topic: [Request] Additional Sidewinder Device(s)
Replies: 3
Views: 267

Re: [Request] Additional Sidewinder Device(s)

I've been doing some more reading, and it looks like the Precision Pro is likely the easiest candidate to add. Unlike the 3D Pro, there's no pesky analog mode emulation to have to worry about (apparently it's quite the dance getting the stick in and out of digital mode). And unlike the Game Pad, the...
by shermanp
Thu 26 Apr, 2018 8:22 pm
Forum: Development
Topic: [Request] Additional Sidewinder Device(s)
Replies: 3
Views: 267

Re: [Request] Additional Sidewinder Device(s)

More joysticks in general would be interesting, though only a few resemble the common DS3/X360 pad. Closest I can think that does in the emulated period is the SV262 and that's not a sidewinder so it's O/T :(. Yeah, not really after a something that can emulate a modern gamepad. More just wanting t...
by shermanp
Thu 26 Apr, 2018 7:20 am
Forum: Development
Topic: [Request] Additional Sidewinder Device(s)
Replies: 3
Views: 267

[Request] Additional Sidewinder Device(s)

Hi all I was wondering if anybody would be interested in adding support for MS Sidewinder joysticks such as 3D Pro and/or Precision Pro. PCem already supports the SW gamepad, and from the limited reading I've done (skimmed the Linux driver and Patent US5628686 ) the protocol is the same or similar f...
by shermanp
Sat 24 Feb, 2018 8:23 pm
Forum: Development
Topic: Possible to get ALT+TAB trapped properly?
Replies: 5
Views: 635

Re: Possible to get ALT+TAB trapped properly?

My memory is a bit vague, but I think I remember discussions about input being handled by SDL2. Maybe try looking there?
by shermanp
Tue 13 Feb, 2018 11:32 pm
Forum: Development
Topic: [Feb 2018 ed.] PCem MSYS2 build guide (with wxWidgets)
Replies: 30
Views: 4038

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

Well, I still have the problem with SB16, perhaps am I using some wrong dll? corrupt MSYS2 environment? somewhat missing? :roll: Could anyone with a successful compilation under MSYS2 upload somewhere its pcem.exe + all dll files please? even the full src folder with the good Makefile will be usefu...
by shermanp
Tue 13 Feb, 2018 10:44 pm
Forum: Development
Topic: [Feb 2018 ed.] PCem MSYS2 build guide (with wxWidgets)
Replies: 30
Views: 4038

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 shermanp
Tue 13 Feb, 2018 9:15 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

This looks like it could be an MSYS2 problem. Or maybe the specific libraries used. I did a fresh recompile with MSYS2, and got the same problem. (Crashes with SB16, but doesn't with no sound card) I then dusted off my TDM-GCC-32 installation and compiled PCem. It starts without any issue at all, us...
by shermanp
Tue 13 Feb, 2018 8:52 pm
Forum: Development
Topic: [Feb 2018 ed.] PCem MSYS2 build guide (with wxWidgets)
Replies: 30
Views: 4038

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

It turns out that base-devel is what's required for autoreconf. I have updated the guide for this.

And it turns out when I did a fresh compilation from scratch, it broke PCem, like ruben_balea is having.
by shermanp
Tue 13 Feb, 2018 8:16 pm
Forum: Development
Topic: [Feb 2018 ed.] PCem MSYS2 build guide (with wxWidgets)
Replies: 30
Views: 4038

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

Did you try and run autoreconf? before compilation?

I have no issue with the emulator crashing with SB16/AWE32 enabled. Running 98SE guest.
by shermanp
Tue 13 Feb, 2018 4:48 am
Forum: Development
Topic: [Feb 2018 ed.] PCem MSYS2 build guide (with wxWidgets)
Replies: 30
Views: 4038

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

Hi all,

I've updated the guide for (hopefully) working steps to compile new revisions, especially those that have an updated Makefile.am
by shermanp
Tue 13 Feb, 2018 4:40 am
Forum: Merged patches
Topic: [Patch] MinGW Configure
Replies: 30
Views: 1792

Re: [Patch] MinGW Configure

SarahWalker wrote:
Mon 12 Feb, 2018 9:47 pm
Run autoreconf.
Thanks for that tip Sarah. I wasn't quite sure what needed to happen when the Makefile.am was altered. I shall update the MSYS2 instructions accordingly.
by shermanp
Mon 12 Feb, 2018 3:09 am
Forum: Development
Topic: [Feb 2018 ed.] PCem MSYS2 build guide (with wxWidgets)
Replies: 30
Views: 4038

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

Hi all,

The guide has been streamlined and updated now that autotools can be used to configure and make PCem in MSYS2.

Please let me know if you have any problems.
by shermanp
Mon 12 Feb, 2018 1:16 am
Forum: Merged patches
Topic: [Patch] MinGW Configure
Replies: 30
Views: 1792

Re: [Patch] MinGW Configure

Yeah, if you want speed, MSYS2 is not the way to go. It is however far more convenient to get started. All the libraries and headers required (except for pcap headers) are available from the MSYS2 repository. There is no need to try and figure out which files go where, especially with wxWidgets. Als...
by shermanp
Fri 09 Feb, 2018 8:57 pm
Forum: Merged patches
Topic: [Patch] MinGW Configure
Replies: 30
Views: 1792

Re: [Patch] MinGW Configure

The handmade Makefiles I was using with MSYS2 was almost as slow from my experience.

Also with mingw32-make, I believe its better to explicitly set -j <n>.

Although I just started a compilation and checked task manager and oh my, I see what you mean by Windows Defender!
by shermanp
Wed 07 Feb, 2018 6:45 am
Forum: Merged patches
Topic: [Patch] MinGW Configure
Replies: 30
Views: 1792

Re: [Patch] MinGW Configure

Seems to work fine for me on MSYS2 32 bit, and Manjaro linux (64-bit). I don't think it will work on legacy MSYS/MinGW, simply due to the fact it does not have WX available as a package. Therefore wx-config is not available in this environment. It could probably be made to work with some effort, but...
by shermanp
Tue 06 Feb, 2018 8:36 am
Forum: Merged patches
Topic: [Patch] MinGW Configure
Replies: 30
Views: 1792

Re: [Patch] MinGW Configure

Looking good so far! Everything works fine in Msys2 32bit. Configures and makes correctly (or at least appears to anyway!). I tried to compile in 64-bit mode, and it failed. Nothing wrong as such, I forgot to add the pcap headers for networking. Perhaps we should check for pcap during configure time...
by shermanp
Fri 02 Feb, 2018 2:01 am
Forum: Merged patches
Topic: [Patch] MinGW Configure
Replies: 30
Views: 1792

Re: [Patch] MinGW Configure

Redefining MAKE is useful if using an environment where 'make' is not installed, but 'mingw32-make' is. Otherwise running mingw32-make fails when the Makefile itself tries to call make. Setting it on the command line when running ./configure does appear to work, if you don't want to change configure...
by shermanp
Thu 01 Feb, 2018 10:57 pm
Forum: Merged patches
Topic: [Patch] MinGW Configure
Replies: 30
Views: 1792

Re: [Patch] MinGW Configure

Ok, done some poking around and it looks like the configured Makefile is missing the WX resource files, which explains the lack of icons and themes. Also, most of the literature I've seen states that in a MinGW environment, the WX libraries should be linked before the other libraries. I'm going to s...
by shermanp
Thu 01 Feb, 2018 2:27 am
Forum: Merged patches
Topic: [Patch] MinGW Configure
Replies: 30
Views: 1792

Re: [Patch] MinGW Configure

Yay! Getting closer! First, I got it to compile using mingw32-make. There is a bit of an issue with the WX stuff. The main config window does not appear to use styling, so the appearance is flat and ugly. Also there is no icon embedded in the executable. Both of these are non-issues with the predefi...
by shermanp
Wed 31 Jan, 2018 9:17 am
Forum: Merged patches
Topic: [Patch] MinGW Configure
Replies: 30
Views: 1792

Re: [Patch] MinGW Configure

Ok, I now understand what has happened. MSYS2 has two (or three if one is being pedantic...) distinct build environments. It has the MinGW-w64 environments (32 and 64 bit), and it has the MSYS2 build environment. The MinGW-w64 build environment has its own distinct version of make (mingw32-make), gc...
by shermanp
Wed 31 Jan, 2018 5:51 am
Forum: Merged patches
Topic: [Patch] MinGW Configure
Replies: 30
Views: 1792

Re: [Patch] MinGW Configure

I've tried this in my MSYS2 environment, and if kind of works, but definitely still has issues. I cloned a fresh pcem build in a separate directory to separate it from my main build, and applied the supplied patch. './configure' works fine and creates makefiles. A couple of problems with the makefil...
by shermanp
Wed 31 Jan, 2018 4:01 am
Forum: General
Topic: 430VX and Win98/ME now crashes PCem
Replies: 25
Views: 1841

Re: 430VX and Win98/ME now crashes PCem

Just tried compiling the latest commit and booted Win 98SE with no crashes. I'm compiling in an MSYS2 environment. Config as follows: midi = 1 gameblaster = 0 gus = 0 ssi2001 = 0 voodoo = 1 model = 430vx cpu_manufacturer = 0 cpu = 10 cpu_use_dynarec = 1 cpu_waitstates = 0 gfxcard = mach64gx video_sp...
by shermanp
Tue 23 Jan, 2018 9:53 pm
Forum: Development
Topic: Wrong io.h
Replies: 4
Views: 428

Re: Wrong io.h

Yeah, it looks like the system 'io.h' and pcem 'io.h' are completely different headers.

My only thought is that maybe the current source directory has been added to the standard header search path, and that is being searched before the system library path?
by shermanp
Sun 21 Jan, 2018 8:54 pm
Forum: Development
Topic: [Feb 2018 ed.] PCem MSYS2 build guide (with wxWidgets)
Replies: 30
Views: 4038

Re: PCem MSYS2 build guide (with wxWidgets)

Hi all,

The Makefiles have been updated to support the Zip drive additions that Sarah has added.
by shermanp
Thu 11 Jan, 2018 9:38 pm
Forum: Development
Topic: [Feb 2018 ed.] PCem MSYS2 build guide (with wxWidgets)
Replies: 30
Views: 4038

Re: PCem MSYS2 build guide (with wxWidgets)

Hi all,

The OP has been updated with a revised guide, and makefiles required for the T1000 commit.
by shermanp
Thu 11 Jan, 2018 8:51 pm
Forum: Development
Topic: compiling error
Replies: 9
Views: 930

Re: compiling error

Oops, my bad. I forgot to check whether the latest commit added new files to compile and update the msys2 makefile accordingly.

I'll do this and update the msys2 thread.
by shermanp
Sun 17 Dec, 2017 10:52 am
Forum: General
Topic: v13.1 released!
Replies: 25
Views: 4095

Re: v13.1 released!

Hi Sarah, thanks for the release. I must have got lucky and downloaded the fixed SDL version just after you updated it :p

Can confirm that sound is behaving. Changing the buffer length on the fly works with no issues. Output gain also works. Thank you very much for this update!
by shermanp
Thu 14 Dec, 2017 9:37 pm
Forum: General
Topic: v13 released!
Replies: 25
Views: 2696

Re: v13 released!

FYI - Msys2's comes from OpenAL Soft as linked above (and is outdated in a bundle) I should also mention OpenAL Soft doesn't support PCem's recent output volume feature. Crap, was wondering why the output gain didn't have any effect. Switched back to supplied OpenAL, which does work. Now that PCem ...
by shermanp
Mon 11 Dec, 2017 10:57 pm
Forum: General
Topic: v13 released!
Replies: 25
Views: 2696

Re: v13 released!

The 50ms sound buffer option seems to be broken on the Windows release build of V13 (at least for my host pc). The 100ms buffer length works, but is pretty choppy. The culprit appears to be the use of the (comparatively) ancient OpenAL32 dll from Creative. I would suggest switching the release build...
by shermanp
Fri 08 Dec, 2017 10:30 am
Forum: Development
Topic: DMA Compile Issue commit 621d85d
Replies: 3
Views: 351

Re: DMA Compile Issue commit 621d85d

You aren't doing anything wrong.

The DMA struct is defined in "ibm.h", and does not include the "stat_rq" member. It's either a typo, or Sarah forgot to update the DMA struct. I'm sure she'll fix it either way.