create a new sdcard.img

All aspects of programming on the Commander X16.
funkheld
Posts: 322
Joined: Mon Feb 26, 2024 11:11 am

create a new sdcard.img

Post by funkheld »

Hi good afternoon.

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

Thanks.
greeting
Last edited by funkheld on Sun Apr 14, 2024 2:06 pm, edited 2 times in total.
User avatar
edrive
Posts: 37
Joined: Mon Jan 18, 2021 8:03 pm
Location: Germany
Contact:

Re: SD-IMG for the x16 emulator

Post 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 2574 times
Arbeitsordner.png
Arbeitsordner.png (52.71 KiB) Viewed 2574 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)
funkheld
Posts: 322
Joined: Mon Feb 26, 2024 11:11 am

Re: create a new sdcard.img

Post 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.
User avatar
edrive
Posts: 37
Joined: Mon Jan 18, 2021 8:03 pm
Location: Germany
Contact:

Re: create a new sdcard.img

Post 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
User avatar
edrive
Posts: 37
Joined: Mon Jan 18, 2021 8:03 pm
Location: Germany
Contact:

Re: create a new sdcard.img

Post 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...
funkheld
Posts: 322
Joined: Mon Feb 26, 2024 11:11 am

Re: create a new sdcard.img

Post 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
User avatar
edrive
Posts: 37
Joined: Mon Jan 18, 2021 8:03 pm
Location: Germany
Contact:

Re: create a new sdcard.img

Post 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)
User avatar
ahenry3068
Posts: 1139
Joined: Tue Apr 04, 2023 9:57 pm

Re: create a new sdcard.img

Post 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
User avatar
edrive
Posts: 37
Joined: Mon Jan 18, 2021 8:03 pm
Location: Germany
Contact:

Re: create a new sdcard.img

Post by edrive »

ROFL (greetings from KDE plasma running on openSUSE)
User avatar
ahenry3068
Posts: 1139
Joined: Tue Apr 04, 2023 9:57 pm

Re: create a new sdcard.img

Post 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.
Post Reply