Table of Contents

DMKVCN Abstract

Statistics

Type ASSEMBLE
Source Lines : 1,212
Fixes Applied : 12
Most Recent Version : Thursday, December 7, 1978
Last Fix ID : [HRC064DK]

Synopsis

Module

       DMKVCN

Function

       TO HANDLE THE SIMULATION OF ALL USER SIO'S TO A VIRTUAL
       CONSOLE

Attributes

       REENTRANT, RESIDENT, ENTERED VIA GOTO FROM DMKVIOEX

Operation

       1. MARK THE VIRTUAL DEVICE AND SUBCHANNEL BUSY, CLEAR THE
          CSW AND SAVE THE STORAGE KEY.

       2. VERIFY THAT THE DEVICE IS READY;  IF NOT SET INTERVENTION
          REQUIRED IN THE VIRTUAL SENSE BYTE AND INDICATE UNIT
          CHECK.

       3. IF THE CCW OP-CODE IS LEGAL CONTINUE PROCESSING FOR THE
          GIVEN CCW OP-CODE TYPE; OTHERWISE SET COMMAND REJECT IN
          THE VIRTUAL SENSE BYTE AND INDICATE UNIT CHECK.

Calls to Other Routines

       DMKFREE, DMKFRET - TO GET AND RETURN A DATA BUFFER FROM FREE
                          STORAGE
       DMKQCNWT - TO WRITE DATA TO THE USER IN RESPONSE TO A
                  WRITE CCW, AND TO WRITE THE VIRTUAL BELL MESSAGE
                  IN RESPONSE TO AN ALARM CCW
       DMKQCNRD - TO READ DATA FROM THE USER IN RESPONSE TO A VIRTUAL
                  READ CCW
       DMKCFMBK - TO PLACE THE USER IN CONSOLE FUNCTION MODE IF 2
                  OR MORE ATTENTIONS ARE HIT
       DMKSCNVU - TO SCAN FOR VIRTUAL CONSOLE DEVICE AFTER
             READ OR WRITE RETURN - IT MAY HAVE MOVED.
       DMKDSPCH - TO AWAIT COMPLETION OF CONSOLE I/O
       DMKCFMAT - TO SET AN ATTN INT PENDING
       DMKPSASC - TO CHECK STORAGE PROTECTION KEY
       DMKPSACC - TO CHECK IF SHARED PAGE HAS BEEN CHANGED
       DMKVMAPS - TO UNSHARE A NAMED SHARED SYSTEM FROM RUNUSER
       HDKD58EN - TO HANDLE DIAGNOSE X'58' FULL SCREEN I/O   HRC058DK