diskio.status_code(): Read the status til the end

This commit is contained in:
adiee5 2024-03-27 15:45:56 +01:00
parent 1463740ec5
commit b236b1e8f5

View File

@ -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)