Search found 7 matches

by sards3
Sun 22 Nov, 2020 10:12 am
Forum: Merged patches
Topic: [Patch] New VHD support... now with added dynamics
Replies: 63
Views: 55852

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

My recommendation would be to upgrade your compiler.
by sards3
Sun 15 Nov, 2020 7:09 am
Forum: Merged patches
Topic: [Patch] New VHD support... now with added dynamics
Replies: 63
Views: 55852

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

@shermanp I noticed one more issue: In hdd_file.c, line 80, you have: if (hdd->img_type == HDD_IMG_VHD) { MVHDMeta *vhdm = (MVHDMeta*)hdd->f; MVHDGeom geom = mvhd_get_geometry(vhdm); hdd->spt = geom.spt; hdd->hpc = geom.heads; hdd->tracks = geom.cyl; } else if (hdd->img_type == HDD_IMG_RAW) { hdd->s...
by sards3
Sun 15 Nov, 2020 3:57 am
Forum: Merged patches
Topic: [Patch] New VHD support... now with added dynamics
Replies: 63
Views: 55852

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

Sorry, didn't realize that strncpy_s, etc., are not available in all compilers.
by sards3
Sun 15 Nov, 2020 12:45 am
Forum: Merged patches
Topic: [Patch] New VHD support... now with added dynamics
Replies: 63
Views: 55852

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

Without actually debugging it, looks like you just need to call hdd_close inside the (currently empty) ide_close.
by sards3
Thu 25 Apr, 2019 11:01 pm
Forum: Development
Topic: v15 & new recompiler update
Replies: 86
Views: 89931

Re: v15 & new recompiler update

Great news. Sarah, I don't know if you have the time or inclination to do this, but I would be interested in reading a technical writeup about the new recompiler (high level design, how it differs from the old one, any interesting features, etc.)
by sards3
Wed 03 Apr, 2019 4:58 pm
Forum: Merged patches
Topic: [Patch] New VHD support... now with added dynamics
Replies: 63
Views: 55852

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 PCe...
by sards3
Tue 02 Apr, 2019 9:56 pm
Forum: Merged patches
Topic: [Patch] New VHD support... now with added dynamics
Replies: 63
Views: 55852

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/dosbo ... os_vhd.cpp