Type ASSEMBLE
Source Lines : 1,621
Fixes Applied : 11
Most Recent Version : Thursday, December 7, 1978
Last Fix ID : [HRC075DK]
Module
DMKDMP
Function
TO WRITE A DUMP OF MAIN MEMORY, CONTROL REGISTERS, FLOATING POINT REGISTERS, GENERAL PURPOSE REGISTERS, CLOCKS, AND PREFIX REGISTER TO A PRESPECIFIED DUMP DEVICE
Attributes
NON-REUSABLE, RESIDENT, STAND ALONE PROGRAM, ENTERED VIA A GOTO FROM DMKPSA AFTER A RESTART, FROM DMKSVC AFTER AN SVC 0, OR FROM DMKPRG
Operation
1. OBTAIN DUMP LOCK 2. STORE CLOCKS. 3. SAVE CONTROL AND FLOATING POINT REGISTERS. 4. SAVE PREFIX REGISTER. 5. SAVE ABEND CODE. 6. SAVE PROCESSOR ADDRESS. 7. IF ATTACHED PROCESSOR MODE AND RUNNING ON THE MAIN PROCESSOR, SIGNAL THE ATTACHED PROCESSOR TO STOP AND STORE STATUS AND GO TO STEP 9. 8. IF ATTACHED PROCESSOR MODE AND RUNNING ON THE ATTACHED PROCESSOR, SIGNAL THE MAIN PROCESSOR TO STOP AND STORE STATUS, SET UP THE RESTART PSW FOR STEP 9, SIGNAL THE MAIN PROCESSOR TO RESTART, AND SIGNAL SELF TO STOP. 9. SET UP ZERO PREFIX REGISTER. 10. SAVE LOW CORE. 11. SET PROGRAM, IO, AND MACHINE CHECK NEW PSWS. 12. DISABLE SOFT MACHINE CHECKS. 13. ENABLE CHANNEL 0. 14. ISSUE MESSAGE TO OPERATOR INDICATING ABEND CODE AND TIME OF DUMP. 15. GET REAL MACHINE SIZE. 16. LOCATE DUMP DEVICE RDEVBLOK PTR; IF ZERO USE THE FIRST PRINTER IN THE DMKRIOPR TABLE; IF NO PRINTERS ARE DEFINED IN THE TABLE LOAD A DISABLED WAIT STATE PSW. 17. GOTO APPROPRIATE DUMP DEVICE ROUTINE. OPERATION SECTION CONTINUED BELOW FOR EACH DUMP DEVICE TYPE
Calls to Other Routines
DMKSCNRD GET REAL DEVICE ADDRESS (CCU)