Type ASSEMBLE
Source Lines : 1,505
Fixes Applied : 22
Most Recent Version : Saturday, December 9, 1978
Last Fix ID : [HRC065DK]
Module
DMKQCN
Function
TO INITIATE A CONSOLE READ REQUEST
Attributes
SERIALLY REUSABLE, RESIDENT, CALLED VIA SVC
Operation
1. IF THE USER IS DISCONNECTED, CALL DMKQCNTO, SET CC = 2, GPR2 = 12, AND EXIT. 2. CLEAR INPUT BUFFER USING COUNT IN GPR0 3. CALL DMKFREE TO GET A CONTASK 4. INITIALIZE CONTASK FIELDS, SAVE INPUT PARMS 5. QUEUE THE CONTASK ON THE TERMINAL RDEVBLOK 6. IF THERE WERE NO OTHER CONTASKS QUEUED, OR IF THIS CONTASK IS A 'PRIORITY' TASK, GOTO THE INTERRUPT HANDLER ACCORDING TO DEVICE CLASS. 7. OTHERWISE, GOTO DMKDSPCH AND WAIT FOR COMPLETION
Calls to Other Routines
DMKFREE DMKSTKCP DMKCNSIC DMKGRFIC DMKRNHIC DMKRGBIC DMKVSPVP DMKLOKSW