Search found 121 matches

by shermanp
Fri 24 May, 2019 11:10 am
Forum: Patches
Topic: [Patch] New VHD support... now with added dynamics
Replies: 17
Views: 5447

Re: [Patch] New VHD support... now with added dynamics

altheos wrote:
Fri 24 May, 2019 10:14 am
Hi,

I can't apply your patch against a stock v14 : do you have a compatible version of your patch ?

Regards.
Sorry, not at the moment. I need to rebase the patch on V15, and I'm not really in a PCem frame of mind at the moment, so it could be a wee while yet.
by shermanp
Wed 24 Apr, 2019 10:22 pm
Forum: Development
Topic: v15 & new recompiler update
Replies: 86
Views: 20045

Re: v15 & new recompiler update

BTW, compiled for me fine on MinGW-w64 with GCC 7.2

It looks like Sarah added some makefile fixes not too long ago at commit 51e4eb5, is that the problem?
by shermanp
Wed 24 Apr, 2019 10:19 pm
Forum: Development
Topic: v15 & new recompiler update
Replies: 86
Views: 20045

Re: v15 & new recompiler update

The makefile does have an absolute path to a mingw install for Wx. other than that, it compiles fine (for gcc 4.7.2 win32 anyway) It always has. Thankfully you can override make variables on the command line, so I've got a batch file that points to the location of my WX install. I started to try an...
by shermanp
Mon 22 Apr, 2019 5:06 am
Forum: Patches
Topic: [Patch] New VHD support... now with added dynamics
Replies: 17
Views: 5447

Re: [Patch] New VHD support... now with added dynamics

This patch would be awesome for v15, but it's not ready yet, right? I'm working on it! Hope to have it ready by the feature freeze, but no guarantees. Nope, wasn't able to get it working in time I'm afraid. Currently scratching my head over why Windows (or Hyper-V) doesn't like my differencing VHD....
by shermanp
Sun 21 Apr, 2019 11:56 pm
Forum: Patches
Topic: [Patch] New VHD support... now with added dynamics
Replies: 17
Views: 5447

Re: [Patch] New VHD support... now with added dynamics

This patch would be awesome for v15, but it's not ready yet, right? I'm working on it! Hope to have it ready by the feature freeze, but no guarantees. Nope, wasn't able to get it working in time I'm afraid. Currently scratching my head over why Windows (or Hyper-V) doesn't like my differencing VHD....
by shermanp
Thu 18 Apr, 2019 9:11 pm
Forum: Patches
Topic: [Patch] New VHD support... now with added dynamics
Replies: 17
Views: 5447

Re: [Patch] New VHD support... now with added dynamics

seth wrote:
Thu 18 Apr, 2019 7:26 pm
This patch would be awesome for v15, but it's not ready yet, right?
I'm working on it! Hope to have it ready by the feature freeze, but no guarantees.
by shermanp
Wed 03 Apr, 2019 9:07 pm
Forum: Patches
Topic: [Patch] New VHD support... now with added dynamics
Replies: 17
Views: 5447

Re: [Patch] New VHD support... now with added dynamics

It does support multi-parent chains. But I was thinking more about your comment about the handling of file paths and text encodings. As far as I can tell, the Dosbox-X implementation uses no external libraries for that, and it does it with a pretty small amount of code. Also, for the purposes of PC...
by shermanp
Tue 02 Apr, 2019 10:35 pm
Forum: Patches
Topic: [Patch] New VHD support... now with added dynamics
Replies: 17
Views: 5447

Re: [Patch] New VHD support... now with added dynamics

Might it be helpful to look at how VHDs are implemented in Dosbox-X? https://github.com/joncampbell123/dosbox-x/blob/master/src/ints/bios_vhd.cpp Interesting, I hadn't seen that before. After a (very) brief look at the code, I think my implementation will be more complete. For example, the DosBox-X...
by shermanp
Mon 18 Mar, 2019 3:24 am
Forum: Patches
Topic: [Patch] New VHD support... now with added dynamics
Replies: 17
Views: 5447

Re: [Patch] New VHD support... now with added dynamics

This is a very useful addition! I just managed to apply the patch and compile the emulator. I did some quick tests with a VHD hardfile and it seems to work fine, from now on I will probably only use VHD files. If it's possible to include it in the next official release that would be great, it has m...
by shermanp
Wed 23 Jan, 2019 6:20 am
Forum: General
Topic: Wordbasic overflow error 6 with DX processor
Replies: 5
Views: 1914

