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:
parent
2363a6f5c7
commit
087ae8173a
1 changed files with 5 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue