If the file browser is too modern, no appropriate cartridges is available, an existing BASIC program should not be overwritten or the desire for command based input commands exists, then sw64 is a hell of a lot of fun!
Download the programm, copy it to your C64 disk and load sw64-c000.prg
and start with sys49152 or sys49152,drive
for set the current sd2iec drive. Alternative there is also sw64-9000.prg
to use different memory area. You can
start it with sys36864 or sys36864,drive for set the current sd2iec drive
Each command starts with the @ character. This is the identification character so that the wedge become active. Otherwise, Basic can be used as usual.
@$[,dr]
Lists the directory without destroying a basic program (dr: The current drive)
@DIR
Shows the directory in the current drive
@{Arrow left}
Unmount a disc / Jumps a level higher in the directoy
@{arrow up}
Not yet implemented
@MD"DIRECTORY"[,dr]
Creates a directory (Make Directory) (dr: The current drive)
@RD"DIRECTORY"[,dr]
Delete a directory (Remove Directory) (dr: The current drive)
@CD"DIRECTORY"[,dr]
Switches to the specified directory (Change Directory) (dr: The current drive)
@CI"Name.Dxx"[,dr]
Creates a D64, D71 or D81 Image file, depends on xx in suffix (xx can be 64, 71 or 81)
@CD"FILE.D64"
Open the D64 file
@STAT
Shows a status (current drive) and status of the current drive
@SDR:dr
sets the current drive (dr: The drive number)
@SC"COMMAND"[,dr]
Sends Commandos directly to the drive (Send Command) (dr: The current drive)
Send Command can also be used with normal drives (e.g. validation or initialization)
Here are some examples that illustrate working with the wedge and show the possibilities
@$,11
Shows the directory of drive 11, sets automatically the drive to 11 so that all
subsequent commands also address this drive. This is valid as long as a new drive is
not set. This means that if you call @$
again without specifying the drive, drive 11
will be addressed.
@MD"Test"
Creates the "Test" directory in the current drive (here drive 11).
@MD"Test02",9
Creates the "Test02" directory in drive 9.
@RD"Test02"
Deletes the created directory "Test02" in the current drive (here drive 9).
@CD"Test",11
Switches to the "Test" directory on drive 11
@CI"file.d64"
Creates a D64 Images with the name "file"
@CD"file.d64"
Opens the D64 image. The files contained in it can now be accessed.
The directory can be displayed with the @$
command.
@SC"CD{Arrow left}"
The Send Command can be used to close a mounted D64 image again, i.e. to jump back to the level above.
@STAT
The Stat command displays the current drive. Also the status of the drive is displayed.
@SDR:10
The Set Drive Command sets the current drive
The SC command can be used for any kind of communication with the drive. A real device can also be addressed here:
Examples:
@SC"I",8
Sends the "Initialization" command to the drive 8.
@SC"N:NEWDISK,01"
Sends the command to format a floppy disk. The name and the disk ID are passed here.
@SC"S:TEMPFILE",8
Deletes (scratch) the file "Tempfile" in drive 8.
@SC"R:NEWNAME=TEMPFILE"
Renames the file "TEMPFILE" to "NEWNAME" - note that the new name comes first
First Version V23.01 (January 2023)
- Initialize and release the first version
V23.02 (February 2023)
- Change the command
@!
to@$
for the sake of logic - New command
@{left arrow}
to unmount a disc and jump one level higher inn the dirctory - New command
@SDR:dr
to set the current drive - Some source code optimization
V24.05 (Mai 2024)
- Added the new command
@CI"Name.dxx"
(xx can be 64, 71 or 81) to create D64, D71 and D81 Images
sw64-c000.prg > Start with sys49152 or sys49152,drive for set the current sd2iec drive or
sw64-9000.prg > Start with sys36864 or sys36864,drive for set the current sd2iec drive
Please send any suggestions, questions or comments to sw64ATmrys.de