Re: Wordbasic overflow error 6 with DX processor

I'm not an expert by any means, but I believe that PCem doesn't accurately emulate the full 80-bit precision of the floating point co-processor. Word is probably sensitive enough to detect the inaccuracy, or it's doing something to make the PCem FPU emulation trip up. As, I said, I'm no expert, just...
by shermanp
Tue 08 Jan, 2019 8:01 pm
Forum: General
Topic: PCem requests for a Win9x Project
Replies: 9
Views: 2567

Re: PCem requests for a Win9x Project

Hi, As stated, I have have been creating VHD support for PCem. I think I have dynamic images pretty well sorted, and I'm currently trying to get differencing support working (reading works, but I haven't got creation support yet, nor any of the parent/child integrity checks). The original VHD format...
by shermanp
Fri 04 Jan, 2019 8:29 pm
Forum: Development
Topic: [Feb 2018 ed.] PCem MSYS2 build guide (with wxWidgets)
Replies: 53
Views: 14640

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

MSYS2 is a Windows build environment Please forgive my silly question, I saw all those $ shell commands that looked like linux That's because MSYS2 is basically a stripped down linux distribution (Arch I believe) compiled to run on windows. It contains a linux shell, package manager, and all the *n...
by shermanp
Wed 02 Jan, 2019 2:47 am
Forum: General
Topic: VHD support
Replies: 72
Views: 21113

Re: VHD support

EDIT: I deleted the contents of this post, because I realized I had made a colossal arse of myself. Turns out, the bitmap macros I was using were incorrect for VHD's (the order was reversed). This mistake will also explain why I've been having so much trouble with differencing VHD's, as they rely ex...
by shermanp
Mon 31 Dec, 2018 1:09 am
Forum: General
Topic: VHD support
Replies: 72
Views: 21113

Re: VHD support

I mean, well, once it has installed win95 and rebooted (after the whole setup routine), for now, it's fine, but once adding one file (as little as 32kb for example) in the vhd (after closing PCem), it would result in some files (not all) missing like vwin32.vxd, etc, thus, corrupting and making win...
by shermanp
Sun 30 Dec, 2018 7:04 pm
Forum: General
Topic: VHD support
Replies: 72
Views: 21113

Re: VHD support

Your latest patch solves my issue, thanks! Edit: At least, just partially, attempting to add files from winimage or mounted through imdisk results in missing other files or corruption again. Siigh... maybe something a little less subtle is required. Are you able to provide a detailed step-by-step o...
by shermanp
Sun 30 Dec, 2018 10:44 am
Forum: General
Topic: VHD support
Replies: 72
Views: 21113

Re: VHD support

So I went ahead and implemented some sector bitmap handling. It basically does nothing on reads, but updates the sector bitmap if required on writes. At least that's what I INTEND it to do... Whether I've done it correctly or not... I've attached a test patch, which can be applied on top of my V4 pa...
by shermanp
Sun 30 Dec, 2018 1:44 am
Forum: General
Topic: VHD support
Replies: 72
Views: 21113

Re: VHD support

I think I can see what a potential issue MIGHT be. Unlike Windows (10) and MiniVHD, Winimage actually appears to use the sector bitmap for sparse images. This COULD lead to a potential issue where Injecting a file into the image via Winimage creates a new block with some sectors marked clean. MiniVH...
by shermanp
Sat 29 Dec, 2018 9:31 pm
Forum: General
Topic: VHD support
Replies: 72
Views: 21113

Re: VHD support

I'm going to have a closer look at this. There may be some funny business going on with Winimage. I say may, because the first thing I tried with Winimage had a problem, but subsequent uses have behaved themselves. Will try with a blank fresh VHD image to see what winimage is doing, hopefully I can ...
by shermanp
Sat 29 Dec, 2018 8:54 pm
Forum: General
Topic: VHD support
Replies: 72
Views: 21113

Re: VHD support

Just trying to narrow down whether it's a bug with my VHD code, or a bug with Winimage.
by shermanp
Sat 29 Dec, 2018 7:58 pm
Forum: General
Topic: VHD support
Replies: 72
Views: 21113

Re: VHD support

