Page 1 of 2

create a new sdcard.img

Posted: Sun Apr 14, 2024 1:15 pm
by funkheld
Hi good afternoon.

I would like to please bring my programs to my new sdcard.img

Thanks.
greeting

Re: SD-IMG for the x16 emulator

Posted: Sun Apr 14, 2024 1:45 pm
by edrive
(Assuming that you are using the emulator)
If it's only about running a program and do some file save/open commands: Any folder on your PC would just work.
I don't see the need for an image.
The way I'm doing it is to just put a link (icon) on the desktop to start x16emu.
Then in the properties fill in your working directory and optional command line options.
You may of course have multiple icons on your desktop pointing at different working directories and/or different versions of your program.
Eigenschaften.png
Eigenschaften.png (92.41 KiB) Viewed 2498 times
Arbeitsordner.png
Arbeitsordner.png (52.71 KiB) Viewed 2498 times
Should work on any other modern operating system as well.
Put the files you want to load in that working directory.
Your saved files from the x16emu will be also found there.
(unless you change the directory inside x16emu)

Re: create a new sdcard.img

Posted: Sun Apr 14, 2024 2:05 pm
by funkheld
hello, thank you for your information.

I would like to please bring my programs to my new sdcard.img

my English is not good.

greeting.

Re: create a new sdcard.img

Posted: Sun Apr 14, 2024 2:16 pm
by edrive
Unter Windows:
Probiere mal folgendes:
Rechtsklick auf die image Datei, dann "öffnen mit", dann Windows-Explorer auswählen.
Anschliessend solltest du ein neues (virtuelles) Laufwerk haben.

Unter Linux:
Die image Datei unter einem Ordner deiner Wahl mounten.

Aber ich sehe absolut überhaupt keinen Sinn das über Images zu machen bzw. Images überhaupt zu verwenden.
Warum super umständlich kompliziert, wenn es auch ganz einfach geht?

vy73

Re: create a new sdcard.img

Posted: Sun Apr 14, 2024 2:45 pm
by edrive
Just for the sake of completeness:
"Burn" your image to a sd-card/usb-flash drive (using "balena etcher" or similar program).
Then stick it in your PC...

Re: create a new sdcard.img

Posted: Sun Apr 14, 2024 3:02 pm
by funkheld
Here is a cpm65 which only runs from an sd.img.

This sdcard.img, which is included with the emulator, cannot be opened by Windows 11.

Thanks.
greeting

https://github.com/davidgiven/cpm65/releases/tag/dev

Re: create a new sdcard.img

Posted: Sun Apr 14, 2024 4:01 pm
by edrive
Now it's clear what you are talking about.
The x16emu has a command line option to specify a sdcard image at startup.

https://github.com/rsbohn/x16-emulator/ ... /README.md

-sdcard lets you specify an SD card image (partition table + FAT32).

(but the examples from your link somehow didn't work properly on a first attempt)

Re: create a new sdcard.img

Posted: Sun Apr 14, 2024 4:13 pm
by ahenry3068
funkheld wrote: Sun Apr 14, 2024 3:02 pm Here is a cpm65 which only runs from an sd.img.

This sdcard.img, which is included with the emulator, cannot be opened by Windows 11.

Thanks.
greeting

https://github.com/davidgiven/cpm65/releases/tag/dev
Image

Re: create a new sdcard.img

Posted: Sun Apr 14, 2024 4:23 pm
by edrive
ROFL (greetings from KDE plasma running on openSUSE)

Re: create a new sdcard.img

Posted: Sun Apr 14, 2024 4:30 pm
by ahenry3068
edrive wrote: Sun Apr 14, 2024 4:23 pm ROFL (greetings from KDE plasma running on openSUSE)
On Windows 10 at work right now. :oops: But at home I'm Cinnamon on Mint.