Run Diagnostics                                

Input

Output

AX CBh 13h Diagnostic Result (see below) AX
BX         BX
CX         CX
DX   Mode     DX
  The Run Diagnostics function (13H) runs a set of diagnostics or reports on
  their progress.

  Mode: 0 - Report progress of diagnostics
        1 - Start running diagnostics

  Results:

  DL = 1  Start Running Diagnostics.  Either a 0 (diagnostics successfully
          begun) or a negative error code is returned in AX.  The error
          code is one of the CAS error codes (such as, Communications Board
          Busy).

  DL = 0  Report Progress of Diagnostics.  One of the following values is
          returned in AX:

          Value           Condition

          0040H           diagnostics in process

          0000H           diagnostics passed

          negative number diagnostics failed

  If a negative number is returned, the individual bits of AX contain the
  information shown below, depending on the type of hardware being used (that
  is, SatisFAXtion board or Connection CoProcessor board.)  (In the following
  description, bits that are "set" have a value of 1.)
SatisFAXtion
Bit Dec Hex  Description
0 1 0001h  9600 BPS Fax Modem Failed
1 2 0002h  2400 BPS Data Modem Failed
2 4 0004h  Reserved
3 8 0008h
4 16 0010h
5 32 0020h
6 64 0040h
7 128 0080h
8 256 0100h
9 512 0200h
10 1024 0400h
11 2048 0800h
12 4096 1000h
13 8192 2000h
14 16384 4000h
15 32768 8000h

 

Connection Coprocessor
Bit Dec Hex  Description
0 1 0001h  ROM Checksum failed
1 2 0002h  RAM failed
2 4 0004h  SDLC Chip failed
3 8 0008h  9600 BPS Fax Modem failed
4 16 0010h  Reserved
5 32 0020h
6 64 0040h
7 128 0080h
8 256 0100h
9 512 0200h
10 1024 0400h
11 2048 0800h
12 4096 1000h
13 8192 2000h
14 16384 4000h
15 32768 8000h
See Also 00h 10h 11h Error Codes


Copyright © 1985 to 2022 Beta Systems                            Last modified: Wednesday, January 05, 2022 .