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
This commit is contained in:
uz 2009-07-27 18:42:37 +00:00
parent 2363a6f5c7
commit 087ae8173a

View file

@ -7,7 +7,8 @@
.export __sysrename .export __sysrename
.import fnparse, fnadd, fnparsename .import fnparse, fnadd, fnparsename
.import opencmdchannel, closecmdchannel, writefndiskcmd .import opencmdchannel, closecmdchannel
.import writefndiskcmd, readdiskerror
.import popax .import popax
.import fncmd, fnunit .import fncmd, fnunit
@ -40,6 +41,9 @@
sta fncmd sta fncmd
jsr writefndiskcmd jsr writefndiskcmd
; ldx fnunit
; jsr readdiskerror
pha pha
ldx fnunit ldx fnunit
jsr closecmdchannel jsr closecmdchannel