From 087ae8173a88258fa9a985c55777e4b53116d2b8 Mon Sep 17 00:00:00 2001 From: uz Date: Mon, 27 Jul 2009 18:42:37 +0000 Subject: [PATCH] Be sure to read disk errors after sending the command on the command channel. git-svn-id: svn://svn.cc65.org/cc65/trunk@3973 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- libsrc/cbm/sysrename.s | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/libsrc/cbm/sysrename.s b/libsrc/cbm/sysrename.s index 574023d7d..86cb37011 100644 --- a/libsrc/cbm/sysrename.s +++ b/libsrc/cbm/sysrename.s @@ -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 -- 2.39.5