• Keine Ergebnisse gefunden

WORD MOVER CONTROLLER TEST

Im Dokument DIABLO PRINTER TEST (Seite 120-145)

Applicable Assemblies (A) for Asynchronous adapter. After this, the message "ENTER TROUBLE-SHOOT MODE? (Y)es, (N)o" will appear on line 3 of the display screen. Key in a (Y) for the displayed error message.

R:C-IO/29/79

Errors - Continued

i

After an error m is displayed Ikhe operator has four ways to proceed. Typing the SPACE bar will continue testing on the next test, typing the R key (without the SHIFT key) will re eat the current est, depressing the PROG key will restart the program and typing SIFT PROG will eturn control to the operating system.

Because of the inver ed pyramid t st strategy used in WRDTST, it is desirable to service erroneous functi ns as they 0 cur. An erroneous function discovered in one subtest may cause m leading er or messages in subsequent subtests since the function is assumed to b working i all subtests after the one in which it is tested.

Test Descript!2!:!.

AU test operations are desc i ed in this section. The program will halt and the specified error message is disp, ay d if expected results are not obtained.

On the foUowing pages, is listed with a brief description of what it is testing. Below the descrip ion, aU possible error messages are listed, with an explanation of the cause of ~he messa\

! !

I \

\,

\\

R:B-09/78

Errors - Continued

After an error message is displayed the operator has four ways. to proceed. Typing the SPACE bar will continue testing on the next test, typing the R key (without the SHIFT key) will repeat the current test, depressing the PROG key will restart the program. A shifted PROG will not return control to the operating system.

Because of the inverted pyramid test strategy used in WRDTST, it is desirable to service erroneous functions as they occur. An erroneous function discovered in one subtest may cause misleading error messages in subsequent subtests since the function is assumed to be working in all subtests after the one in which it is tested.

Test Description

All test operations are described in this section. The program will halt and the specified error message is displayed if expected results are not obtained.

On the following pages, each test is listed with a brief description of what it is testing. Below the description, all possible error messages are listed, with al1 explanation of the cause of the message.

R:C-12/80

TEST 00 - Controller Select Test

Tests that the Word Mover Controller does not respond to an incorrect select address, does respond to the correct address, and INIT de-selects a selected Word Mover Controller. The correct device select address is OB4 (hex). The incorrect select addresses are those single byte addresses which have 3 or less bits high. This is derived from the fact that a 4 input AND gate performs the device selection from the address bits of the select address. Thus a select address of OFF hex would attempt to select all devices.

CONTROLLER SELECTED WITH INCORRECT ADDRESS (XX)

IFL to the select address XX hex have a resul t other than OFF hex (open bus).

CONTROLLER IS NOT SELECTED WITH CORRECT ADDRESS (B4)

IFL to the correct Word Mover Controller address (OB4 hex) gave a result of OFF hex (open bus).

INIT DOES NOT DESELECT CONTROLLER

After an INIT to the selected Word Mover Controller, IFL did not get a result of OFF hex (open bus).

TEST 01 - Testing Not Busy Flag (IFL Bit 7)

Tests that the Printer Busy Flag (IFL Bit 0) is not stuck low. Tha t the No t Busy flag (IFL Bit 7) is set before a move, reset during a move, and set again after a move. That both DVCL and INIT individually abort a move and set the Not Busy Flag.

PRINTER BUSY FLAG STUCK LOW (IFL BIT 0)

After the Word Mover has been selected, a DVCL and an INIT instruction are executed. The Word Mover is reselected and the Printer Busy flag (IFL bit 0) is found to be low. The printer cable should be disconnected at this time.

MOVE WAS NOT EXECUTED indicating no present board activity. The current vectors are examined and found to be static. SOCL (location 0822) is found to be not equal

MOVE EXCEEDED MAXIMUM TIME ALLOWANCE

The Word Mover is issued commands to move line 5 to line 15 on the

NOT BUSY (IFL BIT 7) LOW AFTER MOVE TERMINATED

TEST 02 - Testing Interrupt

DESTINATION CURRENT VECTORS NOT EQUAL TO TERMINATING VECTORS

