Unless the user knows for certain that the drive in question will not be an original 1541, the better way is to first to use SCRATCH and after that the BASIC command SAVE. The REPLACE command is especially prone to triggering the above mentioned bug on the original 1541 (fixed in the 1541C and the 1541-II) – it may fail with some regularity and one could lose all data on a disk. Wildcards such as * (matches all the remaining chars) or ? (matches one char) are supported.For example: OPEN 1,8,15,"S0:*":CLOSE 1 all files of a disk will be deleted (“scratched”).With comma (,) more than one file or wildcard mask can be given and multiple matching files actually could be subject of the deletion. OPEN 1,8,15,"R0:New_Name=Old_Name":CLOSE 1 2.1FIFO 2.2Tape Drive Register 2.3DOR bitflag definitions 2.4MSR bitflag definitions 2.5CCR and DSR 2.6DIR register, Disk Change bit 3Programming Details 3.1Motor Delays 3.2Gap Lengths 3.3Hardware Control of Bad Cylinders 3.4Procedures 3.4.1Reinitialization 3.4.2Controller Reset 3.4.3Drive Selection 3.4.4Detecting Media 3.4. The command string is limited to 40 chars in length! OPEN 1,8,15,"C0:NewFile=OldFile": CLOSE 1Ĭopy the whole disk on a double drive from drive 1 to drive 0. Type: External (1. The disk name has a maximum of 16 chars and the ID requires 2 chars.Ĭhecks and fixes the disk’s meta-data structures (directory, block availability map, etc.) So to make it easier for myself I thought I would list a bunch of the commands that I would be using now in the future. Just a simple task such as formatting a floppy disk took me a little while to find the commands. I had to relearn how to use the floppy drive. Getting back in to playing with my old Commodore floppy drive.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |