; Direct Memory Access (2115/2116) diagnostic (HP 24185) echo echo echo ------------------------------------------- echo HP 24185 - Direct Memory Access (2115/2116) echo ------------------------------------------- echo echo Loading the diagnostic. echo Expect halt 102077 if successful. attach -e PTR %224185-60001_Rev-A.abin deposit A 000000 deposit B 000000 reset go 120 assert T=102077 detach PTR ; Configure the diagnostic. echo echo Configuring the diagnostic. echo Expect halt 107076 if successful. set MC DIAGNOSTIC,SC=44 ;;;;; ;if "%CPU%" == "2114" deposit MC LTIME 2 ;if "%CPU%" != "2114" deposit MC LTIME 3 examine MC LTIME ;;;;; deposit S 000044 reset go 2 assert T=107076 ; Select the test set. echo echo Selecting the test set. echo Expect halt 107077 if successful. deposit S 010000 reset go assert T=107077 ; Start the diagnostic. echo echo Executing the diagnostic. echo Expect halt 102027 for user intervention. ; debug ;break 3364 ;set -n debug debug.log set cpu debug set dma1 debug set dma2 debug set mc debug ; short test! ;deposit S 010201 deposit S 000000 reset go 100 assert T=102027 ; Respond to the PRESET request. echo echo [INTERNAL and EXTERNAL PRESET pressed, RUN pressed] echo Expect halt 102077 for successful completion. echo reset go ; End of the diagnostic. ; ; Verify HLT 77B for a successful pass. assert T=102077 ; Restore the hardware configuration. set MC DEVICE