Search found 170 matches
- Sun 15 Nov, 2020 2:18 am
- Forum: Merged patches
- Topic: [Patch] New VHD support... now with added dynamics
- Replies: 63
- Views: 56252
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 di...
- Sat 14 Nov, 2020 7:27 pm
- Forum: Merged patches
- Topic: [Patch] New VHD support... now with added dynamics
- Replies: 63
- Views: 56252
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: 63
- Views: 56252
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: 84
- Views: 117609
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: 84
- Views: 117609
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: 6541
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: 12969
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: 12969
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: 12969
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: 6541
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: 84
- Views: 117609
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 ...
- Wed 12 Feb, 2020 2:01 am
- Forum: Development
- Topic: Dot-matrix printing in PCem
- Replies: 14
- Views: 14424
Re: Dot-matrix printing in PCem
Oh, hadn't thought about creating italics from standard fonts. Mainly because my font experience comes from the ebook sphere, and IMHO, autogenerated italics is a crime against humanity. (I had to suffer this in the early days of epub, because Adobe and/or Sony were too cheap to include italics vari...
- Sat 08 Feb, 2020 10:43 pm
- Forum: Development
- Topic: Dot-matrix printing in PCem
- Replies: 14
- Views: 14424
Re: Dot-matrix printing in PCem
Yeah, stuff like line height can be modified. But stuff like negative left bearings is quite normal, especially for proportional fonts. Use the metrics to determine WHERE to place glyphs. Just don't rely on them to determine your buffer sizes. If you end up using STB_Truetype, you should be safe to ...
- Sat 08 Feb, 2020 9:48 pm
- Forum: Development
- Topic: Dot-matrix printing in PCem
- Replies: 14
- Views: 14424
Re: Dot-matrix printing in PCem
I don't know how much experience you have rendering fonts, but one thing I learned was: don't trust the fonts own metrics. I once made that mistake. The code worked properly with the fonts I was using. Someone else tested with broken font metrics, and started getting segfaults. I quickly learned tha...
- Mon 03 Feb, 2020 11:50 am
- Forum: Development
- Topic: Dot-matrix printing in PCem
- Replies: 14
- Views: 14424
Re: Dot-matrix printing in PCem
Are you just using Freetype for font rasterization? If so, another potential font rasterizer is [url]https://github.com/nothings/stb/blob/master/stb_truetype.h[/url]. It's a portable, single-header opentype font rasterizer library. I've used it to create a rudimentary text layout program on an eink ...
- Mon 06 Jan, 2020 6:56 pm
- Forum: General
- Topic: v15 released!
- Replies: 49
- Views: 63606
Re: v15 released!
And unfortunately, it's not a simple fix (otherwise it probably would have been done already!). Actually, it can be! All you need to do is allow unicode in the dialog (which I guess is what standard Windows Dialogs will give you anyway) and then apply the Windows API to turn that into a DOS-compati...
- Mon 06 Jan, 2020 6:45 am
- Forum: General
- Topic: v15 released!
- Replies: 49
- Views: 63606
Re: v15 released!
Finally gotten around to upgrading. (I've not been active for a while on account of dealing with heart failure and the fitting of a pacemaker). I've noticed a "bug" that's probably been around for a while, and this prompted me to update to v15. However the bug is still there. PCem does no...
- Sun 05 Jan, 2020 7:51 pm
- Forum: Development
- Topic: Bitbucket deleting all Mercurial repositories on June 1, 2020?
- Replies: 21
- Views: 18983
Re: Bitbucket deleting all Mercurial repositories on June 1, 2020?
Personally, I'd be inclined to move the repo to GitHub, but hey, I'm biased as that is what I use for my own projects. Also never could really figure mercurial out.
But at the end of the day, it's your project, so I'll work with whatever you decide to do.
But at the end of the day, it's your project, so I'll work with whatever you decide to do.
- Sun 05 Jan, 2020 10:30 am
- Forum: Development
- Topic: Bitbucket deleting all Mercurial repositories on June 1, 2020?
- Replies: 21
- Views: 18983
Re: Bitbucket deleting all Mercurial repositories on June 1, 2020?
Oh my. Some very unhappy developers... https://community.atlassian.com/t5/Bitbucket-articles/What-to-do-with-your-Mercurial-repos-when-Bitbucket-sunsets/ba-p/1155380 I don't know why. It's not like BitBucket are going to delete issues, pull requests and wikis. And they're providing an automated tool...
- Sat 27 Jul, 2019 9:41 pm
- Forum: Development
- Topic: Compiling PCem for Windows from Windows Subsystem for Linux with Ubuntu
- Replies: 2
- Views: 5684
Re: Compiling PCem for Windows from Windows Subsystem for Linux with Ubuntu
You'll probably want OpenAL-Soft. It is a CMAKE project.
OpenAL-Soft seems to provide a toolchain file for cross-compiling with MinGW-w64 at https://github.com/kcat/openal-soft/blo ... ompile.txt.
Does this help?
OpenAL-Soft seems to provide a toolchain file for cross-compiling with MinGW-w64 at https://github.com/kcat/openal-soft/blo ... ompile.txt.
Does this help?
- Fri 24 May, 2019 11:10 am
- Forum: Merged patches
- Topic: [Patch] New VHD support... now with added dynamics
- Replies: 63
- Views: 56252
Re: [Patch] New VHD support... now with added dynamics
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.
- Wed 24 Apr, 2019 10:22 pm
- Forum: Development
- Topic: v15 & new recompiler update
- Replies: 86
- Views: 90160
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?
It looks like Sarah added some makefile fixes not too long ago at commit 51e4eb5, is that the problem?
- Wed 24 Apr, 2019 10:19 pm
- Forum: Development
- Topic: v15 & new recompiler update
- Replies: 86
- Views: 90160
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...
- Mon 22 Apr, 2019 5:06 am
- Forum: Merged patches
- Topic: [Patch] New VHD support... now with added dynamics
- Replies: 63
- Views: 56252
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....
- Sun 21 Apr, 2019 11:56 pm
- Forum: Merged patches
- Topic: [Patch] New VHD support... now with added dynamics
- Replies: 63
- Views: 56252
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....
- Thu 18 Apr, 2019 9:11 pm
- Forum: Merged patches
- Topic: [Patch] New VHD support... now with added dynamics
- Replies: 63
- Views: 56252
- Wed 03 Apr, 2019 9:07 pm
- Forum: Merged patches
- Topic: [Patch] New VHD support... now with added dynamics
- Replies: 63
- Views: 56252
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...
- Tue 02 Apr, 2019 10:35 pm
- Forum: Merged patches
- Topic: [Patch] New VHD support... now with added dynamics
- Replies: 63
- Views: 56252
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...
- Mon 18 Mar, 2019 3:24 am
- Forum: Merged patches
- Topic: [Patch] New VHD support... now with added dynamics
- Replies: 63
- Views: 56252
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...
- Wed 23 Jan, 2019 6:20 am
- Forum: General
- Topic: Wordbasic overflow error 6 with DX processor
- Replies: 5
- Views: 8019
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...