mirror of
https://github.com/irmen/prog8.git
synced 2024-06-10 20:29:33 +00:00
diskio.status_code(): Read the status til the end
This commit is contained in:
parent
1463740ec5
commit
b236b1e8f5
|
@ -543,6 +543,10 @@ io_error:
|
|||
list_filename[1] = cbm.CHRIN()
|
||||
list_filename[2] = 0
|
||||
|
||||
while cbm.READST()==0 {
|
||||
cbm.CHRIN()
|
||||
}
|
||||
|
||||
cbm.CLRCHN() ; restore default i/o devices
|
||||
cbm.CLOSE(15)
|
||||
return conv.str2ubyte(list_filename)
|
||||
|
|
Loading…
Reference in New Issue
Block a user