Right now I'm struggling to recall whether the emulator even supports (in a meaningful way) mounting an SD card image to use with the X16. But setting that aside for the moment, I have an even more basic question:
How are folks creating and maintaining that image in the first place? In my own Googling, nobody seems to tackle the subject of how to create an image file for an SD card without first having a physical SD card, chock full of data they want to convert into an image file. They all start with some variation of "in order to create a backup of your SD card..."
And I'm perfectly willing to concede that >99% of cases want to create a backup of an existing SD card. That's entirely reasonable, and I get it. But what if, say, I'm developing software for the X16 and will be repeatedly generating new data files? Do I leave a USB stick with a mostly-blank SD card inserted into my PC, copy my stuff onto the stick, invoke a third-party application to generate a new image file from the card, and then specify that file to the emulator to mount it on the X16?
Surely, there's a better way that doesn't involve the hardware acting as a middle man, and I'm just not finding it. Any ideas?
Edit: Solutions! Thank you to everyone who helped out!
I can't favorite/upvote all of them, so I'm going to link and briefly explain them here:
For my peculiar purposes, (Linux and WSL2 on Windows, no superuser permissions required), @Michael Parson came up with the gold standard answer, by ultimately sleuthing out how to build the image and then wrote a bash script to automate the process:
Special thanks to @lamb-duh for helping us get onto the right track, as far as command-line tools were concerned. With that, my Makefile-based workflow is back to being "make && make run".
If you're not a fan of Linux, @TomXP411 describes a way to create and mount images purely through the Windows 10 VHD feature:
Question
StephenHorn
Right now I'm struggling to recall whether the emulator even supports (in a meaningful way) mounting an SD card image to use with the X16. But setting that aside for the moment, I have an even more basic question:
How are folks creating and maintaining that image in the first place? In my own Googling, nobody seems to tackle the subject of how to create an image file for an SD card without first having a physical SD card, chock full of data they want to convert into an image file. They all start with some variation of "in order to create a backup of your SD card..."
And I'm perfectly willing to concede that >99% of cases want to create a backup of an existing SD card. That's entirely reasonable, and I get it. But what if, say, I'm developing software for the X16 and will be repeatedly generating new data files? Do I leave a USB stick with a mostly-blank SD card inserted into my PC, copy my stuff onto the stick, invoke a third-party application to generate a new image file from the card, and then specify that file to the emulator to mount it on the X16?
Surely, there's a better way that doesn't involve the hardware acting as a middle man, and I'm just not finding it. Any ideas?
Edit: Solutions! Thank you to everyone who helped out!
I can't favorite/upvote all of them, so I'm going to link and briefly explain them here:
For my peculiar purposes, (Linux and WSL2 on Windows, no superuser permissions required), @Michael Parson came up with the gold standard answer, by ultimately sleuthing out how to build the image and then wrote a bash script to automate the process:
Special thanks to @lamb-duh for helping us get onto the right track, as far as command-line tools were concerned. With that, my Makefile-based workflow is back to being "make && make run".
If you're not a fan of Linux, @TomXP411 describes a way to create and mount images purely through the Windows 10 VHD feature:
Solved!
Link to comment
Share on other sites
23 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.