Search found 160 matches
- Wed 25 Nov, 2020 8:26 pm
- Forum: Merged patches
- Topic: Documentation revamp submission
- Replies: 9
- Views: 2116
Re: Documentation revamp submission
There's probably plenty of online converters out there, but I'd suggest taking a look at Pandoc (https://pandoc.org/index.html), which can convert markdown to just about any other format under the sun.
- Wed 25 Nov, 2020 12:05 pm
- Forum: Merged patches
- Topic: Documentation revamp submission
- Replies: 9
- Views: 2116
Re: Documentation revamp submission
Sorry, been meaning to reply to this for a while now! In general I think this looks okay. I'm not familiar with this kind of markup though, can it be processed to a plain text file for the binary release? The 'markup' is markdown, a simple text format that is actually quite readable as plain text. ...
- Sun 22 Nov, 2020 10:23 pm
- Forum: Merged patches
- Topic: [Patch] New VHD support... now with added dynamics
- Replies: 59
- Views: 20707
Re: [Patch] New VHD support... now with added dynamics
Feel free to integrate this into PCem Sarah, I've committed the changes to MiniVHD as-is.Greatpsycho wrote: ↑Sun 22 Nov, 2020 11:35 amThe compiler only complaining about declaration in the for loop. This patch removes declaration in the for loop and solves compile problem on CentOS.
- Sun 22 Nov, 2020 10:25 am
- Forum: Merged patches
- Topic: [Patch] New VHD support... now with added dynamics
- Replies: 59
- Views: 20707
Re: [Patch] New VHD support... now with added dynamics
My recommendation would be to upgrade your compiler. May not be possible on an old version of CentOS. I shouldn't think adding -std=gnu99" to configure.ac would cause too many issues though, although maaaybe it would need to be linux or gcc specific? EDIT: If the only thing the compiler is complain...
- Sun 22 Nov, 2020 9:20 am
- Forum: Merged patches
- Topic: [Patch] New VHD support... now with added dynamics
- Replies: 59
- Views: 20707
Re: [Patch] New VHD support... now with added dynamics
There is still compile problem exists on CentOS. Your VHD code uses C99 extensions but it's not enabled by default on CentOS. To solve this problem, configure.ac file must be modified as described below, or all VHD related code must be rewritten to avoid using C99 extensions. pcem-compile-error.png...
- Sat 21 Nov, 2020 9:13 pm
- Forum: Merged patches
- Topic: [Patch] New VHD support... now with added dynamics
- Replies: 59
- Views: 20707
Re: [Patch] New VHD support... now with added dynamics
Thank you very much.
Thank you for your patience with this.
- Sat 21 Nov, 2020 11:10 am
- Forum: Merged patches
- Topic: [Patch] New VHD support... now with added dynamics
- Replies: 59
- Views: 20707
Re: [Patch] New VHD support... now with added dynamics
Just tried NT, first part of installation can be done normally, but during boot, I get gibberish during ntldr or unknown hard error on the dynamic VHD I'm using, this doesn't happen with fixed size VHD or plain RAW. Note that the file system is FAT16, not NTFS, of the dynamic vhd I'm using. I can't...
- Fri 20 Nov, 2020 10:07 pm
- Forum: Merged patches
- Topic: [Patch] New VHD support... now with added dynamics
- Replies: 59
- Views: 20707
Re: [Patch] New VHD support... now with added dynamics
I can't reproduce this in PCem. I can reproduce it in another emulator. It is not yet known whether this is an underlying MiniVHD issue, or an integration issue.
- Thu 19 Nov, 2020 7:05 pm
- Forum: Merged patches
- Topic: [Patch] New VHD support... now with added dynamics
- Replies: 59
- Views: 20707
Re: [Patch] New VHD support... now with added dynamics
@Greatpsycho does removing the typedef from minivhd_internal.h and including the minivhd.h header instead work for you? I'd rather avoid the #ifdef if I can.
- Wed 18 Nov, 2020 11:45 pm
- Forum: Merged patches
- Topic: [Patch] New VHD support... now with added dynamics
- Replies: 59
- Views: 20707
- Wed 18 Nov, 2020 10:16 pm
- Forum: Merged patches
- Topic: [Patch] New VHD support... now with added dynamics
- Replies: 59
- Views: 20707
Re: [Patch] New VHD support... now with added dynamics
Alright. Hopefully third times the charm... Now, MSVC gets _ftelli64/_fseeki64. MinGW and MinGW-w64 get ftello64/fseeko64. Linux gets large file ftello/fseeko by way of _FILE_OFFSET_BITS and OSX/BSD supposedly default to large file support for ftello/fseeko. Please let this work. diff --git a/src/mi...
- Wed 18 Nov, 2020 9:23 pm
- Forum: Merged patches
- Topic: [Patch] New VHD support... now with added dynamics
- Replies: 59
- Views: 20707
Re: [Patch] New VHD support... now with added dynamics
Whyyyyyyyyyyyyy!!!!!!SarahWalker wrote: ↑Wed 18 Nov, 2020 8:47 pmWith the most recent patch it no longer builds for me on mingw. ftello and fseeko don't exist.
Ok, looks like I need an ifdef for mingw specifically to separate from mingw-w64. They obviously can't be treated the same.
- Wed 18 Nov, 2020 8:43 pm
- Forum: Merged patches
- Topic: [Patch] New VHD support... now with added dynamics
- Replies: 59
- Views: 20707
Re: [Patch] New VHD support... now with added dynamics
I just tested and it is working fine under Linux now. As usual cross-platform support is a bit of a pain. Thank you very much for the work on the patch, differencing images are such a lifesaver when it comes to managing Windows 9x and a large software library. Thanks. If you notice any issues with ...
- Wed 18 Nov, 2020 1:04 pm
- Forum: Merged patches
- Topic: [Patch] New VHD support... now with added dynamics
- Replies: 59
- Views: 20707
Re: [Patch] New VHD support... now with added dynamics
Ok, here's a patch that should correct the segfaults on Linux. Turns out I had forgotten to set the large file macro's while attempting to use fseeko64 and friends. I decided in the end to switch to using fseeko, and setting _FILE_OFFSET_BITS 64 instead. It seems to work alright with both Linux and ...
- Wed 18 Nov, 2020 3:52 am
- Forum: Merged patches
- Topic: [Patch] New VHD support... now with added dynamics
- Replies: 59
- Views: 20707
Re: [Patch] New VHD support... now with added dynamics
I finally had more time to test out the changes. It compiles fine now. Under Linux I am experiencing Segmentation fault (core dumped) whenever I create a new VHD or attach an existing one to a machine. Nooooo, not the dreaded segfault :( Let's see if I can replicate. EDIT: yes I can. A bit more Lin...
- Mon 16 Nov, 2020 11:04 pm
- Forum: Merged patches
- Topic: [Patch] New VHD support... now with added dynamics
- Replies: 59
- Views: 20707
Re: [Patch] New VHD support... now with added dynamics
I have one more little tweak. My apologies for not including it earlier, it's something I meant to do, and it slipped my mind. This diff replaces the "remember to format" message with a "don't open/modify the parent" message when creating a differencing VHD image. The former message isn't very relev...
- Sun 15 Nov, 2020 10:00 am
- Forum: Merged patches
- Topic: [Patch] New VHD support... now with added dynamics
- Replies: 59
- Views: 20707
Re: [Patch] New VHD support... now with added dynamics
Alright, here's some fixes. Committed at 322b25a4. I also unilaterally removed the use of _wfopen_s, commit 95e6819f. Thank you Sarah. I originally used _wfopen(), so that change is fine by me. Those '_s' functions were something I kind of glossed over during my review of the code. I know for next ...
- Sun 15 Nov, 2020 6:54 am
- Forum: Merged patches
- Topic: [Patch] New VHD support... now with added dynamics
- Replies: 59
- Views: 20707
Re: [Patch] New VHD support... now with added dynamics
Alright, here's some fixes.
And yes, I actually tested compiling this on linux this time...
Diff is against the latest pcem master as of writing this (5ae201b).
If you don't want to deal with the diff, the code is at https://github.com/shermp/pcem/tree/vhd ... tion-fixes
And yes, I actually tested compiling this on linux this time...
Diff is against the latest pcem master as of writing this (5ae201b).
If you don't want to deal with the diff, the code is at https://github.com/shermp/pcem/tree/vhd ... tion-fixes
- Sun 15 Nov, 2020 3:44 am
- Forum: Merged patches
- Topic: [Patch] New VHD support... now with added dynamics
- Replies: 59
- Views: 20707
Re: [Patch] New VHD support... now with added dynamics
Siigh... Thanks for the feedback.
I'll either revert back to what I had originally (strcpy, strncpy), or switch to a straight memcpy alternative (I'm copying between fixed arrays in some cases, so that's a viable option.
- Sun 15 Nov, 2020 2:18 am
- Forum: Merged patches
- Topic: [Patch] New VHD support... now with added dynamics
- Replies: 59
- Views: 20707
Re: [Patch] New VHD support... now with added dynamics
Committed at 602d6f1c. Currently when building under Linux there is a build error due case sensitiveness. The "minivhd" folder is specified as "MiniVHD" in wx-config.c. The build continues after that is fixed. wx-config.c:23:10: fatal error: MiniVHD/minivhd.h: No such file or directory 23 | #includ...
- Sat 14 Nov, 2020 7:27 pm
- Forum: Merged patches
- Topic: [Patch] New VHD support... now with added dynamics
- Replies: 59
- Views: 20707
Re: [Patch] New VHD support... now with added dynamics
Committed at 602d6f1c. I'll have a look at the image not closing bug. Hopefully won't be too difficult to fix. Thank you very much. When I was running it through the debugger, the image only seems to be closed during the ide reset, which only seems to happen when emulation starts. (this is of cours...
- Sat 14 Nov, 2020 7:16 am
- Forum: Merged patches
- Topic: [Patch] New VHD support... now with added dynamics
- Replies: 59
- Views: 20707
Re: [Patch] New VHD support... now with added dynamics
With the assistance of @sards3 , here's a new patch based on PCem v16. I'm hoping that this sneaks in just before the v17 feature freeze. This basically has full VHD support. Fixed, sparse (dynamic) and differencing images all work. Creation of differencing images works. Be very careful when using d...
- Sun 27 Sep, 2020 9:39 pm
- Forum: Development
- Topic: [Sep 2020 ed.] PCem MSYS2 build guide (with wxWidgets)
- Replies: 68
- Views: 50629
Re: [Sep 2020 ed.] PCem MSYS2 build guide (with wxWidgets)
Note, if you haven't updated MSYS2 in a while, there's been some package maintainer changes and corresponding signing key changes. I found it easier to restart from scratch with a fresh MSYS2 reinstall.
- Sat 26 Sep, 2020 3:28 am
- Forum: Development
- Topic: [Sep 2020 ed.] PCem MSYS2 build guide (with wxWidgets)
- Replies: 68
- Views: 50629
Re: Sep 2020 ed.] PCem MSYS2 build guide (with wxWidgets)
Just made a few updates to the OP. No major changes, but I went through it again on the latest version of MSYS2 (still slow, sigh...).
Main changes are using an updated version of the npcap SDK, and using git to clone the github pcem repository.
Main changes are using an updated version of the npcap SDK, and using git to clone the github pcem repository.
- Tue 04 Aug, 2020 9:11 pm
- Forum: Development
- Topic: Translating PCEM
- Replies: 7
- Views: 3240
Re: Translating PCEM
Note, a lot of user facing strings will be in 'pc.xrc', although looking at the docs, I get the impression that strings here SHOULD be auto-translated if the resource is constructed correctly. Translation files are sill needed to actually translate of course...
- Sat 01 Aug, 2020 12:50 pm
- Forum: General
- Topic: Confused about creating hard drive images and sizes
- Replies: 13
- Views: 3491
Re: Confused about creating hard drive images and sizes
Or, just type in the desired size of disk (in MB) and let the GUI do the calculations for you :p
- Sat 01 Aug, 2020 2:47 am
- Forum: General
- Topic: Confused about creating hard drive images and sizes
- Replies: 13
- Views: 3491
Re: Confused about creating hard drive images and sizes
The largest heads and sectors-per-track supported by PCem is 16 and 63 respectively, so for large hard disks, you have to use the cylinders to get the final size. This is an issue I've run into with VHD support, as it only supports up to 65535 cylinders, so for large hard disks, you are supposed to...
- Fri 31 Jul, 2020 11:25 pm
- Forum: General
- Topic: Confused about creating hard drive images and sizes
- Replies: 13
- Views: 3491
Re: Confused about creating hard drive images and sizes
The largest heads and sectors-per-track supported by PCem is 16 and 63 respectively, so for large hard disks, you have to use the cylinders to get the final size. This is an issue I've run into with VHD support, as it only supports up to 65535 cylinders, so for large hard disks, you are supposed to ...
- Tue 21 Jul, 2020 9:50 pm
- Forum: Development
- Topic: Translating PCEM
- Replies: 7
- Views: 3240
Re: Translating PCEM
Note that PCem is almost all C, with a few bits of C to C++ wrapping for the wxwidgets bit.
If one were to do translation stuff, it would probably be best to use the tools provided by wxWidgets for the job. See https://docs.wxwidgets.org/trunk/overview_i18n.html on the approach wxWidgets uses.
If one were to do translation stuff, it would probably be best to use the tools provided by wxWidgets for the job. See https://docs.wxwidgets.org/trunk/overview_i18n.html on the approach wxWidgets uses.
- Sat 18 Apr, 2020 10:52 am
- Forum: Development
- Topic: [Sep 2020 ed.] PCem MSYS2 build guide (with wxWidgets)
- Replies: 68
- Views: 50629
Re: [Feb 2018 ed.] PCem MSYS2 build guide (with wxWidgets)
Glad to hear! I must admit I don't tend to use MSYS2 these days. The makefile autoconf produces is so sloooooow. I instead use the included windows makefile with mingw-w64 and manually installed libraries. It's a LOT quicker! EDIT: This was a reason I experimented with cmake a while back. But Sarah ...