From 9eca0980c211e2a178b6733ffc556d3ba315839b Mon Sep 17 00:00:00 2001 From: Ken Rector Date: Sat, 23 Jul 2022 16:55:21 -0700 Subject: [PATCH] sigma: DP device SEEK(I), RECAL(I) must be coded as fast operations. --- sigma/sigma_bugs.txt | 1 + sigma/sigma_dp.c | 9 +++++---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/sigma/sigma_bugs.txt b/sigma/sigma_bugs.txt index b6ea4c5a..7670884b 100644 --- a/sigma/sigma_bugs.txt +++ b/sigma/sigma_bugs.txt @@ -123,6 +123,7 @@ 117: CPU: sim_interval is decremented before breakpoint test, which is incorrect. 118. MT: revised error handling failed to set tape mark status on space file forward/reverse. 119. IO: UEND flag in the wrong bit position in status word. +120. DP: SEEK(I), RECAL(I) must be coded as fast operations. Diagnostic Notes diff --git a/sigma/sigma_dp.c b/sigma/sigma_dp.c index de4679f5..e87d22d3 100644 --- a/sigma/sigma_dp.c +++ b/sigma/sigma_dp.c @@ -25,6 +25,7 @@ dp moving head disk pack controller + 23-Jul-22 RMS SEEK(I), RECAL(I) should be fast operations (Ken Rector) 02-Jul-22 RMS Fixed bugs in multi-unit operation 28-Jun-22 RMS Fixed off-by-1 error in DP_SEEK definition (Ken Rector) 07-Jun-22 RMS Removed unused variables (V4) @@ -337,13 +338,13 @@ static DP_SNSTAB dp_sense_16B[] = { #define C_C (1u << (DP_CTYPE + 1)) /* ctrl cmd */ static uint16 dp_cmd[256] = { - 0, C_A, C_A, C_A, C_A|C_F, C_A, 0, C_16B|C_F, + 0, C_A, C_A, C_A|C_F, C_A|C_F, C_A, 0, C_16B|C_F, 0, C_A, C_A, 0, 0, 0, 0, C_16B|C_F|C_C, 0, 0, C_A, C_A|C_F, 0, 0, 0, C_16B|C_F, 0, 0, 0, 0, 0, 0, 0, C_16B|C_F|C_C, 0, 0, 0, C_10B|C_F, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, C_A, 0, 0, 0, 0, + 0, 0, 0, C_A|C_F, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, @@ -353,13 +354,13 @@ static uint16 dp_cmd[256] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, C_A, 0, 0, 0, 0, + 0, 0, 0, C_A|C_F, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, C_16B, 0, 0, 0, 0, + 0, 0, 0, C_16B|C_F, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,