The program sets the current vectors; SOCL, SOCH (locations 0822 and

SOURCE CURRENT VECTORS DID NOT INITIALIZE

The source current vectors (locations 0822 and 0823) are set 1 page before the starting vectors (locations 0820 and 0821). Commands for a move from line 5 to line 15 on the screen are executed. When the move terminates, the source current vectors are examined. If the source current vectors are not equal to the source terminating vectors (locations 0824 and 0825) plus 256 address locations, the error message is displayed.

DESTINATION CURRENT VECTORS DID NOT INITIALIZE

The destina tion current vectors (locations 0862 and 0863) are set 1 page before the starting vectors (locations 0860 and 0861). Command for a move from line 5 to line 15 on the screen are executed. Wh.n the move terminates the destination current vectors are examined. If the destination current vectors are not equal to the destination terminating vectors (locations 0864 and 0865), the error message is displayed.

MOVE EXCEEDED MAXIMUM TIME ALLOWANCE

The program times all moves in this test. Any move exceeding a period specified by the program will be aborted with DVCL and INIT instructions.

TEST 04 - Test That Every Character Can Be Moved

The source is displayed on the upper right of the screen. It consists of 17 characters. The first 16 characters are sequentially increasing, the last character is a terminating character equal to the complement of the first character. The source is moved to an empty line directly below it. The program examines the characters moved and displays their hex equivalents on the same line on the left side of the screen. If the character is moved incorrectly the hex equivalent is reversed on the screen. This process is repeated 16 times in order to display the hex equivalents for all 256 characters.

INCORRECT MOVE EXECUTED

After a move, all characters in the source and destination buffers are compared. If they are not equal, the error message is displayed.

TEST 05 - Tests That Margins Are Ignored By Move Without Wrap

A source 78 characters long is created on line 5 on the screen. The left and right margins are set at 00 and FF ini tially. Commands to move the source to line 15 are executed. If the move was executed properly, new margins are set and the move is repeated. The margins tested are shown below:

~ RIGHT

00 FF 01 7F 03 3F 07 1F OF OF 1F 07 3F 03 7F 01 FF 00

The source, except for the terminating character, is shifted once to the left after each move. The margins are marked by ".J," 0 nth e Ii n e above the destination.

INCORRECT MOVE EXECUTED

After a move, all characters in the source and destination buffers are compared. If they are not equal, the error message is displayed.

TEST 06 - Tests That COM3 Command Byte Is Ignored By Move Command Without Wrap

A source 78 characters long is created on line 5 of the screen. The COM3 command byte (character locator) is 00 initially. If the command to move was executed properly, the move will be repeated with another COM3 command byte. The command byte will take on the following values: 00, 01, 03, 07, OF, 01F, 03F, 07F, and OFF hex. The source, except for the terminating character, is shifted once to the left after every move.

INCORRECT MOVE EXECUTED

After a move all characters in the source and destination buffers are compared. If they are not equal, the error message is displayed.

TEST 07 - Testing Terminating Commands

Tests that all possible terminating conditions will terminate a move.

The source is created on line 5. The expected termination is marked in the source by a character having a reversed field. Commands are executed to move the source to line 15. After the move, the current vectors are examined to determine if the move terminated properly.

The termination condition being tested is always displayed on line 9.

An explanation of how the termination condition is tested and its error messages follow.

A). Testing move terminated on destination address

The termination point is marked by a reverse field "T".

After the move, line 15 should include all source characters up to and including "T".

DESTINATION CURRENT NOT EQUAL TO TERMINATING ADDRESS

After the move, the contents of the destination current vectors were found to be not equal to the contents of the destination terminating vectors, indicating that the move was not terminated on the correct address.

B). Testing move terminated on source address

The termination point is marked by a reverse field "T".

After the move line 15 should contain all source characters up to and including the liT".

CURRENT DESTINATION ADDRESS INCORRECT

After the move, the contents of the current destination vectors were found to be not equal to the contents of the starting destination vectors plus 014 hex.

CURRENT SOURCE ADDRESS INCORRECT

After the move, the contents of the current source vectors were found to be not equal to the contents of the terminating source vectors.

C). Testing move terminated on destination character

The termination character is the only reversed character in the middle of line 5. After the move lin e 15 shou 1 d contain all source characters up to and including the reversed character. The following termination characters are tested, 00, 01, 02, 04, 08, 010, 020, 040, 080 hex.

CURRENT DESTINATION ADDRESS INCORRECT

After the move, the contents of the current destination vectors were found to be not equal to the contents of the starting des tina tion vectors plus 028 hex.

CURRENT SOURCE ADDRESS INCORRECT

After the move, the contents of the current source vectors were found to be not equal to the contents of the starting source vectors pI us 040 hex.

D). Testing move terminated on source character

