mirror of
https://github.com/davidgiven/fluxengine.git
synced 2025-10-31 11:17:01 -07:00
Eliminate the broken tpi system for a simple drive/format type field.
This commit is contained in:
@@ -61,13 +61,13 @@ public:
|
||||
if (mediaFlag == 0x20)
|
||||
{
|
||||
_extraConfig.mutable_drive()->set_high_density(true);
|
||||
_extraConfig.mutable_layout()->set_tpi(96);
|
||||
_extraConfig.mutable_layout()->set_format_type(FORMATTYPE_80TRACK);
|
||||
}
|
||||
else
|
||||
{
|
||||
clockRate = 300;
|
||||
_extraConfig.mutable_drive()->set_high_density(false);
|
||||
_extraConfig.mutable_layout()->set_tpi(48);
|
||||
_extraConfig.mutable_layout()->set_format_type(FORMATTYPE_40TRACK);
|
||||
}
|
||||
|
||||
auto layout = _extraConfig.mutable_layout();
|
||||
|
||||
@@ -58,7 +58,7 @@ public:
|
||||
log("NFD: HD 1.2MB mode");
|
||||
log("NFD: forcing hign density mode");
|
||||
_extraConfig.mutable_drive()->set_high_density(true);
|
||||
_extraConfig.mutable_layout()->set_tpi(96);
|
||||
_extraConfig.mutable_layout()->set_format_type(FORMATTYPE_80TRACK);
|
||||
|
||||
std::unique_ptr<Image> image(new Image);
|
||||
for (int track = 0; track < 163; track++)
|
||||
|
||||
Reference in New Issue
Block a user