AMSTRAD cpc 6128 User Instruction page 342

Integrated computer/disc system
Hide thumbs Also See for cpc 6128:
Table of Contents

Advertisement

AMSDOS
error
DERR value
Cause of error
0
o
or 22
[ESC] has been pressed.
14
1 42 (128+ 14)
The stream is not in a suitable state.
15
1 43 (128+ 15)
Hard end of file has been reached.
16
144 (128+ 16)
Bad command, usually an incorrect
filename.
17
145 (128+ 17)
File already exists.
18
1 46 (128+ 18)
File does not exist.
19
1 47 (128+ 19)
Directory is full.
20
148 (128+20)
Disc is full.
21
149 (128+21)
Disc changed while files were open.
22
150 (128+22)
File is Read/Only.
26
1 5 4 (128+ 26)
Soft end of file has been detected.
If AMSDOS has already reported an error, then bit 7 is set; hence the value of
D ERR
is offset by 128.
Other values returned by
D ERR
originate from the disc controller and are bit
significant, always with bit 6 set. Bit 7 indicates whether the error has been reported
by AMSDOS (as explained above). The significance of each bit is as follows:
Bit
Significance
o
Address mark missing.
1
Not writable - disc is write protected.
2
No data - can't find the sector.
3
Drive not ready - no disc in the drive.
4
Overrun error.
5
Data error - CRC error.
6
Always set to 1 to indicate error from disc controller.
7
Set to 1 if error has already been reported by AMSDOS.
For your reference ....
Chapter 7 Page 31

Advertisement

Table of Contents
loading

Table of Contents

Save PDF