Type ASSEMBLE
Source Lines : 1,004
Fixes Applied : 11
Most Recent Version : Thursday, December 7, 1978
Last Fix ID : [HRC071DK]
Module
DMKDIB
Function
DMKDIBSM WILL SIMULATE SENSE DATA AND STATUS FOR VIRTUAL I/O TO A SIMULATED I/O DEVICE (2702 LINE OR CTCA) WHICH HAS NOT YET BEEN 'ACTIVATED' THROUGH EITHER THE CONSOLE FUNCTION 'DIAL' (FOR 2702 LINES) OR THE CONSOLE FUNCTION 'COUPLE' (FOR VIRTUAL CTCA'S).
Operation
DMKDIBSM EXAMINES EACH CCW IN THE CCW STRING TO DETERMINE WHAT STATUS AND/OR ACTION SHOULD BE TAKEN TO SIMULATE THE ACTUAL OPERATION OF THE SIMULATED DEVICE BEING PROCESSED. FOR A NOT-YET-DIALED 2702 LINE: A. IF CCW IS A SENSE, SIMULATE SENSE DATA, ADVANCE B. IF CCW IS A NO-OP, ADVANCE C. IF CCW IS AN ENABLE, SET UP FOR PROCESSING BY D 'DMKDIAL' WHEN 'DIAL' COMMAND IS ISSUED. D. IF CCW IS NONE OF THE ABOVE, PRESENT UNIT CHECK, INTERVENTION REQUIRED. FOR AN ALREADY-DIALED LINE: (CCW STRING CONTAINS A DISABLE) A. IF CCW IS NOT A DISABLE, ADVANCE B. IF CCW IS A DISABLE, CALL DMKDIBDR TO DROP LINE AND RESUME PROCESSING AS IF LINE IS NOT DIALED FOR A NOT-YET-COUPLED CTCA: A. IF CCW IS A SENSE, SIMULATE SENSE DATA, ADVANCE B. IF CCW IS A NO-OP, ADVANCE C. IF CCW IS NONE OF THE ABOVE, PRESENT UNIT CHECK, INTERVENTIONREQUIRED. FOR ALL CASES, AN INVALID CCW WILL CAUSE A PROGRAM CHECK A SENSE INTO PROTECTED CORE WILL CAUSE A PROTECTION CHECK 2702 LINES NEVER PRODUCE CC = 1 TO SIO, CTCA'S WILL.
Calls to Other Routines
DMKSTKIO - TO STACK THE IOBLOK FOR HANDLING BY DMKVIO DMKFREE - TO OBTAIN STORAGE FOR AN IOERBLOK, IF NEEDED DMKDIBDR - TO DROP A DIALED LINE @VA13704