A user's virtual machine may also be disconnected by the system. If
the disconnected user logs on to the system while the disconnectedmachine is still running, it is reconnected and can continue to interact
with the system in the usual manner.
TheDKKUSO subroutine processes the DISCOII command. CONSOLE FUNCTIONS DKKCFK analyzes CP co.mands and passes pontrol to the appropriate
routine to handle thecommand. DKKCFK can be entered by the Attention
key (or equivalent) at the user's terminal or directlyfrom a virtual machine. When a console interruption occurs by the Attention key at the user's
terminal,DKKIOSIN calls DMKCNSIN to handle the unsolicited
interruption, thenDMKCNSIN calls DKKCFKBK. DMKCFMBK first calls DKKFREE to obtain storage for an 18-doubleword
input buffer. Next,DMKQCNWT is called to send the CP message to the
terminal toinform the user that he has entered console function DMKQCBRD is then called to read the command line entered at the console. DMKCFMEN is the entry point for commands coming directly from the
virtual machine.DKKPRGIN enters at DKKCFKEN here when a DIAGNOSE instruction with a code of 8 is detected. The address of an
18-doubleword input buffer is passed in register 1; therefore, a read
to the terminal is not needed.
After either the read to the terminal or entryfrom the virtual
machine,DMKSCNFD is called to find the command type. On return from DMKSCNFD, register 1 points to the start of the command and register 0 contains the length of the command. DKKCFCKD is then called and the
command is matched against a list of valid commands. The list contains a
16-byte entry for each Each entry contains 8 bytes for the name, 2 bytes for class mask, 2 bytes for an abbreviation count, and 4
bytes containing the routine address. If the entered command matches an
entry in the list, it is then checked to ensure that a valid
abbreviation for thecommand has been used. If this test is not
successful,DKKSCN continues to scan the list for a valid command. Should the abbreviation be valid, a check is then .ads to deter.ine if
this user is of the proper class to use thecommand entered. If this is
successful,DKKCFM then calls the appropriate routine to process the
co•• and.
After the co•• and has been processed, control is returned to DKKCFM. There are three possible returns. (1) On a normal return, the input
buffer is scanned to see if there are any more commands. If none exist,DMKCFK returns to the virtual machine (if entered via DIAGNOSE) or calls DKKQCNRD to read the next command from the terminal. (2) On a return
plus 4, theVMCFWAIT bit is turned off to allow the virtual machine to
run.DMKFRET is called to return the input buffer storage. Then control
returns to either the virtual .achine, if entered via aDIAGNOSE, or to DMKDSPCH if entered via the Attention key. (3) On a return plus 8, the
operation is thesame as plus 4 except that the VMCFWAIT bit is left on.
CP Introduction 1-121
the disconnected user logs on to the system while the disconnected
with the system in the usual manner.
The
routine to handle the
key (or equivalent) at the user's terminal or directly
terminal,
interruption, then
input buffer. Next,
terminal to
virtual machine.
18-doubleword input buffer is passed in register 1; therefore, a read
to the terminal is not needed.
After either the read to the terminal or entry
machine,
command is matched against a list of valid commands. The list contains a
16-byte entry for each
bytes containing the routine address. If the entered command matches an
entry in the list, it is then checked to ensure that a valid
abbreviation for the
successful,
this user is of the proper class to use the
successful,
co
After the co
buffer is scanned to see if there are any more commands. If none exist,
plus 4, the
run.
returns to either the virtual .achine, if entered via a
operation is the
CP Introduction 1-121