]> git.sur5r.net Git - cc65/blobdiff - libsrc/cbm/diskcmd.s
Moved the 'disk' files from 'geos-cbm' to 'geos-common' which are believed to work...
[cc65] / libsrc / cbm / diskcmd.s
index 16914d837f578219c2f0ba62a9890ee9e98479f3..d090afe14e5d474f83c6c3904e167623940c11ba 100644 (file)
@@ -188,13 +188,13 @@ writefndiskcmd:
 
 ;--------------------------------------------------------------------------
 ; writediskcmd: Gets pointer to data in ptr1, length in A. Writes all data
-; to the command channel of the given drive. Returns an error code in A,
+; to the command channel of the drive in X. Returns an error code in A,
 ; flags are set according to the contents of A.
 
 writediskcmd:
 
         jsr     isdisk
-        bcs     success
+        bcs     success         ; No disk - already done
 
 ; Remember the length