User Tools

Site Tools





blog:2012-09-02

Back to Blog

02-Sep-2012

A couple of weeks ago, I mentioned that the guys over at CommodoreServer were working on some upgrades to their V-1541 virtual disk drive service. Yesterday, Goog mentioned on his blog that the new services were ready for prime-time. So, I took a bit of time to try them out.

This new feature allows you to work with up to ten virtual disk drives, via the Comet64 Internet modem (or with the VICE emulator), at one time.

Think of it as a 1541 “deca-drive” for your C64! :o)

You can link ten disk images to each of the drives (numbered 0: to 9:) and easily work with the files within them by preceding each disk command with the assigned “drive” letter. Actually, when I started working with the new feature, I was reminded of my high-school days at the PET lab and the dual floppy disk drives.

The new command syntax takes a bit of getting used to, but isn't too complicated once you get the hang of it.

To assign a new disk image to a drive number, you first have to navigate the drive to the location of your disk image. I do it like this:

  LOAD ">CF 0:/ROOT-DIRECTORY/SUB-DIRECTORY",2

This puts drive 0 into the directory that holds the disk image I want to assign to it. You can do this for each drive you wish to use.

Then, you can attach (a.k.a. mount) a disk image like this:

  LOAD ">INSERT 0:DISK-IMAGE.D64", 2

Once that is done, you can also do a directory printout by typing:

  LOAD ">$ 0:",2

To load a program from a disk, you then type:

  LOAD "0:PROGRAM-NAME",2

I bet you can see a pattern appearing: LOAD, then the command you want to execute >$ (print the disk directory), then the virtual drive on which you want it performed 0: (drive zero), followed by ,2.

Fun stuff!

UPDATE

You can now copy files, from one virtual disk to another with the following command:

LOAD ">COPY 0:PROGRAM-NAME, 1:", 2

If you want to give the file a different name, on the destination disk, you can do so like this:

LOAD ">COPY 0:PROGRAM-NAME, 1:NEW-NAME", 2

If you want to make a copy of the program onto the same disk, you enter:

LOAD ">COPY 0:PROGRAM-NAME, NEW-NAME", 2

I also discovered that you can delete files from the virtual disks with the following command:

LOAD ">SCRATCH 0:PROGRAM-NAME", 2

If you want to see how many free blocks are available on a disk, enter:

LOAD ">BLOCKS",2

To see the name of the disk currently in the virtual drive, enter:

LOAD ">NAME",2

And to write protect the disk currently loaded into the virtual drive, enter:

LOAD ">WP",2

To take the write protect off, enter:

LOAD ">RWP",2

You can also create and format a new virtual disk with the following command:

LOAD ">NEW filename, disk-name, disk-id",2

The filename is the name of the .D64 file (50 characters max), the disk-name is the name of the disk you see when you LIST the disk's directory (16 characters max) and the disk-id is the two character identifier you see when you LIST the disk's directory.


For a complete list of all of the commands available for the V-1541, check out this PDF I created listing all of the commands for your Comet64… Comet64 Command Reference Card.PDF

Download Video

blog/2012-09-02.txt · Last modified: 2021/09/16 10:59 by David