How To VERIFY A Program From A Commodore 64 From A 1541 Disk Drive Vic-20 PET Plus/4 - Episode 3200
If you have a program in memory, and you do not remember if you saved the latest version, or if you just want to be sure that the program saved properly, and it was called "world commodore" do this:
verify"world commodore",8
If it comes back and tells you that it is OK, all is well...if it gives you a ?VERIFY ERROR, well, then the version on the disk is not up to date...
I used to do this more in the tape drive datasette era...as I found that tapes were more likely to have an error and certainly, I did not want to have to re-do the program again...of course, it was much slower on the datasette, but it was nice to know that things were properly saved!
And here is how you LOAD a program from a 1541 disk drive!
Once you have a little program in memory, here is how you save it to a disk...perhaps the one that you just formatted in the 1541 disk drive!
header"new disk",d0,ind
You can name the disk whatever you like and it is best to change the disk ID, which are the two letters after the i in this example, on this disk I used ND.
With a more advanced BASIC 4.0 or above, you can use the HEADER command to format a disk, but of course, the older way, as described below still works just fine!
If you are just getting into the commodore 64 or other vintage computers made by cbm, and you want to format a disk, this is the command that you will need to enter...
open15,8,15,"n0:fresh disk,fd":close15
This will take an unformatted disk, or one that has been formatted and erase everything and give you a blank disk that is ready to use with 664 blocks free...this is a short video...there will be others...but this should get you started on being able to save and load programs to and from your 1541 disk drive...if you do this, and at the end the LED on the disk drive is flashing, then try it again, or it is quite possible that after 40 or more years that the disk you are trying to format is no longer workable...or that the write protect sticker is in place or the that disk is not notched...stay tuned for many more short videos that will cover one subject at a time!