|  From: Gati Gergely 
Date: 1999-12-17 
Subject: Re: Sys info request. 
 |  
Hello, 
 
> Hello, 
> does anybody know where in RAM I can retrieve the I/O error byte after 
> a disk operation? 
> I don't refer to the STATUS ($90), but to the error code (the same 
> printed with the I/O ERROR #). 
 
I investigate this problem: you have to set the $009A to $00 (program mode, 
system errors not printed), and you call the i/o functions, as usual, 
but when returns a function, and the carry is set, there's an error occured, the error code is in Accu. 
 
error codes: 
 01: too many files 
 02: file open 
 03: file not open 
 04: file not exists 
 05: device not present 
 06: not an input file 
 07: not an output file 
 08: missing file name 
 09: illegal device number 
 
(the handler routine is in rom from $f273) 
 
bye, 
gega 
 |  
  |   |   
 Copyright © Plus/4 World Team, 2001-2025. Support Plus/4 World on Patreon |