]> git.sur5r.net Git - cc65/commitdiff
Be sure to read disk errors after sending the command on the command channel.
authoruz <uz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Mon, 27 Jul 2009 18:42:37 +0000 (18:42 +0000)
committeruz <uz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Mon, 27 Jul 2009 18:42:37 +0000 (18:42 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@3973 b7a2c559-68d2-44c3-8de9-860c34a00d81

libsrc/cbm/sysrename.s

index 574023d7dbdb217d0d63774a5349f31ea23cc69e..86cb370112348e53991e7266b4dec7f9b836b0df 100644 (file)
@@ -7,7 +7,8 @@
         .export         __sysrename
 
         .import         fnparse, fnadd, fnparsename
-        .import         opencmdchannel, closecmdchannel, writefndiskcmd
+        .import         opencmdchannel, closecmdchannel
+        .import         writefndiskcmd, readdiskerror
         .import         popax
 
         .import         fncmd, fnunit
@@ -40,6 +41,9 @@
         sta     fncmd
         jsr     writefndiskcmd
 
+;       ldx     fnunit
+;       jsr     readdiskerror
+
         pha
         ldx     fnunit
         jsr     closecmdchannel