The termination character is the only reversed character in the middle of line 5. After the move, line 15 should contain all source characters up to and including the reversed character. The following termination characters are tested, OFF, 07F, OBF, ODF, OEF, OF7, OFB, OFD, and OFE hex.

CURRENT DESTINATION ADDH ~S INCORRECT

After the move, the contents of the current destination vectors were found to be not equal to the contents of the starting destination vectors plus 028 hex.

CURRENT SOURCE ADDRESS INCORRECT

After the move, the contents of the current source vectors were found to be not equal to the contents of the starting source vectors plus 028 hex.

E). Testing move terminated on destination control character

The termination character is the only reversed character in the middle of line 5. After the move, line 15 should contain all source characters up to and including the reversed (control) character. Control characters 101 thru 01F hex are tested.

CURRENT DESTINATION ADDRESS INCORRECT

After the move, the contents of the current destination vectors were found to be not equal to the contents of the starting destination vectors plus 028 hex.

CURRENT SOURCE ADDRESS INCORRECT

After the move, the contents of the current source vectors were found to be not equal to the contents of the starting source vectors plus 040 hex.

F). Testing move terminated on source control character

The termination character is the only reversed character in the mid dIe 0 f 1 in e 5. After the move, line 15 should contain all source characters up to and including the reversed (con trol) character. Control characters 010 thru 01F hex are tested.

CURRENT DESTINATION ADDRESS INCORRECT

After the move, the contents of the current destination vectors were found to be not equal to the contents of the starting destination vectors plus 028 hex.

CURRENT SOURCE ADDRESS INCORRECT

After the move, the contents of the current source vectors were found to be not equal to the contents of the starting destination vectors plus 028 hex.

G). Tests that destination terminating character is ignored when DETM terminating characters on each move:

DESTINATION CHARACTER MOVE TERMINATED ON DESTINATION CHARACTER

SOURCE CHARACTER

MOVE NOT TERMINATED ON SOURCE TERMINATING CHARACTER

After the move, the contents of the current destination vectors were found to be equal to the contents of the starting destination vectors plus 04E hex. This is the address of the source terminating character.

H). Tests that source terminating character is ignored when SOTH BIT 7 is should termina te on the 2nd reversed character (destination terminating character). The table below shows the values of the terminating characters on each move.

SOURCE CHARACTER MOVE TERMINATED ON SOURCE CHARACTER

DESTINATION CHARACTER

I). Testing move terminated on source character when SOTH bit 7 is high. CURRENT DESTINATION ADDRESS INCORRECT

DESTINATION CHARACTER CURRENT DESTINATION ADDRESS INCORRECT

DESTINATION CHARACTER is the address of the destination terminating control character.

TEST 08 - Test That Page Width Is Ignored By Move WithOut Wrap

The source (lines 5 thru 9) is moved to the destination (lines 15 thru 19). The move is executed once for every legitimate page width (COM2 bits 5 and 6).

INCORRECT MOVE EXECUTED

After the move, the source is matched character for character with the destination. If any misma tch is found, the error message is displayed.

TEST 09 - Test Terminating Flags

Tests that the Source Termination flag (IFL bit 5) is not stuck high, is set by a source terminated move, is not set by a destination terminated move, and is reset by DVCL and INIT instructions. Test that the Destination Termination flag (IFL bit 4) is not s tuck high, is set by a destination terminated move, is not set by a source terminated move, and is reset by DVCL and INIT instructions. Test that both flags can be set simultaneously. All moves in this test are termina ted on an address not a character. The terminating add res s i s always set to be one greater than the starting address.

SOURCE TERMINATION FLAG STUCK HIGH

DVCL and INIT instructions are executed. The Word Mover is selected and the Source Termination flag (IFL bi t 5) is examined. If the Source Termina tion flag (IFL bit 5) is found set, the error message is displayed.

DESTINATION TERMINATION FLAG STUCK HIGH

DVCL and IN IT instructions are executed. The Word Mover is selected and the Destination Termination flag (IFL bit 4) is examined. If the Destination Termination flag (IFL bit 4) is found set, the error message is displayed.

SOURCE TERMINATION FLAG STUCK LOW

The source vectors are set to terminate a move after transferring one character from line 5 to line 15. The destina tion vectors do not termina te the move. After the move, the Source Termination flag (IFL bit 5) is examined. If the Source Termina tion flag (IFL bi t 5) is low, the error message is displayed.

MOVE TERMINATED BY SOURCE SET DESTINATION TERMINATION FLAG

