Overhaul the TPI stuff; now both the drive and the layout have a TPI setting,

which must be set.
This commit is contained in:
dg
2023-05-10 19:58:44 +00:00
parent e69ce3b8df
commit 6b990a9f51
46 changed files with 252 additions and 184 deletions

View File

@@ -66,14 +66,14 @@ public:
{
log("D88: forcing high density mode");
config.mutable_drive()->set_high_density(true);
config.set_tpi(96);
config.mutable_layout()->set_tpi(96);
}
else
{
log("D88: forcing single/double density mode");
clockRate = 300;
config.mutable_drive()->set_high_density(false);
config.set_tpi(48);
config.mutable_layout()->set_tpi(48);
}
auto layout = config.mutable_layout();