From 1ad88b6778c595f72ef91b91d7b8df592cf1ff7d Mon Sep 17 00:00:00 2001 From: Josh Dersch Date: Sat, 18 May 2019 02:16:05 +0200 Subject: [PATCH] Adding copyright info to file headers. --- 10.02_devices/2_src/mscp_drive.cpp | 3 +++ 10.02_devices/2_src/mscp_drive.hpp | 6 +++++- 10.02_devices/2_src/mscp_server.cpp | 17 +++++++---------- 10.02_devices/2_src/mscp_server.hpp | 7 +++++++ 10.02_devices/2_src/rk05.cpp | 6 +++++- 10.02_devices/2_src/rk05.hpp | 6 +++++- 10.02_devices/2_src/rk11.cpp | 8 ++++++-- 10.02_devices/2_src/rk11.hpp | 8 ++++++-- 10.02_devices/2_src/uda.cpp | 3 +++ 10.02_devices/2_src/uda.hpp | 5 ++++- 10 files changed, 51 insertions(+), 18 deletions(-) diff --git a/10.02_devices/2_src/mscp_drive.cpp b/10.02_devices/2_src/mscp_drive.cpp index 00bd1ef..64710f4 100644 --- a/10.02_devices/2_src/mscp_drive.cpp +++ b/10.02_devices/2_src/mscp_drive.cpp @@ -1,5 +1,8 @@ /* mscp_drive.cpp: Implementation of MSCP disks. + + Copyright Vulcan Inc. 2019 via Living Computers: Museum + Labs, Seattle, WA. + Contributed under the BSD 2-clause license. This provides the logic for reads and writes to the data and RCT space for a given drive, as well as configuration for different standard DEC diff --git a/10.02_devices/2_src/mscp_drive.hpp b/10.02_devices/2_src/mscp_drive.hpp index 9d6a90d..bc221b3 100644 --- a/10.02_devices/2_src/mscp_drive.hpp +++ b/10.02_devices/2_src/mscp_drive.hpp @@ -1,5 +1,9 @@ /* - mscp_drive.hpp: Implementation of MSCP drive, used with MSCP controller. + mscp_drive.hpp: Implementation of MSCP drive, used with MSCP controller. + + Copyright Vulcan Inc. 2019 via Living Computers: Museum + Labs, Seattle, WA. + Contributed under the BSD 2-clause license. + */ #pragma once diff --git a/10.02_devices/2_src/mscp_server.cpp b/10.02_devices/2_src/mscp_server.cpp index 1afd1c5..bf462cb 100644 --- a/10.02_devices/2_src/mscp_server.cpp +++ b/10.02_devices/2_src/mscp_server.cpp @@ -1,5 +1,8 @@ /* - mscp_server.cpp: Implementation a simple MSCP server. + mscp_server.cpp: Implementation of a simple MSCP server. + + Copyright Vulcan Inc. 2019 via Living Computers: Museum + Labs, Seattle, WA. + Contributed under the BSD 2-clause license. This provides an implementation of the Minimal MSCP subset outlined in AA-L619A-TK (Chapter 6). It takes a few liberties and errs on @@ -592,16 +595,10 @@ mscp_server::GetUnitStatus( // Since our underlying storage is an image file on flash memory, we don't need to be concerned // about seek times, so the below is appropriate: // - params->TrackSize = 1; // one block per track, per aa-l619a-tk. - params->GroupSize = 1; // one cylinder per group - params->CylinderSize = 1; // one sector per cylinder + params->TrackSize = 1; + params->GroupSize = 1; + params->CylinderSize = 1; - // - // Since we do no bad block replacement (no bad blocks possible in a disk image file) - // the RCT size is one block as required for the volume write protect information. - // There are no replacement blocks, and no duplicate copies of - // the RCT are present. - // params->RCTSize = drive->GetRCTSize(); params->RBNs = drive->GetRBNs(); params->Copies = drive->GetRCTCopies(); diff --git a/10.02_devices/2_src/mscp_server.hpp b/10.02_devices/2_src/mscp_server.hpp index e25f8ec..d5f10ec 100644 --- a/10.02_devices/2_src/mscp_server.hpp +++ b/10.02_devices/2_src/mscp_server.hpp @@ -1,3 +1,10 @@ +/* + mscp_server.hpp: Implementation of a simple MSCP server. + + Copyright Vulcan Inc. 2019 via Living Computers: Museum + Labs, Seattle, WA. + Contributed under the BSD 2-clause license. +*/ + #pragma once #include diff --git a/10.02_devices/2_src/rk05.cpp b/10.02_devices/2_src/rk05.cpp index 1505308..e26e809 100755 --- a/10.02_devices/2_src/rk05.cpp +++ b/10.02_devices/2_src/rk05.cpp @@ -1,4 +1,8 @@ -/* rk05.cpp: implementation of RK05 disk drive, attached to RK11D controller +/* + rk05.cpp: implementation of RK05 disk drive, attached to RK11D controller + + Copyright Vulcan Inc. 2019 via Living Computers: Museum + Labs, Seattle, WA. + Contributed under the BSD 2-clause license. */ diff --git a/10.02_devices/2_src/rk05.hpp b/10.02_devices/2_src/rk05.hpp index d960987..45adf35 100755 --- a/10.02_devices/2_src/rk05.hpp +++ b/10.02_devices/2_src/rk05.hpp @@ -1,4 +1,8 @@ -/* rk05.cpp: implementation of RK05 disk drive, used with RK11D controller +/* + rk05.hpp: implementation of RK05 disk drive, used with RK11D controller + + Copyright Vulcan Inc. 2019 via Living Computers: Museum + Labs, Seattle, WA. + Contributed under the BSD 2-clause license. */ #ifndef _RK05_HPP_ diff --git a/10.02_devices/2_src/rk11.cpp b/10.02_devices/2_src/rk11.cpp index e454eb9..06f18ac 100755 --- a/10.02_devices/2_src/rk11.cpp +++ b/10.02_devices/2_src/rk11.cpp @@ -1,6 +1,10 @@ -/* rk11_cpp: RK11 UNIBUS controller +/* + rk11_cpp: RK11 UNIBUS controller - */ + Copyright Vulcan Inc. 2019 via Living Computers: Museum + Labs, Seattle, WA. + Contributed under the BSD 2-clause license. + +*/ #include #include diff --git a/10.02_devices/2_src/rk11.hpp b/10.02_devices/2_src/rk11.hpp index 580d565..c306b7d 100755 --- a/10.02_devices/2_src/rk11.hpp +++ b/10.02_devices/2_src/rk11.hpp @@ -1,6 +1,10 @@ -/* rk11.hpp: RK11 UNIBUS controller +/* + rk11.hpp: RK11 UNIBUS controller - */ + Copyright Vulcan Inc. 2019 via Living Computers: Museum + Labs, Seattle, WA. + Contributed under the BSD 2-clause license. + +*/ #ifndef _RK11_HPP_ #define _RK11_HPP_ diff --git a/10.02_devices/2_src/uda.cpp b/10.02_devices/2_src/uda.cpp index c675652..2bf9dcc 100644 --- a/10.02_devices/2_src/uda.cpp +++ b/10.02_devices/2_src/uda.cpp @@ -1,6 +1,9 @@ /* uda.cpp: Implementation of the MSCP port (unibus interface). + Copyright Vulcan Inc. 2019 via Living Computers: Museum + Labs, Seattle, WA. + Contributed under the BSD 2-clause license. + This provides logic for the UDA50's SA and IP registers, the four-step initialization handshake, DMA transfers to and from the Unibus, and the command/response ring protocols. diff --git a/10.02_devices/2_src/uda.hpp b/10.02_devices/2_src/uda.hpp index 10c6071..aa9557f 100644 --- a/10.02_devices/2_src/uda.hpp +++ b/10.02_devices/2_src/uda.hpp @@ -1,5 +1,8 @@ /* - uda.hpp: MSCP controller port (UDA50) + uda.hpp: MSCP controller port (UDA50) + + Copyright Vulcan Inc. 2019 via Living Computers: Museum + Labs, Seattle, WA. + Contributed under the BSD 2-clause license. */ #pragma once