DESTINATION TERMINATION FLAG STUCK LOW

The destination vectors are set to terminate a move after transferring one character from line 5 to line 15. The source vectors do not terminate the move. After the move, the Destination Termination flag (IFL bit 4) is examined. If the Destination Termination flag (IFL bit 4) is low, the error message is displayed.

MOVE TERMINATED BY DESTINATION SET SOURCE TERMINATION FLAG

The destination vectors are set to terminate a move after transferring one character from line 5 to line 15. The source veotors do not terminate the move. The Source Termination flag (IFL bit 5) is examined after the move. If the Source Termination flag (IFL bi t 5) is set, the error message is displayed.

DVCL DOES NOT RESET DESTINATION TERMINATION FLAG

The destination vectors are set to terminate a move after

INIT DOES NOT RESET DESTINATION TERMINATION FLAG

TERMINATING FLAGS ARE NOT SET SIMULTANEOUSLY

Both source and destination vectors are set to terminate a move after

TEST 12 - Test Word Greater Than 64 Bytes

TEST 14 - Testing Buffer Integrity

A) A move is destination terminated after 1 character has been transferred to the destination. The destination starting vectors are made equal to the terminating vectors. The terminating vectors are increased to extend the destination buffer by 4 Jines (4 x 80)-1. The COM 3 command byte is incremented by one and another move is executed.

B) A move is source terminated after 1 word has been transferred to the destination. The source starting vectors are made equal to the terminating vectors. The terminating vectors are increased so that the destination buffer (4 lines) can be completely filled.

TEST 15 - Testing Move Terminated on Destination Address with Word Wrap

Each complete wrap in this test is composed of a series of 1 byte moves. After a character has been moved to the destination. The starting destination address is made equal to the current address and the terminating address is made equal to the current address plus one. The move is then restarted with a COM 3 command. The command byte associated with the COM3 is always equal to the position in the line where the next data byte should appear.

The margin commands are changed after each complete wrap. The right margin is incremented from 1 to 79, the left margin is incremented from 0 to 78.

The purpose of this test is to determine if al1 ECO's are properly implemented.

If all previous tests pass, the problem is very probably an improper ECO.

TEST 16 - Testing Move Terminated on Source Character with Word Wrap

Each complete wrap in this test is composed of a series of 1 byte moves: After a character has been moved to the destination, the source starting address is made equaJ to the current address. The data byte in the memory location equal to the current address plus one is placed in the source terminating character vector. The move is then restarted with a COM3 comma.nd. The command byte associated with the COM3 is always equal to the position in the line where the next data byte should appear.

The right margin command is decremented after each complete wrap from 79 to 1.

R:B-09/78

APPENDIX

TEST 17 - Testing 90-9F as Terminating Characters in Addition to 10M Commands A string of characters is placed in the source buffer. In the middle of the buffer, characters 90-9F are inserted one at a time and a move is executed. The current locations should contain the address of the control character.

TEST 18 - Testing FIFOS and Shift Registers (WRDTST Only)

This test checks the long term data retention of the FIFOS and shift registers.

The source and destination buffers are setup for 3200 bytes -each (64 bytes for the FIFO and 256 bytes for the shift register). A move with wrap is executed (LEFT MAR.=O, RIGHT MAR.=50H). The entire source buffer is read in and held for five seconds. Then, a COM3 is issued to clear the FIFO and shift registers. The data is then checked.

This test is executed twice. First with the data pattern 55H, AAH, 55H, etc. Then with the pattern AAH, 55H, AAH, etc.

If an error is found the following message will appear:

ADDRESS AAAAH IS DEFECTIVE. EXP=BBH ACT=CCH where

AAAAH = The relative address of the error. If AAAAH

=

OOOOH to 003FH the FIFO is defective. If AAAAH = 0040H to 013FH the shift register is defective.

BBH ;.-. The expected value either 55H or AAH.

CCH = The actual value read from the buffer.

Test 19 - Testing Words Less Than 6lJ Bytes Long

R:A-12/80

A word between 2 and 64 characters long is placed at the end of the line.

The right margin is set to the last character of the word. A move with wrap is performed. The word should be moved to the second line of the destination buffer.

APPENDIX

ERROR CHECKING PROCEDURES AND MESSAGES IN TEST 10 THRU 14

The program will examine the commands and vectors for the WORD MOVER. As the

The program will examine the commands and vectors for the WORD MOVER. As the

Im Dokument DIABLO PRINTER TEST (Seite 120-145)