mirror of
https://github.com/cc65/cc65.git
synced 2025-08-08 06:25:17 +00:00
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:
@@ -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
|
||||||
|
Reference in New Issue
Block a user