SA1988 wrote:
Sat 29 Dec, 2018 12:01 pm
Nice patch! However, I found a bug in this patch. The bug is about when win95's first phase setup is finished, opening a dynamic/sparse vhd to view files with winimage results in a corrupt/blank vhd (with winimage).
Does this bug happen with Windows created dynamic VHD's as well?
by shermanp
Tue 25 Dec, 2018 11:54 pm
Forum: Development
Topic: [Feb 2018 ed.] PCem MSYS2 build guide (with wxWidgets)
Replies: 53
Views: 14640

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

I've updated the original guide to hopefully make it clearer that one needs to switch shells from the "Prepare and Compile PCem" step onward.
by shermanp
Tue 25 Dec, 2018 10:46 pm
Forum: Development
Topic: [Feb 2018 ed.] PCem MSYS2 build guide (with wxWidgets)
Replies: 53
Views: 14640

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

That's weird. I can't think of anything that would have fundamentally changed since I made this guide. In fact, I recently updated my own MSYS2 installation a few weeks ago. Are you using the MSYS2 MingGW shell. You should be using that, and not the MSYS2 MSYS shell. It's really strange that it's no...
by shermanp
Tue 25 Dec, 2018 8:41 pm
Forum: General
Topic: VHD support
Replies: 72
Views: 21113

Re: VHD support

Araripe wrote:
Tue 25 Dec, 2018 5:16 pm
How do I apply the patch? I wanna test the VHD feature but I don't have a single clue on where to begin. Do I need a compiler or something?
PM sent.
by shermanp
Mon 24 Dec, 2018 6:59 am
Forum: General
Topic: VHD support
Replies: 72
Views: 21113

Re: VHD support

Patch updated again. See this post for details => http://pcem-emulator.co.uk/phpBB3/viewtopic.php?f=4&t=3056&p=11503#p11618 As mentioned in that post, if anybody wants to assist me to try and get differencing support working, please feel free! I've basically slammed into a brick wall on that one oth...
by shermanp
Mon 24 Dec, 2018 6:54 am
Forum: Patches
Topic: [Patch] New VHD support... now with added dynamics
Replies: 17
Views: 5447

Re: [Patch] New VHD support... now with added dynamics

Unless anybody discovers any issues or bugs, I think I'm done with this. So, umm, about that.... I decided to simplify the sector read/write functions. The old "fast" path has been dropped in favor of improving the old "slow" path to be, well, not slow. Basically minimized the use of fseek() where ...
by shermanp
Sun 23 Dec, 2018 9:41 pm
Forum: Development
Topic: v15 & new recompiler update
Replies: 86
Views: 20045

Re: v15 & new recompiler update

Thanks for the update Sarah! Merry Christmas!
by shermanp
Sat 22 Dec, 2018 9:02 pm
Forum: General
Topic: VHD support
Replies: 72
Views: 21113

Re: VHD support

The biggest advantage of using a VHD in PCem to me is that I can mount the VHD in Windows and I can easily copy dos software that I downloaded from the internet to the PCem machines VHD, making transferring DOS software and games an absolute breeze, that makes getting software simple and easy as mo...
by shermanp
Fri 21 Dec, 2018 4:58 am
Forum: Development
Topic: unable to compile PCem under Linux
Replies: 13
Views: 3948

Re: unable to compile PCem under Linux

Hi, build-essential, contains the the essential tools to build any C program, and only the essentials. Basically, a compiler (GCC), make and a few other essentials. You will need to install SDL2, OpenAL, wxWidgets via your package manager. If running debian, or ubuntu, or a distribution derived from...
by shermanp
Sun 09 Dec, 2018 10:54 pm
Forum: General
Topic: PCem is still open (background process)
Replies: 7
Views: 2666

Re: PCem is still open (background process)

It doesn't appear to be a problem for me. Running Windows 10 1809. Running PCem with the following command or batch file exits PCem, and it no longer appears in the task manager when I close with the X button on the window. Have tested with both release V14, and a current development build. start /b...
by shermanp
Thu 06 Dec, 2018 1:15 am
Forum: Development
Topic: Using physical hard disk in PCem on UNIX/Linux systems
Replies: 10
Views: 3393

Re: Using physical hard disk in PCem on UNIX/Linux systems

This seems rather... adventurous. What would be the reason for wanting to do this, if I may ask out of curiosity? With regards to the size the PCem BIOS sees, you'll probably only have luck with sizes over 32GB using the Award 430VX BIOS. You may want to experiment setting the CHS geometry to n/16/2...