Dynamic VHD Support? -- Plan of use
Posted: Sun Apr 25, 2021 4:19 pm
Has anyone gotten dynamic VHDs working/booting in the AO486 core?
End goal feature:
Allow for Dynamic VHD, very small initial load of base OS, tools etc (call it under 100MB) with a VHD size set to grow up to XX GB.
Goal, very small initial load of a VHD with just a layer of DOS/FreeDOS setup that is sized using dynamic VHD.
Call it 20MB consumed with a dynamic VHD of 16GB. The actual size of the VHD would be small but the hard drive values would be reported as: Sectors:63, Heads: 16. Cylinder: 32507, Size: 15999mb.
This works well in pcEM, windows, etc for VHDs.
What works:
Github scripts (already created) that will allow for users to select the open source/freeware/shareware games that they would like to pull down and include in their image. mount VHD from script, Script pulls games down that were selected and any updates to them, VHD grows based on data consumed, new index generated for games selected and inserted into the AO486 launcher.
This would allow for a 100% legal way to host shareware games on github allowing for people to enjoy Shareware DOS games like we used to. I've already curated the pack, tested each game, built the scripts, but I am blocked by the dynamic VHD issue. Right now, I can create flat VHDs of varying sizes that are formatted but empty (500MB, 1GB , 3GB etc) I zip them to bring down the size to the actual consumed size, mister script pulls those down from github, unzips, mounts them, then transfer data to the new larger VHD. Then remove all the junk from this process.
Issue:
It looks like the Bochs BOIS that is used is reporting the VHD referenced above as a 284MB HDD instead of 16GB. Is that one of the "features" passed in on line 78 of ide.v?
Is the bios defaulting to flat and can that be changed to "growing"?
Or to give me some more troubleshooting capabilities, can the bios line for IDE0 master: display the Sectors, Heads, and Cylinders it read from the VHD? IF not, can the MiSTer OSD show that data when we mount the VHD to IDE 0-0?
End goal feature:
Allow for Dynamic VHD, very small initial load of base OS, tools etc (call it under 100MB) with a VHD size set to grow up to XX GB.
Goal, very small initial load of a VHD with just a layer of DOS/FreeDOS setup that is sized using dynamic VHD.
Call it 20MB consumed with a dynamic VHD of 16GB. The actual size of the VHD would be small but the hard drive values would be reported as: Sectors:63, Heads: 16. Cylinder: 32507, Size: 15999mb.
This works well in pcEM, windows, etc for VHDs.
What works:
Github scripts (already created) that will allow for users to select the open source/freeware/shareware games that they would like to pull down and include in their image. mount VHD from script, Script pulls games down that were selected and any updates to them, VHD grows based on data consumed, new index generated for games selected and inserted into the AO486 launcher.
This would allow for a 100% legal way to host shareware games on github allowing for people to enjoy Shareware DOS games like we used to. I've already curated the pack, tested each game, built the scripts, but I am blocked by the dynamic VHD issue. Right now, I can create flat VHDs of varying sizes that are formatted but empty (500MB, 1GB , 3GB etc) I zip them to bring down the size to the actual consumed size, mister script pulls those down from github, unzips, mounts them, then transfer data to the new larger VHD. Then remove all the junk from this process.
Issue:
It looks like the Bochs BOIS that is used is reporting the VHD referenced above as a 284MB HDD instead of 16GB. Is that one of the "features" passed in on line 78 of ide.v?
Is the bios defaulting to flat and can that be changed to "growing"?
Or to give me some more troubleshooting capabilities, can the bios line for IDE0 master: display the Sectors, Heads, and Cylinders it read from the VHD? IF not, can the MiSTer OSD show that data when we mount the VHD to IDE 0-0?