;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;EDtimexLog.MIDAS : Logger for EDtimex program
;;; By: K. Mayekawa Feb. 25, 1980
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

.start L X AppendOutput EDtimex.report;
L X WriteMessage ~********** START EDtimex Test : ;
L X WriteDT;
L X WriteMessage ***************~ ;
L X Skip .continue;


.breakpoint L X AppendOutput EDtimex.report;
L A18 SkipNE WRONGSLOTEXPIRED;
L X Skip .wrongslotexpired;
L A18 SkipNE FAIL;
L X Skip .fail;
L A18 SkipNE PASSED-EDTIMEX-TEST;
L X Skip .passtest;

.notmybreak L X AppendOutput EDtimex.report;
L X WriteMessage *** FAILed: Not at my breakpoint ~;

L X WriteMessage ’ Parity = ;
R A0 Val;
L X WriteMessage;
L X WriteMessage ~;

L X WriteMessage ’ CIA = ;
R A18 Val;
L X WriteMessage;
L X WriteMessage ~;

L X WriteMessage ’ CTASK = ;
R A19 Val;
L X WriteMessage;
L X WriteMessage ~;

L X WriteMessage ’ APCTASK = ;
R A17 Val;
L X WriteMessage;
L X WriteMessage ~;

L X WriteMessage ’ APC = ;
R A16 Val;
L X WriteMessage;
L X WriteMessage ~;

L X WriteMessage ’ TPC = ;
R A13 Val;
L X WriteMessage;
L X WriteMessage ~;

L X CloseOutput;
L X Exit;


.wrongslotexpired L X WriteMessage *** FAILed: at my Breakpoint ~;
L X WriteMessage * Wrong Slot Expired ~;
.bad L X WriteMessage ’ SUBTEST = ;
R B4 Val;
L X WriteMessage;
L X WriteMessage ~;

L X WriteMessage ’ PASSCOUNT = ;
R B2 Val;
L X WriteMessage;
L X WriteMessage ~;

L X WriteMessage ’ INNERCOUNT = ;
R B6 Val;
L X WriteMessage;
L X WriteMessage ~;

L X Skip .continue;

.fail L X WriteMessage *** FAILed: at my Breakpoint ~;
L X WriteMessage * Timer Not Restarted ~;
L X BackSkip .bad;

.passtest L X WriteMessage ~------------ PASSed EDtimex Test : ;
L X WriteDT;
L X WriteMessage ----------------~ ;
L X Skip .continue;

.continue L X WriteMessage ~;
L X CloseOutput;
L X DisplayOn;
L X Confirm;
L X TimeOut 10000000;
L X Continue;
L X Skip 2;
L X ShowError Program failed to CONTINUE.;
L X BackSkip .notmybreak;
L X DisplayOff;
L X BackSkip .breakpoint;