mirror of
https://github.com/thewesker/RASCSI.git
synced 2025-12-20 12:21:10 -05:00
Un-do extraneous changes before merging back into source branch
This commit is contained in:
@@ -6439,14 +6439,14 @@ void FASTCALL SASIDEV::Selection()
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
spdlog::trace(
|
spdlog::trace(
|
||||||
"Selection Phase ID=%d (with device)", ctrl.id);
|
"Selection Phase ID=%d (with device)", ctrl.id);
|
||||||
|
|
||||||
// Phase change
|
// Phase change
|
||||||
ctrl.phase = BUS::selection;
|
ctrl.phase = BUS::selection;
|
||||||
|
|
||||||
// Raise BSY and respond
|
// Raise BSY and respond
|
||||||
ctrl.bus->SetBSY(TRUE);
|
ctrl.bus->SetBSY(TRUE);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -8133,26 +8133,25 @@ void FASTCALL SCSIDEV::Selection()
|
|||||||
// invalid if IDs do not match
|
// invalid if IDs do not match
|
||||||
id = 1 << ctrl.id;
|
id = 1 << ctrl.id;
|
||||||
if ((ctrl.bus->GetDAT() & id) == 0) {
|
if ((ctrl.bus->GetDAT() & id) == 0) {
|
||||||
spdlog::trace("[ID {}] ID doesn't match {}",ctrl.id,id);
|
spdlog::trace("[ID {}] ID doesn't match {}",ctrl.id,id);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// End if there is no valid unit
|
// End if there is no valid unit
|
||||||
if (!HasUnit()) {
|
if (!HasUnit()) {
|
||||||
spdlog::trace("[ID {}] No unit attached",ctrl.id);
|
spdlog::trace("[ID {}] No unit attached",ctrl.id);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
spdlog::trace("Selection Phase ID={} (with device)", ctrl.id);
|
||||||
|
|
||||||
spdlog::trace(
|
// Phase setting
|
||||||
"Selection Phase ID={} (with device)", ctrl.id);
|
ctrl.phase = BUS::selection;
|
||||||
|
|
||||||
// Phase setting
|
// Raise BSY and respond
|
||||||
ctrl.phase = BUS::selection;
|
ctrl.bus->SetBSY(TRUE);
|
||||||
|
return;
|
||||||
// Raise BSY and respond
|
}
|
||||||
ctrl.bus->SetBSY(TRUE);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Selection completed
|
// Selection completed
|
||||||
if (!ctrl.bus->GetSEL() && ctrl.bus->GetBSY()) {
|
if (!ctrl.bus->GetSEL() && ctrl.bus->GetBSY()) {
|
||||||
|
|||||||
@@ -998,7 +998,6 @@ int main(int argc, char* argv[])
|
|||||||
|
|
||||||
spdlog::set_level(spdlog::level::trace);
|
spdlog::set_level(spdlog::level::trace);
|
||||||
spdlog::trace("Entering the function with %d arguments", argc);
|
spdlog::trace("Entering the function with %d arguments", argc);
|
||||||
|
|
||||||
// Output the Banner
|
// Output the Banner
|
||||||
Banner(argc, argv);
|
Banner(argc, argv);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user